Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/imu/inv_icm42600/
H A Dinv_icm42600_gyro.c198 static const int inv_icm42600_gyro_scale[] = { variable
232 *val = inv_icm42600_gyro_scale[2 * idx]; in inv_icm42600_gyro_read_scale()
233 *val2 = inv_icm42600_gyro_scale[2 * idx + 1]; in inv_icm42600_gyro_read_scale()
245 for (idx = 0; idx < ARRAY_SIZE(inv_icm42600_gyro_scale); idx += 2) { in inv_icm42600_gyro_write_scale()
246 if (val == inv_icm42600_gyro_scale[idx] && in inv_icm42600_gyro_write_scale()
247 val2 == inv_icm42600_gyro_scale[idx + 1]) in inv_icm42600_gyro_write_scale()
250 if (idx >= ARRAY_SIZE(inv_icm42600_gyro_scale)) in inv_icm42600_gyro_write_scale()
598 *vals = inv_icm42600_gyro_scale; in inv_icm42600_gyro_read_avail()
600 *length = ARRAY_SIZE(inv_icm42600_gyro_scale); in inv_icm42600_gyro_read_avail()