Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/iio/common/inv_sensors/
Dinv_sensors_timestamp.c168 uint32_t fifo_period, size_t fifo_nb, in inv_sensors_timestamp_apply_odr() argument
190 fifo_mult = fifo_period / ts->chip.clock_period; in inv_sensors_timestamp_apply_odr()
191 fifo_period = fifo_mult * ts->chip_period.val; in inv_sensors_timestamp_apply_odr()
193 interval = (int64_t)(fifo_nb - fifo_no) * (int64_t)fifo_period; in inv_sensors_timestamp_apply_odr()
/linux-6.12.1/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_ring.c51 u32 fifo_period; in inv_mpu6050_read_fifo() local
102 fifo_period = NSEC_PER_SEC / INV_MPU6050_DIVIDER_TO_FIFO_RATE(st->chip_config.divider); in inv_mpu6050_read_fifo()
104 inv_sensors_timestamp_apply_odr(&st->timestamp, fifo_period, 1, 0); in inv_mpu6050_read_fifo()
Dinv_mpu_core.c1280 u32 fifo_period; in inv_mpu6050_fifo_rate_store() local
1298 fifo_period = NSEC_PER_SEC / fifo_rate; in inv_mpu6050_fifo_rate_store()
1309 result = inv_sensors_timestamp_update_odr(&st->timestamp, fifo_period, fifo_on); in inv_mpu6050_fifo_rate_store()
/linux-6.12.1/include/linux/iio/common/
Dinv_sensors_timestamp.h83 uint32_t fifo_period, size_t fifo_nb,