Home
last modified time | relevance | path

Searched refs:freq_avail (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/drivers/iio/common/scmi_sensors/
Dscmi_iio.c33 u32 *freq_avail; member
223 *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 …]
/Linux-v6.1/drivers/iio/adc/
Dad7192.c559 unsigned int freq_avail[4], i; in ad7192_show_filter_avail() local
562 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() local
621 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()