Home
last modified time | relevance | path

Searched refs:prev_status (Results 1 – 12 of 12) sorted by relevance

/drivers/input/keyboard/
Ddavinci_keyscan.c128 u32 prev_status, new_status, changed; in davinci_ks_interrupt() local
137 prev_status = __raw_readl(davinci_ks->base + DAVINCI_KEYSCAN_PREVSTATE); in davinci_ks_interrupt()
140 changed = prev_status ^ new_status; in davinci_ks_interrupt()
/drivers/tty/serial/
Dip22zilog.c87 unsigned char prev_status; member
334 if ((status & BRK_ABRT) && !(up->prev_status & BRK_ABRT)) { in ip22zilog_status_handle()
350 if ((status ^ up->prev_status) ^ DCD) in ip22zilog_status_handle()
353 if ((status ^ up->prev_status) ^ CTS) in ip22zilog_status_handle()
360 up->prev_status = status; in ip22zilog_status_handle()
724 up->prev_status = readb(&channel->control); in __ip22zilog_startup()
Dsunzilog.c98 unsigned char prev_status; member
450 if ((status ^ up->prev_status) ^ DCD) in sunzilog_status_handle()
453 if ((status ^ up->prev_status) ^ CTS) in sunzilog_status_handle()
460 up->prev_status = status; in sunzilog_status_handle()
790 up->prev_status = readb(&channel->control); in __sunzilog_startup()
Dpmac_zilog.h52 unsigned char prev_status; member
Dpmac_zilog.c355 if ((status ^ uap->prev_status) & DCD) in pmz_status_handle()
358 if ((status ^ uap->prev_status) & CTS) in pmz_status_handle()
368 uap->prev_status = status; in pmz_status_handle()
892 uap->prev_status = read_zsreg(uap, R0); in __pmz_startup()
/drivers/net/wireless/b43legacy/
Dmain.c2617 int prev_status; in b43legacy_switch_phymode() local
2633 prev_status = b43legacy_status(down_dev); in b43legacy_switch_phymode()
2635 if (prev_status >= B43legacy_STAT_STARTED) in b43legacy_switch_phymode()
2637 if (prev_status >= B43legacy_STAT_INITIALIZED) in b43legacy_switch_phymode()
2647 if (prev_status >= B43legacy_STAT_INITIALIZED) { in b43legacy_switch_phymode()
2656 if (prev_status >= B43legacy_STAT_STARTED) { in b43legacy_switch_phymode()
2666 B43legacy_WARN_ON(b43legacy_status(up_dev) != prev_status); in b43legacy_switch_phymode()
3590 int prev_status; in b43legacy_chip_reset() local
3594 prev_status = b43legacy_status(dev); in b43legacy_chip_reset()
3596 if (prev_status >= B43legacy_STAT_STARTED) in b43legacy_chip_reset()
[all …]
/drivers/usb/serial/
Dcypress_m8.c129 char prev_status, diff_status; /* used for TIOCMIWAIT */ member
1250 if (priv->current_status != priv->prev_status) { in cypress_read_int_callback()
1252 priv->prev_status; in cypress_read_int_callback()
1254 priv->prev_status = priv->current_status; in cypress_read_int_callback()
Dftdi_sio.c78 char prev_status; /* Used for TIOCMIWAIT */ member
2049 if (status != priv->prev_status) { in ftdi_process_packet()
2050 char diff_status = status ^ priv->prev_status; in ftdi_process_packet()
2062 priv->prev_status = status; in ftdi_process_packet()
/drivers/staging/usbip/
Dvhci_hcd.c95 static void dump_port_status_diff(u32 prev_status, u32 new_status) in dump_port_status_diff() argument
100 pr_debug("status prev -> new: %08x -> %08x\n", prev_status, new_status); in dump_port_status_diff()
102 u32 prev = prev_status & bit; in dump_port_status_diff()
/drivers/net/wireless/b43/
Dmain.c3725 int prev_status; in b43_switch_band() local
3763 prev_status = b43_status(down_dev); in b43_switch_band()
3765 if (prev_status >= B43_STAT_STARTED) in b43_switch_band()
3767 if (prev_status >= B43_STAT_INITIALIZED) in b43_switch_band()
3778 if (prev_status >= B43_STAT_INITIALIZED) { in b43_switch_band()
3787 if (prev_status >= B43_STAT_STARTED) { in b43_switch_band()
3797 B43_WARN_ON(b43_status(up_dev) != prev_status); in b43_switch_band()
4990 int prev_status; in b43_chip_reset() local
4994 prev_status = b43_status(dev); in b43_chip_reset()
4996 if (prev_status >= B43_STAT_STARTED) { in b43_chip_reset()
[all …]
/drivers/power/
Dab8500_charger.c1791 bool prev_status; in ab8500_charger_check_usbchargernotok_work() local
1803 prev_status = di->flags.usbchargernotok; in ab8500_charger_check_usbchargernotok_work()
1815 if (prev_status != di->flags.usbchargernotok) in ab8500_charger_check_usbchargernotok_work()
/drivers/staging/serqt_usb2/
Dserqt_usb2.c183 char prev_status, diff_status; member