Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/iio/adc/
Dpac1921.c500 static int pac1921_lookup_scale(const int (*const scales_tbl)[2], size_t size, in pac1921_lookup_scale()
504 if (scales_tbl[i][0] == scale_val && in pac1921_lookup_scale()
505 scales_tbl[i][1] == scale_val2) in pac1921_lookup_scale()
818 static ssize_t pac1921_format_scale_avail(const int (*const scales_tbl)[2], in pac1921_format_scale_avail()
829 len += sysfs_emit_at(buf, len, "%d.%09d", scales_tbl[i][0], in pac1921_format_scale_avail()
830 scales_tbl[i][1]); in pac1921_format_scale_avail()
853 const int (*scales_tbl)[2]; in pac1921_read_scale_avail() local
858 scales_tbl = pac1921_vbus_scales; in pac1921_read_scale_avail()
860 return pac1921_format_scale_avail(scales_tbl, size, buf); in pac1921_read_scale_avail()
863 scales_tbl = pac1921_vsense_scales; in pac1921_read_scale_avail()
[all …]