Lines Matching refs:ext_info
35 struct iio_chan_spec_ext_info *ext_info; member
57 if (chan->ext_info) { in iio_mux_select()
58 for (i = 0; chan->ext_info[i].name; ++i) { in iio_mux_select()
59 const char *attr = chan->ext_info[i].name; in iio_mux_select()
190 mux->ext_info[private].name, in mux_read_ext_info()
224 mux->ext_info[private].name, in mux_write_ext_info()
255 chan->ext_info = mux->ext_info; in mux_configure_channel()
294 if (!pchan->ext_info[i].write) in mux_configure_channel()
296 if (!pchan->ext_info[i].read) in mux_configure_channel()
300 mux->ext_info[i].name, in mux_configure_channel()
304 pchan->ext_info[i].name); in mux_configure_channel()
309 pchan->ext_info[i].name); in mux_configure_channel()
351 sizeof_ext_info *= sizeof(*mux->ext_info); in mux_probe()
403 mux->ext_info = devm_kmemdup(dev, in mux_probe()
404 parent->channel->ext_info, in mux_probe()
406 if (!mux->ext_info) in mux_probe()
409 for (i = 0; mux->ext_info[i].name; ++i) { in mux_probe()
410 if (parent->channel->ext_info[i].read) in mux_probe()
411 mux->ext_info[i].read = mux_read_ext_info; in mux_probe()
412 if (parent->channel->ext_info[i].write) in mux_probe()
413 mux->ext_info[i].write = mux_write_ext_info; in mux_probe()
414 mux->ext_info[i].private = i; in mux_probe()