Searched refs:scale_table (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.10/drivers/iio/adc/ |
D | ad9467.c | 202 tmp = (info->scale_table[index][0] * 1000000ULL) >> in __ad9467_get_scale() 236 .scale_table = ad9265_scale_table, 248 .scale_table = ad9434_scale_table, 260 .scale_table = ad9467_scale_table, 282 if (vref_val == info->scale_table[i][1]) in ad9467_get_scale() 310 info->scale_table[i][1]); in ad9467_set_scale()
|
D | adi-axi-adc.c | 252 const unsigned int *s = conv->chip_info->scale_table[i]; in in_voltage_scale_available_show()
|
/Linux-v5.10/drivers/iio/accel/ |
D | bmc150-accel-core.c | 155 const struct bmc150_scale_info scale_table[4]; member 507 for (i = 0; i < ARRAY_SIZE(data->chip_info->scale_table); ++i) { in bmc150_accel_set_scale() 508 if (data->chip_info->scale_table[i].scale == val) { in bmc150_accel_set_scale() 511 data->chip_info->scale_table[i].reg_range); in bmc150_accel_set_scale() 517 data->range = data->chip_info->scale_table[i].reg_range; in bmc150_accel_set_scale() 617 int st_size = ARRAY_SIZE(data->chip_info->scale_table); in bmc150_accel_read_raw() 620 si = &data->chip_info->scale_table[i]; in bmc150_accel_read_raw() 1031 .scale_table = { {9610, BMC150_ACCEL_DEF_RANGE_2G}, 1041 .scale_table = { {9610, BMC150_ACCEL_DEF_RANGE_2G}, 1051 .scale_table = { {9610, BMC150_ACCEL_DEF_RANGE_2G}, [all …]
|
D | bma180.c | 50 const int *scale_table; member 308 if (data->part_info->scale_table[i] == val) { in bma180_set_scale() 529 return bma180_show_avail(buf, data->part_info->scale_table, in bma180_show_scale_avail() 784 .scale_table = bma023_scale_table, 813 .scale_table = bma023_scale_table, 841 .scale_table = bma180_scale_table, 868 .scale_table = bma25x_scale_table, 897 .scale_table = bma25x_scale_table,
|
/Linux-v5.10/include/linux/iio/adc/ |
D | adi-axi-adc.h | 31 const unsigned int (*scale_table)[2]; member
|