Searched refs:out_loc (Results 1 – 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/iio/adc/ |
D | dln2-adc.c | 84 unsigned int in_loc, unsigned int out_loc, in dln2_adc_add_demux() argument 91 p->to + p->length == out_loc) { in dln2_adc_add_demux() 96 p->to = out_loc; in dln2_adc_add_demux() 104 unsigned int in_loc = 0, out_loc = 0; in dln2_adc_update_demux() local 128 dln2_adc_add_demux(dln2, in_loc, out_loc, 2); in dln2_adc_update_demux() 129 out_loc += 2; in dln2_adc_update_demux() 136 dln2->ts_pad_offset = out_loc; in dln2_adc_update_demux() 137 dln2->ts_pad_length = ts_offset * sizeof(int64_t) - out_loc; in dln2_adc_update_demux()
|
/kernel/linux/linux-5.10/drivers/iio/ |
D | industrialio-buffer.c | 822 struct iio_demux_table **p, unsigned int in_loc, unsigned int out_loc, in iio_buffer_add_demux() argument 827 (*p)->to + (*p)->length == out_loc) { in iio_buffer_add_demux() 834 (*p)->to = out_loc; in iio_buffer_add_demux() 846 unsigned in_loc = 0, out_loc = 0; in iio_buffer_update_demux() local 876 out_loc = roundup(out_loc, length); in iio_buffer_update_demux() 878 ret = iio_buffer_add_demux(buffer, &p, in_loc, out_loc, length); in iio_buffer_update_demux() 881 out_loc += length; in iio_buffer_update_demux() 887 out_loc = roundup(out_loc, length); in iio_buffer_update_demux() 889 ret = iio_buffer_add_demux(buffer, &p, in_loc, out_loc, length); in iio_buffer_update_demux() 892 out_loc += length; in iio_buffer_update_demux() [all …]
|