/drivers/scsi/ |
D | hosts.c | 76 enum scsi_host_state oldstate = shost->shost_state; in scsi_host_set_state() local 78 if (state == oldstate) in scsi_host_set_state() 89 switch (oldstate) { in scsi_host_set_state() 99 switch (oldstate) { in scsi_host_set_state() 108 switch (oldstate) { in scsi_host_set_state() 119 switch (oldstate) { in scsi_host_set_state() 129 switch (oldstate) { in scsi_host_set_state() 139 switch (oldstate) { in scsi_host_set_state() 155 scsi_host_state_name(oldstate), in scsi_host_set_state()
|
D | scsi_lib.c | 2244 enum scsi_device_state oldstate = sdev->sdev_state; in scsi_device_set_state() local 2246 if (state == oldstate) in scsi_device_set_state() 2251 switch (oldstate) { in scsi_device_set_state() 2260 switch (oldstate) { in scsi_device_set_state() 2273 switch (oldstate) { in scsi_device_set_state() 2285 switch (oldstate) { in scsi_device_set_state() 2297 switch (oldstate) { in scsi_device_set_state() 2309 switch (oldstate) { in scsi_device_set_state() 2318 switch (oldstate) { in scsi_device_set_state() 2331 switch (oldstate) { in scsi_device_set_state() [all …]
|
/drivers/gpu/drm/sti/ |
D | sti_gdp.c | 704 struct drm_plane_state *oldstate = drm_atomic_get_old_plane_state(state, in sti_gdp_atomic_update() local 728 if ((oldstate->fb == newstate->fb) && in sti_gdp_atomic_update() 729 (oldstate->crtc_x == newstate->crtc_x) && in sti_gdp_atomic_update() 730 (oldstate->crtc_y == newstate->crtc_y) && in sti_gdp_atomic_update() 731 (oldstate->crtc_w == newstate->crtc_w) && in sti_gdp_atomic_update() 732 (oldstate->crtc_h == newstate->crtc_h) && in sti_gdp_atomic_update() 733 (oldstate->src_x == newstate->src_x) && in sti_gdp_atomic_update() 734 (oldstate->src_y == newstate->src_y) && in sti_gdp_atomic_update() 735 (oldstate->src_w == newstate->src_w) && in sti_gdp_atomic_update() 736 (oldstate->src_h == newstate->src_h)) { in sti_gdp_atomic_update() [all …]
|
D | sti_hqvdp.c | 1114 struct drm_plane_state *oldstate = drm_atomic_get_old_plane_state(state, in sti_hqvdp_atomic_update() local 1133 if ((oldstate->fb == newstate->fb) && in sti_hqvdp_atomic_update() 1134 (oldstate->crtc_x == newstate->crtc_x) && in sti_hqvdp_atomic_update() 1135 (oldstate->crtc_y == newstate->crtc_y) && in sti_hqvdp_atomic_update() 1136 (oldstate->crtc_w == newstate->crtc_w) && in sti_hqvdp_atomic_update() 1137 (oldstate->crtc_h == newstate->crtc_h) && in sti_hqvdp_atomic_update() 1138 (oldstate->src_x == newstate->src_x) && in sti_hqvdp_atomic_update() 1139 (oldstate->src_y == newstate->src_y) && in sti_hqvdp_atomic_update() 1140 (oldstate->src_w == newstate->src_w) && in sti_hqvdp_atomic_update() 1141 (oldstate->src_h == newstate->src_h)) { in sti_hqvdp_atomic_update() [all …]
|
D | sti_cursor.c | 316 struct drm_plane_state *oldstate = drm_atomic_get_old_plane_state(state, in sti_cursor_atomic_disable() local 320 if (!oldstate->crtc) { in sti_cursor_atomic_disable() 327 oldstate->crtc->base.id, in sti_cursor_atomic_disable() 328 sti_mixer_to_str(to_sti_mixer(oldstate->crtc)), in sti_cursor_atomic_disable()
|
/drivers/gpu/drm/ingenic/ |
D | ingenic-ipu.c | 275 struct drm_plane_state *oldstate) in osd_changed() argument 277 return state->src_x != oldstate->src_x || in osd_changed() 278 state->src_y != oldstate->src_y || in osd_changed() 279 state->src_w != oldstate->src_w || in osd_changed() 280 state->src_h != oldstate->src_h || in osd_changed() 281 state->crtc_x != oldstate->crtc_x || in osd_changed() 282 state->crtc_y != oldstate->crtc_y || in osd_changed() 283 state->crtc_w != oldstate->crtc_w || in osd_changed() 284 state->crtc_h != oldstate->crtc_h; in osd_changed() 292 struct drm_plane_state *oldstate = drm_atomic_get_old_plane_state(state, plane); in ingenic_ipu_plane_atomic_update() local [all …]
|
D | ingenic-drm-drv.c | 560 struct drm_plane_state *oldstate = drm_atomic_get_old_plane_state(state, plane); in ingenic_drm_plane_atomic_update() local 569 drm_fb_cma_sync_non_coherent(&priv->drm, oldstate, newstate); in ingenic_drm_plane_atomic_update()
|
/drivers/mtd/lpddr/ |
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/ |
D | cfi_cmdset_0001.c | 835 if (mode == FL_SYNCING && chip->oldstate != FL_READY) in chip_ready() 889 chip->oldstate = FL_ERASING; in chip_ready() 919 chip->oldstate = chip->state; in chip_ready() 928 if (mode == FL_READY && chip->oldstate == FL_READY) in chip_ready() 1015 && shared->erasing->oldstate == FL_ERASING) { in get_chip() 1046 if (shared->writing == chip && chip->oldstate == FL_READY) { in put_chip() 1078 switch(chip->oldstate) { in put_chip() 1091 chip->oldstate = FL_READY; in put_chip() 1096 chip->state = chip->oldstate; in put_chip() 1097 chip->oldstate = FL_READY; in put_chip() [all …]
|
D | fwh_lock.h | 68 chip->oldstate = chip->state; in fwh_xxlock_oneblock() 73 chip->state = chip->oldstate; in fwh_xxlock_oneblock()
|
D | cfi_cmdset_0002.c | 924 chip->oldstate = FL_ERASING; in get_chip() 955 chip->oldstate = chip->state; in get_chip() 965 if (mode == FL_READY && chip->oldstate == FL_READY) in get_chip() 985 switch(chip->oldstate) { in put_chip() 991 chip->oldstate = FL_READY; in put_chip() 996 chip->state = chip->oldstate; in put_chip() 997 chip->oldstate = FL_READY; in put_chip() 1004 printk(KERN_ERR "MTD: put_chip() called with oldstate %d!!\n", chip->oldstate); in put_chip() 1064 flstate_t oldstate; in xip_udelay() local 1070 (cfi_interleave_is_1(cfi) || chip->oldstate == FL_READY)) { in xip_udelay() [all …]
|
D | cfi_cmdset_0020.c | 284 chip->oldstate = FL_ERASING; in do_read_onechip() 364 chip->state = chip->oldstate; in do_read_onechip() 992 chip->oldstate = chip->state; in cfi_staa_sync() 1024 chip->state = chip->oldstate; in cfi_staa_sync() 1329 chip->oldstate = chip->state; in cfi_staa_suspend() 1359 chip->state = chip->oldstate; in cfi_staa_suspend()
|
/drivers/pwm/ |
D | pwm-fsl-ftm.c | 304 struct pwm_state *oldstate = &pwm->state; in fsl_pwm_apply() local 319 if (oldstate->enabled) { in fsl_pwm_apply() 334 if (!oldstate->enabled) { in fsl_pwm_apply()
|
/drivers/net/fddi/skfp/ |
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/ |
D | tape_core.c | 265 enum tape_medium_state oldstate; in tape_med_state_set() local 267 oldstate = device->medium_state; in tape_med_state_set() 268 if (oldstate == newstate) in tape_med_state_set() 274 if (oldstate == MS_LOADED) in tape_med_state_set() 279 if (oldstate == MS_UNLOADED) in tape_med_state_set()
|
/drivers/tty/serial/8250/ |
D | 8250_pxa.c | 81 unsigned int oldstate) in serial_pxa_pm() argument
|
D | 8250_port.c | 2936 unsigned int oldstate) in serial8250_do_pm() argument 2946 unsigned int oldstate) in serial8250_pm() argument 2949 port->pm(port, state, oldstate); in serial8250_pm() 2951 serial8250_do_pm(port, state, oldstate); in serial8250_pm()
|
/drivers/net/ethernet/broadcom/ |
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/ |
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/ |
D | vchiq_core.h | 626 enum vchiq_connstate oldstate,
|
D | vchiq_arm.c | 1732 enum vchiq_connstate oldstate, in vchiq_platform_conn_state_changed() argument 1739 get_conn_state_name(oldstate), get_conn_state_name(newstate)); in vchiq_platform_conn_state_changed()
|
/drivers/net/can/ |
D | grcan.c | 611 enum can_state oldstate = state; in grcan_err() local 630 if (state != oldstate) { in grcan_err() 683 if (priv->can.restart_ms && oldstate == CAN_STATE_BUS_OFF) { in grcan_err()
|
/drivers/tty/serial/ |
D | serial_txx9.c | 733 unsigned int oldstate) in serial_txx9_pm() argument 743 if (state == 0 && oldstate != -1) in serial_txx9_pm()
|
D | dz.c | 641 unsigned int oldstate) in dz_pm() argument
|
/drivers/gpu/drm/stm/ |
D | ltdc.c | 901 struct drm_plane_state *oldstate = drm_atomic_get_old_plane_state(state, in ltdc_plane_atomic_disable() local 910 oldstate->crtc->base.id, plane->base.id); in ltdc_plane_atomic_disable()
|