/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 | 2598 enum scsi_device_state oldstate = sdev->sdev_state; in scsi_device_set_state() local 2600 if (state == oldstate) in scsi_device_set_state() 2605 switch (oldstate) { in scsi_device_set_state() 2614 switch (oldstate) { in scsi_device_set_state() 2627 switch (oldstate) { in scsi_device_set_state() 2639 switch (oldstate) { in scsi_device_set_state() 2651 switch (oldstate) { in scsi_device_set_state() 2661 switch (oldstate) { in scsi_device_set_state() 2670 switch (oldstate) { in scsi_device_set_state() 2684 switch (oldstate) { in scsi_device_set_state() [all …]
|
/drivers/mtd/lpddr/ |
D | lpddr_cmds.c | 96 chip->oldstate = chip->state = FL_READY; in lpddr_cmdset() 254 && shared->erasing->oldstate == FL_ERASING) { in get_chip() 286 if (FL_SYNCING == mode && FL_READY != chip->oldstate) in chip_ready() 301 chip->oldstate = FL_ERASING; in chip_ready() 318 if (mode == FL_READY && chip->oldstate == FL_READY) in chip_ready() 338 if (shared->writing == chip && chip->oldstate == FL_READY) { in put_chip() 370 switch (chip->oldstate) { in put_chip() 376 chip->oldstate = FL_READY; in put_chip() 383 map->name, chip->oldstate); in put_chip()
|
/drivers/mtd/chips/ |
D | cfi_cmdset_0001.c | 805 if (mode == FL_SYNCING && chip->oldstate != FL_READY) in chip_ready() 859 chip->oldstate = FL_ERASING; in chip_ready() 889 chip->oldstate = chip->state; in chip_ready() 898 if (mode == FL_READY && chip->oldstate == FL_READY) in chip_ready() 985 && shared->erasing->oldstate == FL_ERASING) { in get_chip() 1016 if (shared->writing == chip && chip->oldstate == FL_READY) { in put_chip() 1048 switch(chip->oldstate) { in put_chip() 1061 chip->oldstate = FL_READY; in put_chip() 1066 chip->state = chip->oldstate; in put_chip() 1067 chip->oldstate = FL_READY; in put_chip() [all …]
|
D | fwh_lock.h | 67 chip->oldstate = chip->state; in fwh_xxlock_oneblock() 72 chip->state = chip->oldstate; in fwh_xxlock_oneblock()
|
D | cfi_cmdset_0002.c | 825 chip->oldstate = FL_ERASING; in get_chip() 856 chip->oldstate = chip->state; in get_chip() 866 if (mode == FL_READY && chip->oldstate == FL_READY) in get_chip() 886 switch(chip->oldstate) { in put_chip() 892 chip->oldstate = FL_READY; in put_chip() 897 chip->state = chip->oldstate; in put_chip() 898 chip->oldstate = FL_READY; in put_chip() 905 printk(KERN_ERR "MTD: put_chip() called with oldstate %d!!\n", chip->oldstate); in put_chip() 965 flstate_t oldstate; in xip_udelay() local 971 (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/gpu/drm/sti/ |
D | sti_cursor.c | 114 struct drm_plane_state *oldstate) in sti_cursor_atomic_update() argument 215 struct drm_plane_state *oldstate) in sti_cursor_atomic_disable() argument
|
D | sti_gdp.c | 384 struct drm_plane_state *oldstate) in sti_gdp_atomic_update() argument 581 struct drm_plane_state *oldstate) in sti_gdp_atomic_disable() argument
|
D | sti_hqvdp.c | 779 struct drm_plane_state *oldstate) in sti_hqvdp_atomic_update() argument 938 struct drm_plane_state *oldstate) in sti_hqvdp_atomic_disable() argument
|
/drivers/net/fddi/skfp/ |
D | pcmplc.c | 598 int oldstate ; in pcm() local 611 oldstate = mib->fddiPORTPCMState ; in pcm() 638 if ( mib->fddiPORTPCMState != oldstate && in pcm() 639 ((oldstate == PC8_ACTIVE) || (mib->fddiPORTPCMState == PC8_ACTIVE))) { in pcm() 648 if ( mib->fddiPORTPCMState != oldstate ) { in pcm() 650 DB_SNMP ("PCM from %d to %d\n", oldstate, mib->fddiPORTPCMState); in pcm() 654 } else if ( oldstate == PC0_OFF ) { in pcm() 658 oldstate == PC8_ACTIVE ) { in pcm()
|
D | cfm.c | 217 int oldstate ; in cfm() local 231 oldstate = smc->mib.fddiSMTCF_State ; in cfm() 267 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/net/ethernet/broadcom/ |
D | sb1250-mac.c | 1661 enum sbmac_state oldstate = sc->sbm_state; in sbmac_set_channel_state() local 1667 if (state == oldstate) { in sbmac_set_channel_state() 1668 return oldstate; in sbmac_set_channel_state() 1686 return oldstate; in sbmac_set_channel_state()
|
/drivers/s390/net/ |
D | ctcm_fsms.c | 660 int oldstate; in ctcm_chx_haltio() local 672 oldstate = fsm_getstate(fi); in ctcm_chx_haltio() 683 fsm_newstate(fi, oldstate); in ctcm_chx_haltio() 836 int oldstate; in ctcm_chx_restart() local 846 oldstate = fsm_getstate(fi); in ctcm_chx_restart() 859 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/tty/serial/ |
D | m32r_sio.c | 790 unsigned int oldstate) in m32r_sio_pm() argument 796 up->pm(port, state, oldstate); in m32r_sio_pm()
|
D | serial_txx9.c | 739 unsigned int oldstate) in serial_txx9_pm() argument 749 if (state == 0 && oldstate != -1) in serial_txx9_pm()
|
D | stm32-usart.c | 468 unsigned int oldstate) in stm32_pm() argument
|
D | dz.c | 644 unsigned int oldstate) in dz_pm() argument
|
/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/net/dsa/ |
D | mv88e6xxx.c | 1045 u8 oldstate; in mv88e6xxx_set_port_state() local 1055 oldstate = reg & PORT_CONTROL_STATE_MASK; in mv88e6xxx_set_port_state() 1056 if (oldstate != state) { in mv88e6xxx_set_port_state() 1061 if (oldstate >= PORT_CONTROL_STATE_LEARNING && in mv88e6xxx_set_port_state()
|
/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()
|
/drivers/tty/serial/8250/ |
D | 8250_port.c | 2425 unsigned int oldstate) in serial8250_do_pm() argument 2435 unsigned int oldstate) in serial8250_pm() argument 2438 port->pm(port, state, oldstate); in serial8250_pm() 2440 serial8250_do_pm(port, state, oldstate); in serial8250_pm()
|