Home
last modified time | relevance | path

Searched refs:fifocnt (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/iio/gyro/
Dmpu3050-core.c490 u16 fifocnt; in mpu3050_trigger_handler() local
501 fifocnt = be16_to_cpu(raw_fifocnt); in mpu3050_trigger_handler()
503 if (fifocnt == 512) { in mpu3050_trigger_handler()
521 if (fifocnt) in mpu3050_trigger_handler()
524 fifocnt); in mpu3050_trigger_handler()
526 while (!fifo_overflow && fifocnt > bytes_per_datum) { in mpu3050_trigger_handler()
567 fifocnt -= toread; in mpu3050_trigger_handler()
575 if (fifocnt < bytes_per_datum) { in mpu3050_trigger_handler()
582 fifocnt = be16_to_cpu(raw_fifocnt); in mpu3050_trigger_handler()
585 if (fifocnt < bytes_per_datum) in mpu3050_trigger_handler()
[all …]
/Linux-v5.4/drivers/tty/serial/
Dlantiq.c166 unsigned int ch = 0, rsr = 0, fifocnt; in lqasc_rx_chars() local
168 fifocnt = __raw_readl(port->membase + LTQ_ASC_FSTAT) & in lqasc_rx_chars()
170 while (fifocnt--) { in lqasc_rx_chars()
Dsamsung.c599 unsigned int fifocnt = 0; in s3c24xx_serial_rx_drain_fifo() local
607 if (fifocnt == 0) { in s3c24xx_serial_rx_drain_fifo()
609 fifocnt = s3c24xx_serial_rx_fifocnt(ourport, ufstat); in s3c24xx_serial_rx_drain_fifo()
610 if (fifocnt == 0) in s3c24xx_serial_rx_drain_fifo()
613 fifocnt--; in s3c24xx_serial_rx_drain_fifo()
/Linux-v5.4/drivers/scsi/
Ddc395x.c1158 u8 fifocnt = DC395x_read8(acb, TRM_S1040_SCSI_FIFOCNT); in clear_fifo() local
1159 if (!(fifocnt & 0x40)) in clear_fifo()
1162 fifocnt & 0x3f, lines, txt); in clear_fifo()