Searched refs:schan_off (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/drivers/iio/test/ |
D | iio-test-rescale.c | 25 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-6.6.21/drivers/iio/afe/ |
D | iio-rescale.c | 113 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-6.6.21/include/linux/iio/afe/ |
D | rescale.h | 34 int scale, int scale2, int schan_off,
|