Home
last modified time | relevance | path

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

/linux-6.6.21/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()
720 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()
785 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()
859 uap->prev_status = read_zsreg(uap, R0); in __pmz_startup()
/linux-6.6.21/sound/drivers/
Dserial-u16550.c140 unsigned char prev_status[SNDRV_SERIAL_MAX_OUTS]; member
701 snd_uart16550_output_byte(uart, substream, uart->prev_status[uart->prev_out]); in snd_uart16550_output_write()
713 uart->prev_status[uart->prev_out] = midi_byte; in snd_uart16550_output_write()
797 memset(uart->prev_status, 0x80, sizeof(unsigned char) * SNDRV_SERIAL_MAX_OUTS); in snd_uart16550_create()
/linux-6.6.21/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()
/linux-6.6.21/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()
3559 int prev_status; in b43legacy_chip_reset() local
3563 prev_status = b43legacy_status(dev); in b43legacy_chip_reset()
3565 if (prev_status >= B43legacy_STAT_STARTED) in b43legacy_chip_reset()
[all …]
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/drivers/soundwire/
Dbus.c1846 enum sdw_slave_status prev_status; in sdw_handle_slave_status() local
1936 prev_status = slave->status; in sdw_handle_slave_status()
1939 if (prev_status == SDW_SLAVE_ALERT) in sdw_handle_slave_status()
/linux-6.6.21/drivers/net/wireless/broadcom/b43/
Dmain.c5205 int prev_status; in b43_chip_reset() local
5209 prev_status = b43_status(dev); in b43_chip_reset()
5211 if (prev_status >= B43_STAT_STARTED) { in b43_chip_reset()
5218 if (prev_status >= B43_STAT_INITIALIZED) in b43_chip_reset()
5222 if (prev_status >= B43_STAT_INITIALIZED) { in b43_chip_reset()
5227 if (prev_status >= B43_STAT_STARTED) { in b43_chip_reset()