Searched refs:in_loc (Results 1 – 2 of 2) sorted by relevance
/linux-4.19.296/drivers/iio/ |
D | industrialio-buffer.c | 807 struct iio_demux_table **p, unsigned int in_loc, unsigned int out_loc, in iio_buffer_add_demux() argument 811 if (*p && (*p)->from + (*p)->length == in_loc && in iio_buffer_add_demux() 818 (*p)->from = in_loc; in iio_buffer_add_demux() 831 unsigned in_loc = 0, out_loc = 0; in iio_buffer_update_demux() local 855 in_loc = roundup(in_loc, length) + length; in iio_buffer_update_demux() 862 in_loc = roundup(in_loc, length); in iio_buffer_update_demux() 863 ret = iio_buffer_add_demux(buffer, &p, in_loc, out_loc, length); in iio_buffer_update_demux() 867 in_loc += length; in iio_buffer_update_demux() 873 in_loc = roundup(in_loc, length); in iio_buffer_update_demux() 874 ret = iio_buffer_add_demux(buffer, &p, in_loc, out_loc, length); in iio_buffer_update_demux() [all …]
|
/linux-4.19.296/drivers/iio/adc/ |
D | dln2-adc.c | 87 unsigned int in_loc, unsigned int out_loc, in dln2_adc_add_demux() argument 93 if (p && p->from + p->length == in_loc && in dln2_adc_add_demux() 98 p->from = in_loc; in dln2_adc_add_demux() 107 unsigned int in_loc = 0, out_loc = 0; in dln2_adc_update_demux() local 130 in_loc += 2; in dln2_adc_update_demux() 131 dln2_adc_add_demux(dln2, in_loc, out_loc, 2); in dln2_adc_update_demux() 133 in_loc += 2; in dln2_adc_update_demux()
|