Lines Matching full:odr
46 const void **timestamp, unsigned int *odr) in inv_icm42600_fifo_decode_packet() argument
58 *odr = 0; in inv_icm42600_fifo_decode_packet()
62 /* handle odr flags */ in inv_icm42600_fifo_decode_packet()
63 *odr = 0; in inv_icm42600_fifo_decode_packet()
65 *odr |= INV_ICM42600_SENSOR_GYRO; in inv_icm42600_fifo_decode_packet()
67 *odr |= INV_ICM42600_SENSOR_ACCEL; in inv_icm42600_fifo_decode_packet()
106 period_gyro = inv_icm42600_odr_to_period(st->conf.gyro.odr); in inv_icm42600_buffer_update_fifo_period()
111 period_accel = inv_icm42600_odr_to_period(st->conf.accel.odr); in inv_icm42600_buffer_update_fifo_period()
191 * value. Latency depends on watermark and ODR. It requires several steps:
215 /* compute sensors latency, depending on sensor watermark and odr */ in inv_icm42600_buffer_update_watermark()
218 /* use us for odr to avoid overflow using 32 bits values */ in inv_icm42600_buffer_update_watermark()
219 period_gyro = inv_icm42600_odr_to_period(st->conf.gyro.odr) / 1000UL; in inv_icm42600_buffer_update_watermark()
220 period_accel = inv_icm42600_odr_to_period(st->conf.accel.odr) / 1000UL; in inv_icm42600_buffer_update_watermark()
463 unsigned int odr; in inv_icm42600_buffer_fifo_read() local
501 &accel, &gyro, &temp, ×tamp, &odr); in inv_icm42600_buffer_fifo_read()