Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/iio/imu/inv_icm42600/
Dinv_icm42600_gyro.c201 static const int inv_icm42600_gyro_scale[] = { variable
235 *val = inv_icm42600_gyro_scale[2 * idx]; in inv_icm42600_gyro_read_scale()
236 *val2 = inv_icm42600_gyro_scale[2 * idx + 1]; in inv_icm42600_gyro_read_scale()
248 for (idx = 0; idx < ARRAY_SIZE(inv_icm42600_gyro_scale); idx += 2) { in inv_icm42600_gyro_write_scale()
249 if (val == inv_icm42600_gyro_scale[idx] && in inv_icm42600_gyro_write_scale()
250 val2 == inv_icm42600_gyro_scale[idx + 1]) in inv_icm42600_gyro_write_scale()
253 if (idx >= ARRAY_SIZE(inv_icm42600_gyro_scale)) in inv_icm42600_gyro_write_scale()
601 *vals = inv_icm42600_gyro_scale; in inv_icm42600_gyro_read_avail()
603 *length = ARRAY_SIZE(inv_icm42600_gyro_scale); in inv_icm42600_gyro_read_avail()