Searched refs:num_scales (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/drivers/iio/adc/ |
D | ad9467.c | 237 .num_scales = ARRAY_SIZE(ad9265_scale_table), 249 .num_scales = ARRAY_SIZE(ad9434_scale_table), 261 .num_scales = ARRAY_SIZE(ad9467_scale_table), 281 for (i = 0; i < info->num_scales; i++) { in ad9467_get_scale() 286 if (i == info->num_scales) in ad9467_get_scale() 304 for (i = 0; i < info->num_scales; i++) { in ad9467_set_scale()
|
D | ad7606.c | 223 return ad7606_show_avail(buf, st->scale_avail, st->num_scales, true); in in_voltage_scale_available_show() 266 i = find_closest(val2, st->scale_avail, st->num_scales); in ad7606_write_raw() 590 st->num_scales = ARRAY_SIZE(ad7606_scale_avail); in ad7606_probe() 655 st->num_scales = ARRAY_SIZE(ad7616_sw_scale_avail); in ad7606_probe()
|
D | ad7606.h | 102 unsigned int num_scales; member
|
D | adi-axi-adc.c | 240 for (i = 0; i < conv->chip_info->num_scales; i++) { in in_voltage_scale_available_show() 275 if (!conv->chip_info->num_scales) in axi_adc_attr_is_visible()
|
/linux-6.1.9/drivers/iio/accel/ |
D | bma180.c | 49 unsigned int num_scales; member 292 for (i = 0; i < data->part_info->num_scales; ++i) in bma180_set_scale() 514 data->part_info->num_scales, true); in bma180_show_scale_avail() 761 .num_scales = ARRAY_SIZE(bma023_scale_table), 790 .num_scales = ARRAY_SIZE(bma023_scale_table), 818 .num_scales = ARRAY_SIZE(bma180_scale_table), 845 .num_scales = ARRAY_SIZE(bma250_scale_table),
|
/linux-6.1.9/include/linux/iio/adc/ |
D | adi-axi-adc.h | 32 int num_scales; member
|