Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/imu/inv_icm42600/
H A Dinv_icm42600_gyro.c268 static const int inv_icm42600_gyro_odr[] = { variable
313 *val = inv_icm42600_gyro_odr[2 * i]; in inv_icm42600_gyro_read_odr()
314 *val2 = inv_icm42600_gyro_odr[2 * i + 1]; in inv_icm42600_gyro_read_odr()
329 for (idx = 0; idx < ARRAY_SIZE(inv_icm42600_gyro_odr); idx += 2) { in inv_icm42600_gyro_write_odr()
330 if (val == inv_icm42600_gyro_odr[idx] && in inv_icm42600_gyro_write_odr()
331 val2 == inv_icm42600_gyro_odr[idx + 1]) in inv_icm42600_gyro_write_odr()
334 if (idx >= ARRAY_SIZE(inv_icm42600_gyro_odr)) in inv_icm42600_gyro_write_odr()
603 *vals = inv_icm42600_gyro_odr; in inv_icm42600_gyro_read_avail()
605 *length = ARRAY_SIZE(inv_icm42600_gyro_odr); in inv_icm42600_gyro_read_avail()