Lines Matching refs:ext_info
34 struct iio_chan_spec_ext_info *ext_info; member
56 if (chan->ext_info) { in iio_mux_select()
57 for (i = 0; chan->ext_info[i].name; ++i) { in iio_mux_select()
58 const char *attr = chan->ext_info[i].name; in iio_mux_select()
189 mux->ext_info[private].name, in mux_read_ext_info()
223 mux->ext_info[private].name, in mux_write_ext_info()
254 chan->ext_info = mux->ext_info; in mux_configure_channel()
293 if (!pchan->ext_info[i].write) in mux_configure_channel()
295 if (!pchan->ext_info[i].read) in mux_configure_channel()
299 mux->ext_info[i].name, in mux_configure_channel()
303 pchan->ext_info[i].name); in mux_configure_channel()
308 pchan->ext_info[i].name); in mux_configure_channel()
366 sizeof_ext_info *= sizeof(*mux->ext_info); in mux_probe()
406 mux->ext_info = devm_kmemdup(dev, in mux_probe()
407 parent->channel->ext_info, in mux_probe()
409 if (!mux->ext_info) in mux_probe()
412 for (i = 0; mux->ext_info[i].name; ++i) { in mux_probe()
413 if (parent->channel->ext_info[i].read) in mux_probe()
414 mux->ext_info[i].read = mux_read_ext_info; in mux_probe()
415 if (parent->channel->ext_info[i].write) in mux_probe()
416 mux->ext_info[i].write = mux_write_ext_info; in mux_probe()
417 mux->ext_info[i].private = i; in mux_probe()