Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/iio/test/
Diio-test-rescale.c25 const int schan_off; member
490 .schan_off = 14,
499 .schan_off = 14,
508 .schan_off = 14,
517 .schan_off = 14,
526 .schan_off = 14,
535 .schan_off = 14,
544 .schan_off = 14,
553 .schan_off = 14,
562 .schan_off = 14,
[all …]
/Linux-v6.6/drivers/iio/afe/
Diio-rescale.c113 int scale, int scale2, int schan_off, in rescale_process_offset() argument
121 *val = div_s64(tmp, scale) + schan_off; in rescale_process_offset()
124 *val = div_s64(rescale->offset, scale) + schan_off; in rescale_process_offset()
128 *val = div_s64(tmp, scale) + schan_off; in rescale_process_offset()
133 *val = div64_s64(tmp, tmp2) + schan_off; in rescale_process_offset()
138 *val = div64_s64(tmp, tmp2) + schan_off; in rescale_process_offset()
152 int schan_off = 0; in rescale_read_raw() local
212 &schan_off, NULL); in rescale_read_raw()
221 schan_off, val, val2); in rescale_read_raw()
229 schan_off, val, val2); in rescale_read_raw()
/Linux-v6.6/include/linux/iio/afe/
Drescale.h34 int scale, int scale2, int schan_off,