Lines Matching refs:num_scales
335 cs->num_scales = ARRAY_SIZE(ad7606_16bit_hw_scale_avail); in ad7606_16bit_chan_scale_setup()
343 cs->num_scales = ARRAY_SIZE(ad7606_16bit_sw_scale_avail); in ad7606_16bit_chan_scale_setup()
412 cs->num_scales = ARRAY_SIZE(ad7606_18bit_hw_scale_avail); in ad7606c_18bit_chan_scale_setup()
422 cs->num_scales = in ad7606c_18bit_chan_scale_setup()
437 cs->num_scales = in ad7606c_18bit_chan_scale_setup()
448 cs->num_scales = in ad7606c_18bit_chan_scale_setup()
468 cs->num_scales = ARRAY_SIZE(ad7606_16bit_hw_scale_avail); in ad7606c_16bit_chan_scale_setup()
478 cs->num_scales = in ad7606c_16bit_chan_scale_setup()
494 cs->num_scales = in ad7606c_16bit_chan_scale_setup()
505 cs->num_scales = in ad7606c_16bit_chan_scale_setup()
522 cs->num_scales = ARRAY_SIZE(ad7607_hw_scale_avail); in ad7607_chan_scale_setup()
533 cs->num_scales = ARRAY_SIZE(ad7606_18bit_hw_scale_avail); in ad7608_chan_scale_setup()
544 cs->num_scales = ARRAY_SIZE(ad7609_hw_scale_avail); in ad7609_chan_scale_setup()
787 for (i = 0; i < cs->num_scales; i++) in in_voltage_scale_available_show()
841 for (i = 0; i < cs->num_scales; i++) { in ad7606_write_raw()
846 i = find_closest(val, scale_avail_uv, cs->num_scales); in ad7606_write_raw()
1042 *length = cs->num_scales; in ad7606_read_avail()