Searched refs:scale_table (Results 1 – 4 of 4) sorted by relevance
/drivers/iio/accel/ |
D | bmi088-accel-core.c | 125 const int scale_table[4][2]; member 248 if (val == data->chip_info->scale_table[i][0] && in bmi088_accel_set_scale() 249 val2 == data->chip_info->scale_table[i][1]) in bmi088_accel_set_scale() 358 *val = data->chip_info->scale_table[reg][0]; in bmi088_accel_read_raw() 359 *val2 = data->chip_info->scale_table[reg][1]; in bmi088_accel_read_raw() 395 *vals = (const int *)data->chip_info->scale_table; in bmi088_accel_read_avail() 473 .scale_table = {{0, 598}, {0, 1196}, {0, 2393}, {0, 4785}}, 480 .scale_table = {{0, 897}, {0, 1794}, {0, 3589}, {0, 7178}}, 487 .scale_table = {{0, 897}, {0, 1794}, {0, 3589}, {0, 7178}},
|
D | bmc150-accel-core.c | 157 const struct bmc150_scale_info scale_table[4]; member 621 for (i = 0; i < ARRAY_SIZE(data->chip_info->scale_table); ++i) { in bmc150_accel_set_scale() 622 if (data->chip_info->scale_table[i].scale == val) { in bmc150_accel_set_scale() 625 data->chip_info->scale_table[i].reg_range); in bmc150_accel_set_scale() 631 data->range = data->chip_info->scale_table[i].reg_range; in bmc150_accel_set_scale() 731 int st_size = ARRAY_SIZE(data->chip_info->scale_table); in bmc150_accel_read_raw() 734 si = &data->chip_info->scale_table[i]; in bmc150_accel_read_raw() 1165 .scale_table = { {153229, BMC150_ACCEL_DEF_RANGE_2G}, 1175 .scale_table = { {153229, BMC150_ACCEL_DEF_RANGE_2G}, 1185 .scale_table = { {38307, BMC150_ACCEL_DEF_RANGE_2G}, [all …]
|
D | bma180.c | 48 const int *scale_table; member 293 if (data->part_info->scale_table[i] == val) { in bma180_set_scale() 513 return bma180_show_avail(buf, data->part_info->scale_table, in bma180_show_scale_avail() 760 .scale_table = bma023_scale_table, 789 .scale_table = bma023_scale_table, 817 .scale_table = bma180_scale_table, 844 .scale_table = bma250_scale_table,
|
/drivers/iio/adc/ |
D | ad9467.c | 203 tmp = (info->scale_table[index][0] * 1000000ULL) >> in __ad9467_get_scale() 238 .scale_table = ad9265_scale_table, 250 .scale_table = ad9434_scale_table, 262 .scale_table = ad9467_scale_table, 287 if (vref_val == info->scale_table[i][1]) in ad9467_get_scale() 316 info->scale_table[i][1]); in ad9467_set_scale()
|