| /drivers/scsi/ |
| A D | hosts.c | 77 enum scsi_host_state oldstate = shost->shost_state; in scsi_host_set_state() local 79 if (state == oldstate) in scsi_host_set_state() 90 switch (oldstate) { in scsi_host_set_state() 100 switch (oldstate) { in scsi_host_set_state() 109 switch (oldstate) { in scsi_host_set_state() 120 switch (oldstate) { in scsi_host_set_state() 130 switch (oldstate) { in scsi_host_set_state() 140 switch (oldstate) { in scsi_host_set_state() 156 scsi_host_state_name(oldstate), in scsi_host_set_state()
|
| A D | scsi_lib.c | 2436 enum scsi_device_state oldstate = sdev->sdev_state; in scsi_device_set_state() local 2438 if (state == oldstate) in scsi_device_set_state() 2443 switch (oldstate) { in scsi_device_set_state() 2452 switch (oldstate) { in scsi_device_set_state() 2465 switch (oldstate) { in scsi_device_set_state() 2477 switch (oldstate) { in scsi_device_set_state() 2489 switch (oldstate) { in scsi_device_set_state() 2501 switch (oldstate) { in scsi_device_set_state() 2510 switch (oldstate) { in scsi_device_set_state() 2523 switch (oldstate) { in scsi_device_set_state() [all …]
|
| /drivers/gpu/drm/sti/ |
| A D | sti_gdp.c | 733 if ((oldstate->fb == newstate->fb) && in sti_gdp_atomic_update() 734 (oldstate->crtc_x == newstate->crtc_x) && in sti_gdp_atomic_update() 735 (oldstate->crtc_y == newstate->crtc_y) && in sti_gdp_atomic_update() 736 (oldstate->crtc_w == newstate->crtc_w) && in sti_gdp_atomic_update() 737 (oldstate->crtc_h == newstate->crtc_h) && in sti_gdp_atomic_update() 738 (oldstate->src_x == newstate->src_x) && in sti_gdp_atomic_update() 739 (oldstate->src_y == newstate->src_y) && in sti_gdp_atomic_update() 740 (oldstate->src_w == newstate->src_w) && in sti_gdp_atomic_update() 741 (oldstate->src_h == newstate->src_h)) { in sti_gdp_atomic_update() 881 if (!oldstate->crtc) { in sti_gdp_atomic_disable() [all …]
|
| A D | sti_hqvdp.c | 1138 if ((oldstate->fb == newstate->fb) && in sti_hqvdp_atomic_update() 1139 (oldstate->crtc_x == newstate->crtc_x) && in sti_hqvdp_atomic_update() 1140 (oldstate->crtc_y == newstate->crtc_y) && in sti_hqvdp_atomic_update() 1141 (oldstate->crtc_w == newstate->crtc_w) && in sti_hqvdp_atomic_update() 1142 (oldstate->crtc_h == newstate->crtc_h) && in sti_hqvdp_atomic_update() 1143 (oldstate->src_x == newstate->src_x) && in sti_hqvdp_atomic_update() 1144 (oldstate->src_y == newstate->src_y) && in sti_hqvdp_atomic_update() 1145 (oldstate->src_w == newstate->src_w) && in sti_hqvdp_atomic_update() 1146 (oldstate->src_h == newstate->src_h)) { in sti_hqvdp_atomic_update() 1257 if (!oldstate->crtc) { in sti_hqvdp_atomic_disable() [all …]
|
| A D | sti_cursor.c | 320 struct drm_plane_state *oldstate = drm_atomic_get_old_plane_state(state, in sti_cursor_atomic_disable() local 324 if (!oldstate->crtc) { in sti_cursor_atomic_disable() 331 oldstate->crtc->base.id, in sti_cursor_atomic_disable() 332 sti_mixer_to_str(to_sti_mixer(oldstate->crtc)), in sti_cursor_atomic_disable()
|
| /drivers/gpu/drm/ingenic/ |
| A D | ingenic-ipu.c | 311 struct drm_plane_state *oldstate) in osd_changed() argument 313 return state->src_x != oldstate->src_x || in osd_changed() 314 state->src_y != oldstate->src_y || in osd_changed() 315 state->src_w != oldstate->src_w || in osd_changed() 316 state->src_h != oldstate->src_h || in osd_changed() 317 state->crtc_x != oldstate->crtc_x || in osd_changed() 318 state->crtc_y != oldstate->crtc_y || in osd_changed() 319 state->crtc_w != oldstate->crtc_w || in osd_changed() 320 state->crtc_h != oldstate->crtc_h; in osd_changed() 328 struct drm_plane_state *oldstate = drm_atomic_get_old_plane_state(state, plane); in ingenic_ipu_plane_atomic_update() local [all …]
|
| A D | ingenic-drm-drv.c | 662 struct drm_plane_state *oldstate = drm_atomic_get_old_plane_state(state, plane); in ingenic_drm_plane_atomic_update() local 672 drm_fb_dma_sync_non_coherent(&priv->drm, oldstate, newstate); in ingenic_drm_plane_atomic_update()
|
| /drivers/mtd/lpddr/ |
| A D | lpddr_cmds.c | 83 chip->oldstate = chip->state = FL_READY; in lpddr_cmdset() 269 && shared->erasing->oldstate == FL_ERASING) { in get_chip() 301 if (FL_SYNCING == mode && FL_READY != chip->oldstate) in chip_ready() 316 chip->oldstate = FL_ERASING; in chip_ready() 333 if (mode == FL_READY && chip->oldstate == FL_READY) in chip_ready() 353 if (shared->writing == chip && chip->oldstate == FL_READY) { in put_chip() 385 switch (chip->oldstate) { in put_chip() 391 chip->oldstate = FL_READY; in put_chip() 398 map->name, chip->oldstate); in put_chip()
|
| /drivers/mtd/chips/ |
| A D | cfi_cmdset_0001.c | 890 chip->oldstate = FL_ERASING; in chip_ready() 920 chip->oldstate = chip->state; in chip_ready() 1079 switch(chip->oldstate) { in put_chip() 1092 chip->oldstate = FL_READY; in put_chip() 1097 chip->state = chip->oldstate; in put_chip() 1098 chip->oldstate = FL_READY; in put_chip() 1166 flstate_t oldstate, newstate; in xip_wait_for_operation() local 1208 oldstate = chip->state; in xip_wait_for_operation() 1251 chip->state = oldstate; in xip_wait_for_operation() 2082 chip->oldstate = FL_READY; in cfi_intelext_sync() [all …]
|
| A D | fwh_lock.h | 68 chip->oldstate = chip->state; in fwh_xxlock_oneblock() 73 chip->state = chip->oldstate; in fwh_xxlock_oneblock()
|
| A D | cfi_cmdset_0002.c | 923 chip->oldstate = FL_ERASING; in get_chip() 954 chip->oldstate = chip->state; in get_chip() 984 switch(chip->oldstate) { in put_chip() 990 chip->oldstate = FL_READY; in put_chip() 995 chip->state = chip->oldstate; in put_chip() 996 chip->oldstate = FL_READY; in put_chip() 1063 flstate_t oldstate; in xip_udelay() local 1097 oldstate = chip->state; in xip_udelay() 1133 chip->state = oldstate; in xip_udelay() 2928 chip->oldstate = chip->state; in cfi_amdstd_sync() [all …]
|
| A D | cfi_cmdset_0020.c | 285 chip->oldstate = FL_ERASING; in do_read_onechip() 365 chip->state = chip->oldstate; in do_read_onechip() 993 chip->oldstate = chip->state; in cfi_staa_sync() 1025 chip->state = chip->oldstate; in cfi_staa_sync() 1330 chip->oldstate = chip->state; in cfi_staa_suspend() 1360 chip->state = chip->oldstate; in cfi_staa_suspend()
|
| /drivers/pwm/ |
| A D | pwm-fsl-ftm.c | 298 struct pwm_state *oldstate = &pwm->state; in fsl_pwm_apply() local 311 if (oldstate->enabled) { in fsl_pwm_apply() 326 if (!oldstate->enabled) { in fsl_pwm_apply()
|
| /drivers/net/fddi/skfp/ |
| A D | pcmplc.c | 587 int oldstate ; in pcm() local 600 oldstate = mib->fddiPORTPCMState ; in pcm() 626 if ( mib->fddiPORTPCMState != oldstate && in pcm() 627 ((oldstate == PC8_ACTIVE) || (mib->fddiPORTPCMState == PC8_ACTIVE))) { in pcm() 636 if ( mib->fddiPORTPCMState != oldstate ) { in pcm() 638 DB_SNMP ("PCM from %d to %d\n", oldstate, mib->fddiPORTPCMState); in pcm() 642 } else if ( oldstate == PC0_OFF ) { in pcm() 646 oldstate == PC8_ACTIVE ) { in pcm()
|
| /drivers/s390/char/ |
| A D | tape_core.c | 266 enum tape_medium_state oldstate; in tape_med_state_set() local 268 oldstate = device->medium_state; in tape_med_state_set() 269 if (oldstate == newstate) in tape_med_state_set() 275 if (oldstate == MS_LOADED) in tape_med_state_set() 280 if (oldstate == MS_UNLOADED) in tape_med_state_set()
|
| /drivers/tty/serial/8250/ |
| A D | 8250_pxa.c | 80 unsigned int oldstate) in serial_pxa_pm() argument
|
| A D | 8250_port.c | 2870 unsigned int oldstate) in serial8250_do_pm() argument 2880 unsigned int oldstate) in serial8250_pm() argument 2883 port->pm(port, state, oldstate); in serial8250_pm() 2885 serial8250_do_pm(port, state, oldstate); in serial8250_pm()
|
| /drivers/tty/serial/ |
| A D | sh-sci-common.h | 43 unsigned int oldstate);
|
| A D | serial_txx9.c | 685 unsigned int oldstate) in serial_txx9_pm() argument 695 if (state == 0 && oldstate != -1) in serial_txx9_pm()
|
| A D | dz.c | 642 unsigned int oldstate) in dz_pm() argument
|
| /drivers/net/ethernet/broadcom/ |
| A D | sb1250-mac.c | 1643 enum sbmac_state oldstate = sc->sbm_state; in sbmac_set_channel_state() local 1649 if (state == oldstate) { in sbmac_set_channel_state() 1650 return oldstate; in sbmac_set_channel_state() 1668 return oldstate; in sbmac_set_channel_state()
|
| /drivers/s390/net/ |
| A D | ctcm_fsms.c | 656 int oldstate; in ctcm_chx_haltio() local 668 oldstate = fsm_getstate(fi); in ctcm_chx_haltio() 679 fsm_newstate(fi, oldstate); in ctcm_chx_haltio() 832 int oldstate; in ctcm_chx_restart() local 842 oldstate = fsm_getstate(fi); in ctcm_chx_restart() 855 fsm_newstate(fi, oldstate); in ctcm_chx_restart()
|
| /drivers/staging/vc04_services/interface/vchiq_arm/ |
| A D | vchiq_core.h | 579 enum vchiq_connstate oldstate,
|
| A D | vchiq_arm.c | 1329 enum vchiq_connstate oldstate, in vchiq_platform_conn_state_changed() argument 1336 state->id, get_conn_state_name(oldstate), get_conn_state_name(newstate)); in vchiq_platform_conn_state_changed()
|
| /drivers/net/can/ |
| A D | grcan.c | 610 enum can_state oldstate = state; in grcan_err() local 629 if (state != oldstate) { in grcan_err() 683 if (priv->can.restart_ms && oldstate == CAN_STATE_BUS_OFF) { in grcan_err()
|