Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_core.c38 static const int accel_scale[] = {598, 1196, 2392, 4785}; variable
436 *val2 = accel_scale[st->chip_config.accl_fs]; in inv_mpu6050_read_raw()
523 for (i = 0; i < ARRAY_SIZE(accel_scale); ++i) { in inv_mpu6050_write_accel_scale()
524 if (accel_scale[i] == val) { in inv_mpu6050_write_accel_scale()