Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/iio/gyro/
Dmpu3050-core.c498 u16 fifocnt; in mpu3050_trigger_handler() local
509 fifocnt = be16_to_cpu(raw_fifocnt); in mpu3050_trigger_handler()
511 if (fifocnt == 512) { in mpu3050_trigger_handler()
529 if (fifocnt) in mpu3050_trigger_handler()
532 fifocnt); in mpu3050_trigger_handler()
534 while (!fifo_overflow && fifocnt > bytes_per_datum) { in mpu3050_trigger_handler()
578 fifocnt -= toread; in mpu3050_trigger_handler()
586 if (fifocnt < bytes_per_datum) { in mpu3050_trigger_handler()
593 fifocnt = be16_to_cpu(raw_fifocnt); in mpu3050_trigger_handler()
596 if (fifocnt < bytes_per_datum) in mpu3050_trigger_handler()
[all …]
/linux-6.1.9/drivers/tty/serial/
Dlantiq.c171 unsigned int ch = 0, rsr = 0, fifocnt; in lqasc_rx_chars() local
173 fifocnt = __raw_readl(port->membase + LTQ_ASC_FSTAT) & in lqasc_rx_chars()
175 while (fifocnt--) { in lqasc_rx_chars()
Dsamsung_tty.c769 unsigned int fifocnt = 0; in s3c24xx_serial_rx_drain_fifo() local
777 if (fifocnt == 0) { in s3c24xx_serial_rx_drain_fifo()
779 fifocnt = s3c24xx_serial_rx_fifocnt(ourport, ufstat); in s3c24xx_serial_rx_drain_fifo()
780 if (fifocnt == 0) in s3c24xx_serial_rx_drain_fifo()
783 fifocnt--; in s3c24xx_serial_rx_drain_fifo()
/linux-6.1.9/drivers/scsi/
Ddc395x.c1109 u8 fifocnt = DC395x_read8(acb, TRM_S1040_SCSI_FIFOCNT); in clear_fifo() local
1110 if (!(fifocnt & 0x40)) in clear_fifo()
1113 fifocnt & 0x3f, lines, txt); in clear_fifo()