Searched refs:iiospec (Results 1 – 9 of 9) sorted by relevance
127 const struct fwnode_reference_args *iiospec) in __fwnode_iio_simple_xlate() argument129 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() local151 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()[all …]
697 const struct fwnode_reference_args *iiospec) in pm8xxx_fwnode_xlate() argument708 if (iiospec->nargs != 2) { in pm8xxx_fwnode_xlate()710 iiospec->fwnode, in pm8xxx_fwnode_xlate()711 iiospec->nargs); in pm8xxx_fwnode_xlate()714 pre_scale_mux = (u8)iiospec->args[0]; in pm8xxx_fwnode_xlate()715 amux_channel = (u8)iiospec->args[1]; in pm8xxx_fwnode_xlate()
407 const struct fwnode_reference_args *iiospec) in adc5_fwnode_xlate() argument413 if (adc->chan_props[i].channel == iiospec->args[0]) in adc5_fwnode_xlate()420 const struct fwnode_reference_args *iiospec) in adc7_fwnode_xlate() argument428 if (v_channel == iiospec->args[0]) in adc7_fwnode_xlate()
723 const struct fwnode_reference_args *iiospec) in ingenic_adc_fwnode_xlate() argument727 if (!iiospec->nargs) in ingenic_adc_fwnode_xlate()731 if (iio_dev->channels[i].channel == iiospec->args[0]) in ingenic_adc_fwnode_xlate()
929 const struct fwnode_reference_args *iiospec) in ab8500_gpadc_fwnode_xlate() argument934 if (indio_dev->channels[i].channel == iiospec->args[0]) in ab8500_gpadc_fwnode_xlate()
488 const struct fwnode_reference_args *iiospec) in vadc_fwnode_xlate() argument494 if (vadc->iio_chans[i].channel == iiospec->args[0]) in vadc_fwnode_xlate()
768 const struct fwnode_reference_args *iiospec) in at91_adc_fwnode_xlate() argument770 return at91_adc_chan_xlate(indio_dev, iiospec->args[0]); in at91_adc_fwnode_xlate()
1632 const struct fwnode_reference_args *iiospec) in stm32_adc_fwnode_xlate() argument1637 if (indio_dev->channels[i].channel == iiospec->args[0]) in stm32_adc_fwnode_xlate()
547 const struct fwnode_reference_args *iiospec);