Lines Matching refs:nb
459 st->fifo.nb.gyro = 0; in inv_icm42600_buffer_fifo_read()
460 st->fifo.nb.accel = 0; in inv_icm42600_buffer_fifo_read()
461 st->fifo.nb.total = 0; in inv_icm42600_buffer_fifo_read()
496 st->fifo.nb.gyro++; in inv_icm42600_buffer_fifo_read()
498 st->fifo.nb.accel++; in inv_icm42600_buffer_fifo_read()
499 st->fifo.nb.total++; in inv_icm42600_buffer_fifo_read()
510 if (st->fifo.nb.total == 0) in inv_icm42600_buffer_fifo_parse()
515 inv_icm42600_timestamp_interrupt(ts, st->fifo.period, st->fifo.nb.total, in inv_icm42600_buffer_fifo_parse()
516 st->fifo.nb.gyro, st->timestamp.gyro); in inv_icm42600_buffer_fifo_parse()
517 if (st->fifo.nb.gyro > 0) { in inv_icm42600_buffer_fifo_parse()
525 inv_icm42600_timestamp_interrupt(ts, st->fifo.period, st->fifo.nb.total, in inv_icm42600_buffer_fifo_parse()
526 st->fifo.nb.accel, st->timestamp.accel); in inv_icm42600_buffer_fifo_parse()
527 if (st->fifo.nb.accel > 0) { in inv_icm42600_buffer_fifo_parse()
550 if (st->fifo.nb.total == 0) in inv_icm42600_buffer_hwfifo_flush()
553 if (st->fifo.nb.gyro > 0) { in inv_icm42600_buffer_hwfifo_flush()
556 st->fifo.nb.total, st->fifo.nb.gyro, in inv_icm42600_buffer_hwfifo_flush()
563 if (st->fifo.nb.accel > 0) { in inv_icm42600_buffer_hwfifo_flush()
566 st->fifo.nb.total, st->fifo.nb.accel, in inv_icm42600_buffer_hwfifo_flush()