Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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.h53 unsigned char prev_status; member
Dpmac_zilog.c339 if ((status ^ uap->prev_status) & DCD) in pmz_status_handle()
342 if ((status ^ uap->prev_status) & CTS) in pmz_status_handle()
352 uap->prev_status = status; in pmz_status_handle()
879 uap->prev_status = read_zsreg(uap, R0); in __pmz_startup()
/kernel/linux/linux-5.10/sound/drivers/
Dserial-u16550.c142 unsigned char prev_status[SNDRV_SERIAL_MAX_OUTS]; member
704 snd_uart16550_output_byte(uart, substream, uart->prev_status[uart->prev_out]); in snd_uart16550_output_write()
716 uart->prev_status[uart->prev_out] = midi_byte; in snd_uart16550_output_write()
817 memset(uart->prev_status, 0x80, sizeof(unsigned char) * SNDRV_SERIAL_MAX_OUTS); in snd_uart16550_create()
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43legacy/
Dmain.c2588 int prev_status; in b43legacy_switch_phymode() local
2604 prev_status = b43legacy_status(down_dev); in b43legacy_switch_phymode()
2606 if (prev_status >= B43legacy_STAT_STARTED) in b43legacy_switch_phymode()
2608 if (prev_status >= B43legacy_STAT_INITIALIZED) in b43legacy_switch_phymode()
2618 if (prev_status >= B43legacy_STAT_INITIALIZED) { in b43legacy_switch_phymode()
2627 if (prev_status >= B43legacy_STAT_STARTED) { in b43legacy_switch_phymode()
2637 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 …]
/kernel/linux/linux-5.10/drivers/usb/serial/
Dcypress_m8.c111 char prev_status; /* used for TIOCMIWAIT */ member
1104 if (priv->current_status != priv->prev_status) { in cypress_read_int_callback()
1105 u8 delta = priv->current_status ^ priv->prev_status; in cypress_read_int_callback()
1120 priv->prev_status = priv->current_status; in cypress_read_int_callback()
Dftdi_sio.c63 char prev_status; /* Used for TIOCMIWAIT */ member
2509 if (status != priv->prev_status) { in ftdi_process_packet()
2510 char diff_status = status ^ priv->prev_status; in ftdi_process_packet()
2530 priv->prev_status = status; in ftdi_process_packet()
/kernel/linux/linux-5.10/drivers/net/wireless/st/cw1200/
Dcw1200.h85 enum cw1200_link_status prev_status; member
Dtxrx.c1284 priv->link_id_db[temp_linkid - 1].prev_status = in cw1200_link_id_reset()
1296 priv->link_id_db[priv->action_linkid - 1].prev_status = in cw1200_link_id_reset()
1442 priv->link_id_db[i].prev_status; in cw1200_link_id_gc_work()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/soundwire/
Dbus.c1641 enum sdw_slave_status prev_status; in sdw_handle_slave_status() local
1711 prev_status = slave->status; in sdw_handle_slave_status()
1714 if (prev_status == SDW_SLAVE_ALERT) in sdw_handle_slave_status()
/kernel/linux/linux-5.10/drivers/power/supply/
Dab8500_charger.c2462 bool prev_status; in ab8500_charger_check_usbchargernotok_work() local
2474 prev_status = di->flags.usbchargernotok; in ab8500_charger_check_usbchargernotok_work()
2486 if (prev_status != di->flags.usbchargernotok) in ab8500_charger_check_usbchargernotok_work()
/kernel/linux/linux-5.10/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()