/drivers/scsi/ |
D | hosts.c | 68 enum scsi_host_state oldstate = shost->shost_state; in scsi_host_set_state() local 70 if (state == oldstate) in scsi_host_set_state() 81 switch (oldstate) { in scsi_host_set_state() 91 switch (oldstate) { in scsi_host_set_state() 100 switch (oldstate) { in scsi_host_set_state() 111 switch (oldstate) { in scsi_host_set_state() 121 switch (oldstate) { in scsi_host_set_state() 131 switch (oldstate) { in scsi_host_set_state() 147 scsi_host_state_name(oldstate), in scsi_host_set_state()
|
D | scsi_lib.c | 2633 enum scsi_device_state oldstate = sdev->sdev_state; in scsi_device_set_state() local 2635 if (state == oldstate) in scsi_device_set_state() 2640 switch (oldstate) { in scsi_device_set_state() 2649 switch (oldstate) { in scsi_device_set_state() 2662 switch (oldstate) { in scsi_device_set_state() 2674 switch (oldstate) { in scsi_device_set_state() 2686 switch (oldstate) { in scsi_device_set_state() 2696 switch (oldstate) { in scsi_device_set_state() 2705 switch (oldstate) { in scsi_device_set_state() 2718 switch (oldstate) { in scsi_device_set_state() [all …]
|
/drivers/gpu/drm/sti/ |
D | sti_gdp.c | 689 struct drm_plane_state *oldstate) in sti_gdp_atomic_update() argument 712 if ((oldstate->fb == state->fb) && in sti_gdp_atomic_update() 713 (oldstate->crtc_x == state->crtc_x) && in sti_gdp_atomic_update() 714 (oldstate->crtc_y == state->crtc_y) && in sti_gdp_atomic_update() 715 (oldstate->crtc_w == state->crtc_w) && in sti_gdp_atomic_update() 716 (oldstate->crtc_h == state->crtc_h) && in sti_gdp_atomic_update() 717 (oldstate->src_x == state->src_x) && in sti_gdp_atomic_update() 718 (oldstate->src_y == state->src_y) && in sti_gdp_atomic_update() 719 (oldstate->src_w == state->src_w) && in sti_gdp_atomic_update() 720 (oldstate->src_h == state->src_h)) { in sti_gdp_atomic_update() [all …]
|
D | sti_hqvdp.c | 1104 struct drm_plane_state *oldstate) in sti_hqvdp_atomic_update() argument 1122 if ((oldstate->fb == state->fb) && in sti_hqvdp_atomic_update() 1123 (oldstate->crtc_x == state->crtc_x) && in sti_hqvdp_atomic_update() 1124 (oldstate->crtc_y == state->crtc_y) && in sti_hqvdp_atomic_update() 1125 (oldstate->crtc_w == state->crtc_w) && in sti_hqvdp_atomic_update() 1126 (oldstate->crtc_h == state->crtc_h) && in sti_hqvdp_atomic_update() 1127 (oldstate->src_x == state->src_x) && in sti_hqvdp_atomic_update() 1128 (oldstate->src_y == state->src_y) && in sti_hqvdp_atomic_update() 1129 (oldstate->src_w == state->src_w) && in sti_hqvdp_atomic_update() 1130 (oldstate->src_h == state->src_h)) { in sti_hqvdp_atomic_update() [all …]
|
D | sti_cursor.c | 253 struct drm_plane_state *oldstate) in sti_cursor_atomic_update() argument 307 struct drm_plane_state *oldstate) in sti_cursor_atomic_disable() argument 311 if (!oldstate->crtc) { in sti_cursor_atomic_disable() 318 oldstate->crtc->base.id, in sti_cursor_atomic_disable() 319 sti_mixer_to_str(to_sti_mixer(oldstate->crtc)), in sti_cursor_atomic_disable()
|
/drivers/mtd/lpddr/ |
D | lpddr_cmds.c | 97 chip->oldstate = chip->state = FL_READY; in lpddr_cmdset() 255 && shared->erasing->oldstate == FL_ERASING) { in get_chip() 287 if (FL_SYNCING == mode && FL_READY != chip->oldstate) in chip_ready() 302 chip->oldstate = FL_ERASING; in chip_ready() 319 if (mode == FL_READY && chip->oldstate == FL_READY) in chip_ready() 339 if (shared->writing == chip && chip->oldstate == FL_READY) { in put_chip() 371 switch (chip->oldstate) { in put_chip() 377 chip->oldstate = FL_READY; in put_chip() 384 map->name, chip->oldstate); in put_chip()
|
/drivers/mtd/chips/ |
D | cfi_cmdset_0001.c | 811 if (mode == FL_SYNCING && chip->oldstate != FL_READY) in chip_ready() 865 chip->oldstate = FL_ERASING; in chip_ready() 895 chip->oldstate = chip->state; in chip_ready() 904 if (mode == FL_READY && chip->oldstate == FL_READY) in chip_ready() 991 && shared->erasing->oldstate == FL_ERASING) { in get_chip() 1022 if (shared->writing == chip && chip->oldstate == FL_READY) { in put_chip() 1054 switch(chip->oldstate) { in put_chip() 1067 chip->oldstate = FL_READY; in put_chip() 1072 chip->state = chip->oldstate; in put_chip() 1073 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 | 828 chip->oldstate = FL_ERASING; in get_chip() 859 chip->oldstate = chip->state; in get_chip() 869 if (mode == FL_READY && chip->oldstate == FL_READY) in get_chip() 889 switch(chip->oldstate) { in put_chip() 895 chip->oldstate = FL_READY; in put_chip() 900 chip->state = chip->oldstate; in put_chip() 901 chip->oldstate = FL_READY; in put_chip() 908 printk(KERN_ERR "MTD: put_chip() called with oldstate %d!!\n", chip->oldstate); in put_chip() 968 flstate_t oldstate; in xip_udelay() local 974 (cfi_interleave_is_1(cfi) || chip->oldstate == FL_READY)) { in xip_udelay() [all …]
|
D | cfi_cmdset_0020.c | 283 chip->oldstate = FL_ERASING; in do_read_onechip() 363 chip->state = chip->oldstate; in do_read_onechip() 994 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() 1358 chip->state = chip->oldstate; in cfi_staa_suspend()
|
/drivers/isdn/hisax/ |
D | hfc4s8s_l1.c | 1006 u_char oldstate = l1p->l1_state; in hfc4s8s_bh() local 1014 if ((oldstate == 3) in hfc4s8s_bh() 1045 l1p->st_num, oldstate, in hfc4s8s_bh() 1048 u_char oldstate = l1p->l1_state; in hfc4s8s_bh() local 1057 ((oldstate == 7) || in hfc4s8s_bh() 1058 (oldstate == 8))) || in hfc4s8s_bh() 1079 if (oldstate != 3) in hfc4s8s_bh() 1095 l1p->st_num, oldstate, in hfc4s8s_bh()
|
/drivers/net/fddi/skfp/ |
D | pcmplc.c | 596 int oldstate ; in pcm() local 609 oldstate = mib->fddiPORTPCMState ; in pcm() 635 if ( mib->fddiPORTPCMState != oldstate && in pcm() 636 ((oldstate == PC8_ACTIVE) || (mib->fddiPORTPCMState == PC8_ACTIVE))) { in pcm() 645 if ( mib->fddiPORTPCMState != oldstate ) { in pcm() 647 DB_SNMP ("PCM from %d to %d\n", oldstate, mib->fddiPORTPCMState); in pcm() 651 } else if ( oldstate == PC0_OFF ) { in pcm() 655 oldstate == PC8_ACTIVE ) { in pcm()
|
D | cfm.c | 215 int oldstate ; in cfm() local 229 oldstate = smc->mib.fddiSMTCF_State ; in cfm() 265 if (smc->mib.fddiSMTCF_State != oldstate) { in cfm()
|
/drivers/s390/char/ |
D | tape_core.c | 264 enum tape_medium_state oldstate; in tape_med_state_set() local 266 oldstate = device->medium_state; in tape_med_state_set() 267 if (oldstate == newstate) in tape_med_state_set() 273 if (oldstate == MS_LOADED) in tape_med_state_set() 278 if (oldstate == MS_UNLOADED) in tape_med_state_set()
|
/drivers/tty/serial/8250/ |
D | 8250_pxa.c | 87 unsigned int oldstate) in serial_pxa_pm() argument
|
D | 8250_port.c | 2803 unsigned int oldstate) in serial8250_do_pm() argument 2813 unsigned int oldstate) in serial8250_pm() argument 2816 port->pm(port, state, oldstate); in serial8250_pm() 2818 serial8250_do_pm(port, state, oldstate); in serial8250_pm()
|
/drivers/gpu/drm/stm/ |
D | ltdc.c | 569 struct drm_plane_state *oldstate) in ltdc_plane_atomic_update() argument 673 struct drm_plane_state *oldstate) in ltdc_plane_atomic_disable() argument 682 oldstate->crtc->base.id, plane->base.id); in ltdc_plane_atomic_disable()
|
/drivers/net/ethernet/broadcom/ |
D | sb1250-mac.c | 1656 enum sbmac_state oldstate = sc->sbm_state; in sbmac_set_channel_state() local 1662 if (state == oldstate) { in sbmac_set_channel_state() 1663 return oldstate; in sbmac_set_channel_state() 1681 return oldstate; in sbmac_set_channel_state()
|
/drivers/s390/net/ |
D | ctcm_fsms.c | 661 int oldstate; in ctcm_chx_haltio() local 673 oldstate = fsm_getstate(fi); in ctcm_chx_haltio() 684 fsm_newstate(fi, oldstate); in ctcm_chx_haltio() 837 int oldstate; in ctcm_chx_restart() local 847 oldstate = fsm_getstate(fi); in ctcm_chx_restart() 860 fsm_newstate(fi, oldstate); in ctcm_chx_restart()
|
/drivers/misc/mic/scif/ |
D | scif_api.c | 168 enum scif_epd_state oldstate; in scif_close() local 182 oldstate = ep->state; in scif_close() 186 switch (oldstate) { in scif_close()
|
/drivers/net/can/ |
D | grcan.c | 614 enum can_state oldstate = state; in grcan_err() local 633 if (state != oldstate) { in grcan_err() 686 if (priv->can.restart_ms && oldstate == CAN_STATE_BUS_OFF) { in grcan_err()
|
/drivers/staging/vc04_services/interface/vchiq_arm/ |
D | vchiq_core.h | 697 VCHIQ_CONNSTATE_T oldstate, VCHIQ_CONNSTATE_T newstate);
|
/drivers/tty/serial/ |
D | serial_txx9.c | 739 unsigned int oldstate) in serial_txx9_pm() argument 749 if (state == 0 && oldstate != -1) in serial_txx9_pm()
|
D | dz.c | 644 unsigned int oldstate) in dz_pm() argument
|
/drivers/isdn/capi/ |
D | capidrv.c | 104 int oldstate; member 738 ncci->state = ncci->oldstate; in ncci_change_state() 739 ncci->oldstate = p->actstate; in ncci_change_state() 741 ncci->oldstate = p->actstate; in ncci_change_state()
|