Searched refs:freq_avail (Results 1 – 2 of 2) sorted by relevance
33 u32 *freq_avail; member223 *vals = sensor->freq_avail; in scmi_iio_read_avail()520 sensor->freq_avail = in scmi_iio_set_sampling_freq_avail()522 sizeof(*sensor->freq_avail) * in scmi_iio_set_sampling_freq_avail()525 if (!sensor->freq_avail) in scmi_iio_set_sampling_freq_avail()533 sensor->freq_avail[0] = hz; in scmi_iio_set_sampling_freq_avail()534 sensor->freq_avail[1] = uhz; in scmi_iio_set_sampling_freq_avail()540 sensor->freq_avail[2] = hz; in scmi_iio_set_sampling_freq_avail()541 sensor->freq_avail[3] = uhz; in scmi_iio_set_sampling_freq_avail()548 sensor->freq_avail[4] = hz; in scmi_iio_set_sampling_freq_avail()[all …]
559 unsigned int freq_avail[4], i; in ad7192_show_filter_avail() local562 ad7192_get_available_filter_freq(st, freq_avail); in ad7192_show_filter_avail()564 for (i = 0; i < ARRAY_SIZE(freq_avail); i++) in ad7192_show_filter_avail()566 "%d.%d ", freq_avail[i] / 1000, in ad7192_show_filter_avail()567 freq_avail[i] % 1000); in ad7192_show_filter_avail()614 int freq_avail[4], i, ret, freq; in ad7192_set_3db_filter_freq() local621 ad7192_get_available_filter_freq(st, freq_avail); in ad7192_set_3db_filter_freq()623 for (i = 0; i < ARRAY_SIZE(freq_avail); i++) { in ad7192_set_3db_filter_freq()624 diff_new = abs(freq - freq_avail[i]); in ad7192_set_3db_filter_freq()