Home
last modified time | relevance | path

Searched refs:oldstate (Results 1 – 25 of 43) sorted by relevance

12

/linux-3.4.99/drivers/scsi/
Dhosts.c68 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()
Dscsi_lib.c2055 enum scsi_device_state oldstate = sdev->sdev_state; in scsi_device_set_state() local
2057 if (state == oldstate) in scsi_device_set_state()
2062 switch (oldstate) { in scsi_device_set_state()
2071 switch (oldstate) { in scsi_device_set_state()
2083 switch (oldstate) { in scsi_device_set_state()
2093 switch (oldstate) { in scsi_device_set_state()
2105 switch (oldstate) { in scsi_device_set_state()
2115 switch (oldstate) { in scsi_device_set_state()
2124 switch (oldstate) { in scsi_device_set_state()
2137 switch (oldstate) { in scsi_device_set_state()
[all …]
/linux-3.4.99/drivers/mtd/chips/
Dfwh_lock.h67 chip->oldstate = chip->state; in fwh_xxlock_oneblock()
72 chip->state = chip->oldstate; in fwh_xxlock_oneblock()
Dcfi_cmdset_0001.c761 if (mode == FL_SYNCING && chip->oldstate != FL_READY) in chip_ready()
806 chip->oldstate = FL_ERASING; in chip_ready()
836 chip->oldstate = chip->state; in chip_ready()
845 if (mode == FL_READY && chip->oldstate == FL_READY) in chip_ready()
932 && shared->erasing->oldstate == FL_ERASING) { in get_chip()
963 if (shared->writing == chip && chip->oldstate == FL_READY) { in put_chip()
995 switch(chip->oldstate) { in put_chip()
1008 chip->oldstate = FL_READY; in put_chip()
1013 chip->state = chip->oldstate; in put_chip()
1014 chip->oldstate = FL_READY; in put_chip()
[all …]
Dcfi_cmdset_0002.c702 chip->oldstate = FL_ERASING; in get_chip()
733 chip->oldstate = chip->state; in get_chip()
743 if (mode == FL_READY && chip->oldstate == FL_READY) in get_chip()
763 switch(chip->oldstate) { in put_chip()
766 chip->oldstate = FL_READY; in put_chip()
771 chip->state = chip->oldstate; in put_chip()
772 chip->oldstate = FL_READY; in put_chip()
779 printk(KERN_ERR "MTD: put_chip() called with oldstate %d!!\n", chip->oldstate); in put_chip()
839 flstate_t oldstate; in xip_udelay() local
845 (cfi_interleave_is_1(cfi) || chip->oldstate == FL_READY)) { in xip_udelay()
[all …]
Dcfi_cmdset_0020.c286 chip->oldstate = FL_ERASING; in do_read_onechip()
366 chip->state = chip->oldstate; in do_read_onechip()
997 chip->oldstate = chip->state; in cfi_staa_sync()
1028 chip->state = chip->oldstate; in cfi_staa_sync()
1333 chip->oldstate = chip->state; in cfi_staa_suspend()
1361 chip->state = chip->oldstate; in cfi_staa_suspend()
/linux-3.4.99/arch/arm/mach-sa1100/
Dhackkit.c50 static void hackkit_uart_pm(struct uart_port *port, u_int state, u_int oldstate);
99 static void hackkit_uart_pm(struct uart_port *port, u_int state, u_int oldstate) in hackkit_uart_pm() argument
Dbadge4.c280 badge4_uart_pm(struct uart_port *port, u_int state, u_int oldstate) in badge4_uart_pm() argument
Dh3xxx.c143 static void h3xxx_uart_pm(struct uart_port *port, u_int state, u_int oldstate) in h3xxx_uart_pm() argument
Dsimpad.c135 static void simpad_uart_pm(struct uart_port *port, u_int state, u_int oldstate) in simpad_uart_pm() argument
Dassabet.c413 static void assabet_uart_pm(struct uart_port *port, u_int state, u_int oldstate) in assabet_uart_pm() argument
/linux-3.4.99/drivers/mtd/lpddr/
Dlpddr_cmds.c99 chip->oldstate = chip->state = FL_READY; in lpddr_cmdset()
257 && shared->erasing->oldstate == FL_ERASING) { in get_chip()
289 if (FL_SYNCING == mode && FL_READY != chip->oldstate) in chip_ready()
304 chip->oldstate = FL_ERASING; in chip_ready()
321 if (mode == FL_READY && chip->oldstate == FL_READY) in chip_ready()
341 if (shared->writing == chip && chip->oldstate == FL_READY) { in put_chip()
373 switch (chip->oldstate) { in put_chip()
379 chip->oldstate = FL_READY; in put_chip()
386 map->name, chip->oldstate); in put_chip()
/linux-3.4.99/net/dccp/
Dproto.c79 const int oldstate = sk->sk_state; in dccp_set_state() local
82 dccp_state_name(oldstate), dccp_state_name(state)); in dccp_set_state()
83 WARN_ON(state == oldstate); in dccp_set_state()
87 if (oldstate != DCCP_OPEN) in dccp_set_state()
90 if (oldstate == DCCP_PARTOPEN) in dccp_set_state()
95 if (oldstate == DCCP_OPEN || oldstate == DCCP_ACTIVE_CLOSEREQ || in dccp_set_state()
96 oldstate == DCCP_CLOSING) in dccp_set_state()
105 if (oldstate == DCCP_OPEN) in dccp_set_state()
/linux-3.4.99/net/dccp/ccids/
Dccid3.c67 enum ccid3_hc_tx_states oldstate = hc->tx_state; in ccid3_hc_tx_set_state() local
70 dccp_role(sk), sk, ccid3_tx_state_name(oldstate), in ccid3_hc_tx_set_state()
72 WARN_ON(state == oldstate); in ccid3_hc_tx_set_state()
583 enum ccid3_hc_rx_states oldstate = hc->rx_state; in ccid3_hc_rx_set_state() local
586 dccp_role(sk), sk, ccid3_rx_state_name(oldstate), in ccid3_hc_rx_set_state()
588 WARN_ON(state == oldstate); in ccid3_hc_rx_set_state()
/linux-3.4.99/include/linux/mtd/
Dflashchip.h83 flstate_t oldstate; member
/linux-3.4.99/include/linux/
Dserial_8250.h84 unsigned int oldstate);
Dserial_core.h257 unsigned int oldstate);
/linux-3.4.99/drivers/isdn/hisax/
Dhfc4s8s_l1.c1104 u_char oldstate = l1p->l1_state; in hfc4s8s_bh() local
1112 if ((oldstate == 3) in hfc4s8s_bh()
1143 l1p->st_num, oldstate, in hfc4s8s_bh()
1146 u_char oldstate = l1p->l1_state; in hfc4s8s_bh() local
1155 ((oldstate == 7) || in hfc4s8s_bh()
1156 (oldstate == 8))) || in hfc4s8s_bh()
1177 if (oldstate != 3) in hfc4s8s_bh()
1193 l1p->st_num, oldstate, in hfc4s8s_bh()
/linux-3.4.99/drivers/net/fddi/skfp/
Dpcmplc.c598 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()
Dcfm.c217 int oldstate ; in cfm() local
231 oldstate = smc->mib.fddiSMTCF_State ; in cfm()
267 if (smc->mib.fddiSMTCF_State != oldstate) { in cfm()
/linux-3.4.99/drivers/s390/char/
Dtape_core.c265 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()
/linux-3.4.99/drivers/s390/net/
Dctcm_fsms.c664 int oldstate; in ctcm_chx_haltio() local
676 oldstate = fsm_getstate(fi); in ctcm_chx_haltio()
687 fsm_newstate(fi, oldstate); in ctcm_chx_haltio()
840 int oldstate; in ctcm_chx_restart() local
850 oldstate = fsm_getstate(fi); in ctcm_chx_restart()
863 fsm_newstate(fi, oldstate); in ctcm_chx_restart()
/linux-3.4.99/drivers/net/ethernet/broadcom/
Dsb1250-mac.c1675 enum sbmac_state oldstate = sc->sbm_state; in sbmac_set_channel_state() local
1681 if (state == oldstate) { in sbmac_set_channel_state()
1682 return oldstate; in sbmac_set_channel_state()
1700 return oldstate; in sbmac_set_channel_state()
/linux-3.4.99/net/ipv4/
Dtcp.c1796 int oldstate = sk->sk_state; in tcp_set_state() local
1800 if (oldstate != TCP_ESTABLISHED) in tcp_set_state()
1805 if (oldstate == TCP_CLOSE_WAIT || oldstate == TCP_ESTABLISHED) in tcp_set_state()
1814 if (oldstate == TCP_ESTABLISHED) in tcp_set_state()
1824 SOCK_DEBUG(sk, "TCP sk=%p, State %s -> %s\n", sk, statename[oldstate], statename[state]); in tcp_set_state()
/linux-3.4.99/fs/ceph/
Dmds_client.c2632 int oldstate, newstate; in check_new_map() local
2642 oldstate = ceph_mdsmap_get_state(oldmap, i); in check_new_map()
2646 i, ceph_mds_state_name(oldstate), in check_new_map()
2673 } else if (oldstate == newstate) { in check_new_map()
2690 if (oldstate < CEPH_MDS_STATE_ACTIVE && in check_new_map()
2692 if (oldstate != CEPH_MDS_STATE_CREATING && in check_new_map()
2693 oldstate != CEPH_MDS_STATE_STARTING) in check_new_map()

12