Home
last modified time | relevance | path

Searched refs:iio_channel (Results 1 – 18 of 18) sorted by relevance

/linux-4.4.14/include/linux/iio/
Dconsumer.h26 struct iio_channel { struct
42 struct iio_channel *iio_channel_get(struct device *dev, argument
49 void iio_channel_release(struct iio_channel *chan);
60 struct iio_channel *iio_channel_get_all(struct device *dev);
66 void iio_channel_release_all(struct iio_channel *chan);
111 struct iio_channel
122 int iio_read_channel_raw(struct iio_channel *chan,
136 int iio_read_channel_average_raw(struct iio_channel *chan, int *val);
151 int iio_read_channel_processed(struct iio_channel *chan, int *val);
161 int iio_write_channel_raw(struct iio_channel *chan, int val);
[all …]
/linux-4.4.14/drivers/iio/
Dinkern.c128 static int __of_iio_channel_get(struct iio_channel *channel, in __of_iio_channel_get()
165 static struct iio_channel *of_iio_channel_get(struct device_node *np, int index) in of_iio_channel_get()
167 struct iio_channel *channel; in of_iio_channel_get()
188 static struct iio_channel *of_iio_channel_get_by_name(struct device_node *np, in of_iio_channel_get_by_name()
191 struct iio_channel *chan = NULL; in of_iio_channel_get_by_name()
228 static struct iio_channel *of_iio_channel_get_all(struct device *dev) in of_iio_channel_get_all()
230 struct iio_channel *chans; in of_iio_channel_get_all()
269 static inline struct iio_channel *
275 static inline struct iio_channel *of_iio_channel_get_all(struct device *dev) in of_iio_channel_get_all()
282 static struct iio_channel *iio_channel_get_sys(const char *name, in iio_channel_get_sys()
[all …]
/linux-4.4.14/include/linux/platform_data/
Dntc_thermistor.h24 struct iio_channel;
56 struct iio_channel *chan;
/linux-4.4.14/drivers/power/
Drx51_battery.c34 struct iio_channel *channel_temp;
35 struct iio_channel *channel_bsi;
36 struct iio_channel *channel_vbat;
42 static int rx51_battery_read_adc(struct iio_channel *channel) in rx51_battery_read_adc()
Dtwl4030_madc_battery.c27 struct iio_channel *channel_temp;
28 struct iio_channel *channel_ichg;
29 struct iio_channel *channel_vbat;
45 static int madc_read(struct iio_channel *channel) in madc_read()
Dda9150-charger.c42 struct iio_channel *ibus_chan;
43 struct iio_channel *vbus_chan;
44 struct iio_channel *tjunc_chan;
45 struct iio_channel *vbat_chan;
Dlp8788-charger.c111 struct iio_channel *chan[LP8788_NUM_CHG_ADC];
239 struct iio_channel *channel = pchg->chan[LP8788_VBATT]; in lp8788_get_vbatt_adc()
294 struct iio_channel *channel = pchg->chan[LP8788_BATT_TEMP]; in lp8788_get_battery_temperature()
600 struct iio_channel *chan; in lp8788_setup_adc_channel()
Dgeneric-adc-battery.c49 struct iio_channel *channel[GAB_MAX_CHAN_TYPE];
Dtwl4030_charger.c98 static inline int ac_available(struct iio_channel *channel_vac) in ac_available()
133 struct iio_channel *channel_vac;
Daxp288_fuel_gauge.c195 struct iio_channel *indio_chan; in pmic_read_adc_val()
/linux-4.4.14/drivers/iio/buffer/
Dindustrialio-buffer-cb.c20 struct iio_channel *channels;
56 struct iio_channel *chan; in iio_channel_get_all_cb()
129 struct iio_channel
/linux-4.4.14/drivers/input/touchscreen/
Dcolibri-vf50-ts.c44 struct iio_channel *channels;
57 static int adc_ts_measure(struct iio_channel *channel, in adc_ts_measure()
261 struct iio_channel *channels = data; in vf50_ts_channel_release()
269 struct iio_channel *channels; in vf50_ts_probe()
/linux-4.4.14/drivers/hwmon/
Diio_hwmon.c30 struct iio_channel *channels;
68 struct iio_channel *channels; in iio_hwmon_probe()
Dntc_thermistor.c230 struct iio_channel *channel = pdata->chan; in ntc_adc_iio_read()
282 struct iio_channel *chan; in ntc_thermistor_parse_dt()
/linux-4.4.14/drivers/extcon/
Dextcon-adc-jack.c51 struct iio_channel *chan;
/linux-4.4.14/drivers/acpi/pmic/
Dintel_pmic_xpower.c198 struct iio_channel *gpadc_chan; in intel_xpower_pmic_get_raw_temp()
/linux-4.4.14/drivers/staging/iio/Documentation/
Dinkernel.txt41 The consumer first has to obtain an iio_channel structure from the core
/linux-4.4.14/drivers/thermal/
Dqcom-spmi-temp-alarm.c66 struct iio_channel *adc;