Searched refs:oldstate (Results 1 - 25 of 35) sorted by relevance

12

/drivers/mtd/chips/
H A Dfwh_lock.h67 chip->oldstate = chip->state;
72 chip->state = chip->oldstate;
H A Dcfi_cmdset_0001.c793 if (mode == FL_SYNCING && chip->oldstate != FL_READY)
838 chip->oldstate = FL_ERASING;
868 chip->oldstate = chip->state;
877 if (mode == FL_READY && chip->oldstate == FL_READY)
964 && shared->erasing->oldstate == FL_ERASING) {
995 if (shared->writing == chip && chip->oldstate == FL_READY) {
1027 switch(chip->oldstate) {
1040 chip->oldstate = FL_READY;
1045 chip->state = chip->oldstate;
1046 chip->oldstate
1114 flstate_t oldstate, newstate; local
[all...]
H A Dcfi_cmdset_0002.c825 chip->oldstate = FL_ERASING;
856 chip->oldstate = chip->state;
866 if (mode == FL_READY && chip->oldstate == FL_READY)
886 switch(chip->oldstate) {
892 chip->oldstate = FL_READY;
897 chip->state = chip->oldstate;
898 chip->oldstate = FL_READY;
905 printk(KERN_ERR "MTD: put_chip() called with oldstate %d!!\n", chip->oldstate);
965 flstate_t oldstate; local
[all...]
H A Dcfi_cmdset_0020.c283 chip->oldstate = FL_ERASING;
363 chip->state = chip->oldstate;
994 chip->oldstate = chip->state;
1025 chip->state = chip->oldstate;
1330 chip->oldstate = chip->state;
1358 chip->state = chip->oldstate;
/drivers/scsi/
H A Dhosts.c68 enum scsi_host_state oldstate = shost->shost_state; local
70 if (state == oldstate)
81 switch (oldstate) {
91 switch (oldstate) {
100 switch (oldstate) {
111 switch (oldstate) {
121 switch (oldstate) {
131 switch (oldstate) {
147 scsi_host_state_name(oldstate),
H A Dscsi_lib.c2460 enum scsi_device_state oldstate = sdev->sdev_state; local
2462 if (state == oldstate)
2467 switch (oldstate) {
2476 switch (oldstate) {
2489 switch (oldstate) {
2501 switch (oldstate) {
2513 switch (oldstate) {
2523 switch (oldstate) {
2532 switch (oldstate) {
2546 switch (oldstate) {
[all...]
/drivers/mtd/lpddr/
H A Dlpddr_cmds.c97 chip->oldstate = chip->state = FL_READY;
255 && shared->erasing->oldstate == FL_ERASING) {
287 if (FL_SYNCING == mode && FL_READY != chip->oldstate)
302 chip->oldstate = FL_ERASING;
319 if (mode == FL_READY && chip->oldstate == FL_READY)
339 if (shared->writing == chip && chip->oldstate == FL_READY) {
371 switch (chip->oldstate) {
377 chip->oldstate = FL_READY;
383 printk(KERN_ERR "%s: put_chip() called with oldstate %d!\n",
384 map->name, chip->oldstate);
[all...]
/drivers/s390/char/
H A Dtape_core.c264 enum tape_medium_state oldstate; local
266 oldstate = device->medium_state;
267 if (oldstate == newstate)
273 if (oldstate == MS_LOADED)
278 if (oldstate == MS_UNLOADED)
/drivers/net/fddi/skfp/
H A Dcfm.c217 int oldstate ; local
231 oldstate = smc->mib.fddiSMTCF_State ;
267 if (smc->mib.fddiSMTCF_State != oldstate) {
H A Dpcmplc.c598 int oldstate ; local
611 oldstate = mib->fddiPORTPCMState ;
638 if ( mib->fddiPORTPCMState != oldstate &&
639 ((oldstate == PC8_ACTIVE) || (mib->fddiPORTPCMState == PC8_ACTIVE))) {
648 if ( mib->fddiPORTPCMState != oldstate ) {
650 DB_SNMP ("PCM from %d to %d\n", oldstate, mib->fddiPORTPCMState);
654 } else if ( oldstate == PC0_OFF ) {
658 oldstate == PC8_ACTIVE ) {
/drivers/isdn/hisax/
H A Dhfc4s8s_l1.c1027 u_char oldstate = l1p->l1_state; local
1035 if ((oldstate == 3)
1066 l1p->st_num, oldstate,
1069 u_char oldstate = l1p->l1_state; local
1078 ((oldstate == 7) ||
1079 (oldstate == 8))) ||
1100 if (oldstate != 3)
1116 l1p->st_num, oldstate,
/drivers/s390/net/
H A Dctcm_fsms.c662 int oldstate; local
674 oldstate = fsm_getstate(fi);
685 fsm_newstate(fi, oldstate);
838 int oldstate; local
848 oldstate = fsm_getstate(fi);
861 fsm_newstate(fi, oldstate);
/drivers/net/ethernet/broadcom/
H A Dsb1250-mac.c1670 enum sbmac_state oldstate = sc->sbm_state; local
1676 if (state == oldstate) {
1677 return oldstate;
1695 return oldstate;
/drivers/tty/serial/
H A Dm32r_sio.c781 unsigned int oldstate)
786 up->pm(port, state, oldstate);
780 m32r_sio_pm(struct uart_port *port, unsigned int state, unsigned int oldstate) argument
H A Dmrst_max3110.c697 unsigned int oldstate)
696 serial_m3110_pm(struct uart_port *port, unsigned int state, unsigned int oldstate) argument
H A Dst-asc.c453 unsigned int oldstate)
452 asc_pm(struct uart_port *port, unsigned int state, unsigned int oldstate) argument
H A Dserial_txx9.c739 unsigned int oldstate)
742 * If oldstate was -1 this is called from
749 if (state == 0 && oldstate != -1)
738 serial_txx9_pm(struct uart_port *port, unsigned int state, unsigned int oldstate) argument
H A Ddz.c644 unsigned int oldstate)
643 dz_pm(struct uart_port *uport, unsigned int state, unsigned int oldstate) argument
H A Dmsm_serial.c666 unsigned int oldstate)
665 msm_power(struct uart_port *port, unsigned int state, unsigned int oldstate) argument
H A Dpxa.c554 unsigned int oldstate)
553 serial_pxa_pm(struct uart_port *port, unsigned int state, unsigned int oldstate) argument
H A Dsc16is7xx.c977 unsigned int oldstate)
976 sc16is7xx_pm(struct uart_port *port, unsigned int state, unsigned int oldstate) argument
H A Dvr41xx_siu.c597 static void siu_pm(struct uart_port *port, unsigned int state, unsigned int oldstate) argument
/drivers/net/can/
H A Dgrcan.c614 enum can_state oldstate = state; local
633 if (state != oldstate) {
686 if (priv->can.restart_ms && oldstate == CAN_STATE_BUS_OFF) {
/drivers/isdn/capi/
H A Dcapidrv.c104 int oldstate; member in struct:capidrv_contr::capidrv_bchan::capidrv_plci::capidrv_ncci
738 ncci->state = ncci->oldstate;
739 ncci->oldstate = p->actstate;
741 ncci->oldstate = p->actstate;
/drivers/tty/serial/8250/
H A D8250_core.c2617 unsigned int oldstate)
2627 unsigned int oldstate)
2630 port->pm(port, state, oldstate);
2632 serial8250_do_pm(port, state, oldstate);
2616 serial8250_do_pm(struct uart_port *port, unsigned int state, unsigned int oldstate) argument
2626 serial8250_pm(struct uart_port *port, unsigned int state, unsigned int oldstate) argument

Completed in 1265 milliseconds

12