Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/iio/imu/inv_icm42600/
Dinv_icm42600_buffer.c102 uint32_t period_gyro, period_accel, period; in inv_icm42600_buffer_update_fifo_period() local
110 period_accel = inv_icm42600_odr_to_period(st->conf.accel.odr); in inv_icm42600_buffer_update_fifo_period()
112 period_accel = U32_MAX; in inv_icm42600_buffer_update_fifo_period()
114 if (period_gyro <= period_accel) in inv_icm42600_buffer_update_fifo_period()
117 period = period_accel; in inv_icm42600_buffer_update_fifo_period()
206 uint32_t period_gyro, period_accel, period; in inv_icm42600_buffer_update_watermark() local
219 period_accel = inv_icm42600_odr_to_period(st->conf.accel.odr) / 1000UL; in inv_icm42600_buffer_update_watermark()
221 latency_accel = period_accel * wm_accel; in inv_icm42600_buffer_update_watermark()
235 if (period_gyro <= period_accel) in inv_icm42600_buffer_update_watermark()
238 period = period_accel; in inv_icm42600_buffer_update_watermark()