Lines Matching refs:iiospec
127 const struct fwnode_reference_args *iiospec) in __fwnode_iio_simple_xlate() argument
129 if (!iiospec->nargs) in __fwnode_iio_simple_xlate()
132 if (iiospec->args[0] >= indio_dev->num_channels) { in __fwnode_iio_simple_xlate()
134 iiospec->args[0]); in __fwnode_iio_simple_xlate()
138 return iiospec->args[0]; in __fwnode_iio_simple_xlate()
144 struct fwnode_reference_args iiospec; in __fwnode_iio_channel_get() local
151 index, &iiospec); in __fwnode_iio_channel_get()
155 idev = bus_find_device_by_fwnode(&iio_bus_type, iiospec.fwnode); in __fwnode_iio_channel_get()
157 fwnode_handle_put(iiospec.fwnode); in __fwnode_iio_channel_get()
164 index = indio_dev->info->fwnode_xlate(indio_dev, &iiospec); in __fwnode_iio_channel_get()
166 index = __fwnode_iio_simple_xlate(indio_dev, &iiospec); in __fwnode_iio_channel_get()
167 fwnode_handle_put(iiospec.fwnode); in __fwnode_iio_channel_get()