Searched refs:accel_scale (Results 1 – 2 of 2) sorted by relevance
177 const int (*accel_scale)[2]; member218 .accel_scale = sca3300_accel_scale,234 .accel_scale = scl3300_accel_scale,400 opmode_scale = (int *)chip->accel_scale[chip->accel_scale_map[index]]; in sca3300_set_frequency()402 new_scale = (int *)chip->accel_scale[chip->accel_scale_map[i]]; in sca3300_set_frequency()433 if ((val == data->chip->accel_scale[index][0]) && in sca3300_write_raw()434 (val2 == data->chip->accel_scale[index][1])) in sca3300_write_raw()471 *val = data->chip->accel_scale[index][0]; in sca3300_read_raw()472 *val2 = data->chip->accel_scale[index][1]; in sca3300_read_raw()603 *vals = (const int *)data->chip->accel_scale; in sca3300_read_avail()
34 static const int accel_scale[] = {598, 1196, 2392, 4785}; variable711 *val2 = accel_scale[st->chip_config.accl_fs]; in inv_mpu6050_read_raw()804 for (i = 0; i < ARRAY_SIZE(accel_scale); ++i) { in inv_mpu6050_write_accel_scale()805 if (accel_scale[i] == val2) { in inv_mpu6050_write_accel_scale()