Searched refs:accel_scale (Results 1 – 4 of 4) 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()602 *vals = (const int *)data->chip->accel_scale; in sca3300_read_avail()
28 struct adxl355_fractional_type accel_scale; member
95 .accel_scale = {120 .accel_scale = {525 *val = data->chip_info->accel_scale.integer; in adxl355_read_raw()526 *val2 = data->chip_info->accel_scale.decimal; in adxl355_read_raw()
40 static const int accel_scale[] = {598, 1196, 2392, 4785}; variable770 *val2 = accel_scale[st->chip_config.accl_fs]; in inv_mpu6050_read_raw()863 for (i = 0; i < ARRAY_SIZE(accel_scale); ++i) { in inv_mpu6050_write_accel_scale()864 if (accel_scale[i] == val2) { in inv_mpu6050_write_accel_scale()