Home
last modified time | relevance | path

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

/drivers/input/keyboard/
Ddavinci_keyscan.c111 u32 prev_status, new_status, changed; in davinci_ks_interrupt() local
120 prev_status = __raw_readl(davinci_ks->base + DAVINCI_KEYSCAN_PREVSTATE); in davinci_ks_interrupt()
123 changed = prev_status ^ new_status; in davinci_ks_interrupt()
/drivers/tty/serial/
Dip22zilog.c84 unsigned char prev_status; member
326 if ((status & BRK_ABRT) && !(up->prev_status & BRK_ABRT)) { in ip22zilog_status_handle()
342 if ((status ^ up->prev_status) ^ DCD) in ip22zilog_status_handle()
345 if ((status ^ up->prev_status) ^ CTS) in ip22zilog_status_handle()
352 up->prev_status = status; in ip22zilog_status_handle()
722 up->prev_status = readb(&channel->control); in __ip22zilog_startup()
Dsunzilog.c95 unsigned char prev_status; member
440 if ((status ^ up->prev_status) ^ DCD) in sunzilog_status_handle()
443 if ((status ^ up->prev_status) ^ CTS) in sunzilog_status_handle()
450 up->prev_status = status; in sunzilog_status_handle()
787 up->prev_status = readb(&channel->control); in __sunzilog_startup()
Dpmac_zilog.h52 unsigned char prev_status; member
Dpmac_zilog.c332 if ((status ^ uap->prev_status) & DCD) in pmz_status_handle()
335 if ((status ^ uap->prev_status) & CTS) in pmz_status_handle()
345 uap->prev_status = status; in pmz_status_handle()
861 uap->prev_status = read_zsreg(uap, R0); in __pmz_startup()
/drivers/power/supply/
Dug3105_battery.c182 int prev_status = chip->status; in ug3105_work() local
283 if (chip->status != prev_status && psy) in ug3105_work()
Dab8500_charger.c2465 bool prev_status; in ab8500_charger_check_usbchargernotok_work() local
2477 prev_status = di->flags.usbchargernotok; in ab8500_charger_check_usbchargernotok_work()
2489 if (prev_status != di->flags.usbchargernotok) in ab8500_charger_check_usbchargernotok_work()
/drivers/net/wireless/broadcom/b43legacy/
Dmain.c2589 int prev_status; in b43legacy_switch_phymode() local
2605 prev_status = b43legacy_status(down_dev); in b43legacy_switch_phymode()
2607 if (prev_status >= B43legacy_STAT_STARTED) in b43legacy_switch_phymode()
2609 if (prev_status >= B43legacy_STAT_INITIALIZED) in b43legacy_switch_phymode()
2619 if (prev_status >= B43legacy_STAT_INITIALIZED) { in b43legacy_switch_phymode()
2628 if (prev_status >= B43legacy_STAT_STARTED) { in b43legacy_switch_phymode()
2638 B43legacy_WARN_ON(b43legacy_status(up_dev) != prev_status); in b43legacy_switch_phymode()
3558 int prev_status; in b43legacy_chip_reset() local
3562 prev_status = b43legacy_status(dev); in b43legacy_chip_reset()
3564 if (prev_status >= B43legacy_STAT_STARTED) in b43legacy_chip_reset()
[all …]
/drivers/usb/serial/
Dcypress_m8.c111 char prev_status; /* used for TIOCMIWAIT */ member
1089 if (priv->current_status != priv->prev_status) { in cypress_read_int_callback()
1090 u8 delta = priv->current_status ^ priv->prev_status; in cypress_read_int_callback()
1105 priv->prev_status = priv->current_status; in cypress_read_int_callback()
Dftdi_sio.c80 char prev_status; /* Used for TIOCMIWAIT */ member
2451 if (status != priv->prev_status) { in ftdi_process_packet()
2452 char diff_status = status ^ priv->prev_status; in ftdi_process_packet()
2472 priv->prev_status = status; in ftdi_process_packet()
/drivers/net/wireless/st/cw1200/
Dcw1200.h85 enum cw1200_link_status prev_status; member
Dtxrx.c1280 priv->link_id_db[temp_linkid - 1].prev_status = in cw1200_link_id_reset()
1292 priv->link_id_db[priv->action_linkid - 1].prev_status = in cw1200_link_id_reset()
1438 priv->link_id_db[i].prev_status; in cw1200_link_id_gc_work()
/drivers/usb/usbip/
Dvhci_hcd.c119 static void dump_port_status_diff(u32 prev_status, u32 new_status, bool usb3) in dump_port_status_diff() argument
128 pr_debug("status prev -> new: %08x -> %08x\n", prev_status, new_status); in dump_port_status_diff()
130 u32 prev = prev_status & bit; in dump_port_status_diff()
/drivers/soundwire/
Dbus.c1798 enum sdw_slave_status prev_status; in sdw_handle_slave_status() local
1888 prev_status = slave->status; in sdw_handle_slave_status()
1891 if (prev_status == SDW_SLAVE_ALERT) in sdw_handle_slave_status()
/drivers/net/wireless/broadcom/b43/
Dmain.c5204 int prev_status; in b43_chip_reset() local
5208 prev_status = b43_status(dev); in b43_chip_reset()
5210 if (prev_status >= B43_STAT_STARTED) { in b43_chip_reset()
5217 if (prev_status >= B43_STAT_INITIALIZED) in b43_chip_reset()
5221 if (prev_status >= B43_STAT_INITIALIZED) { in b43_chip_reset()
5226 if (prev_status >= B43_STAT_STARTED) { in b43_chip_reset()