Home
last modified time | relevance | path

Searched refs:iiospec (Results 1 – 9 of 9) sorted by relevance

/linux-6.12.1/drivers/iio/
Dinkern.c127 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()
[all …]
/linux-6.12.1/drivers/iio/adc/
Dqcom-pm8xxx-xoadc.c697 const struct fwnode_reference_args *iiospec) in pm8xxx_fwnode_xlate() argument
708 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()
Dqcom-spmi-adc5.c407 const struct fwnode_reference_args *iiospec) in adc5_fwnode_xlate() argument
413 if (adc->chan_props[i].channel == iiospec->args[0]) in adc5_fwnode_xlate()
420 const struct fwnode_reference_args *iiospec) in adc7_fwnode_xlate() argument
428 if (v_channel == iiospec->args[0]) in adc7_fwnode_xlate()
Dingenic-adc.c723 const struct fwnode_reference_args *iiospec) in ingenic_adc_fwnode_xlate() argument
727 if (!iiospec->nargs) in ingenic_adc_fwnode_xlate()
731 if (iio_dev->channels[i].channel == iiospec->args[0]) in ingenic_adc_fwnode_xlate()
Dab8500-gpadc.c929 const struct fwnode_reference_args *iiospec) in ab8500_gpadc_fwnode_xlate() argument
934 if (indio_dev->channels[i].channel == iiospec->args[0]) in ab8500_gpadc_fwnode_xlate()
Dqcom-spmi-vadc.c488 const struct fwnode_reference_args *iiospec) in vadc_fwnode_xlate() argument
494 if (vadc->iio_chans[i].channel == iiospec->args[0]) in vadc_fwnode_xlate()
Dat91-sama5d2_adc.c768 const struct fwnode_reference_args *iiospec) in at91_adc_fwnode_xlate() argument
770 return at91_adc_chan_xlate(indio_dev, iiospec->args[0]); in at91_adc_fwnode_xlate()
Dstm32-adc.c1632 const struct fwnode_reference_args *iiospec) in stm32_adc_fwnode_xlate() argument
1637 if (indio_dev->channels[i].channel == iiospec->args[0]) in stm32_adc_fwnode_xlate()
/linux-6.12.1/include/linux/iio/
Diio.h547 const struct fwnode_reference_args *iiospec);