Lines Matching refs:in_loc
798 struct iio_demux_table **p, unsigned int in_loc, unsigned int out_loc, in iio_buffer_add_demux() argument
802 if (*p && (*p)->from + (*p)->length == in_loc && in iio_buffer_add_demux()
809 (*p)->from = in_loc; in iio_buffer_add_demux()
822 unsigned in_loc = 0, out_loc = 0; in iio_buffer_update_demux() local
849 in_loc = roundup(in_loc, length) + length; in iio_buffer_update_demux()
853 in_loc = roundup(in_loc, length); in iio_buffer_update_demux()
854 ret = iio_buffer_add_demux(buffer, &p, in_loc, out_loc, length); in iio_buffer_update_demux()
858 in_loc += length; in iio_buffer_update_demux()
864 in_loc = roundup(in_loc, length); in iio_buffer_update_demux()
865 ret = iio_buffer_add_demux(buffer, &p, in_loc, out_loc, length); in iio_buffer_update_demux()
869 in_loc += length; in iio_buffer_update_demux()