Home
last modified time | relevance | path

Searched refs:iio_channel (Results 1 - 25 of 92) sorted by relevance

1234

/kernel/linux/linux-5.10/include/linux/iio/
H A Dconsumer.h18 * struct iio_channel - everything needed for a consumer to use a channel
23 struct iio_channel { struct
39 struct iio_channel *iio_channel_get(struct device *dev,
46 void iio_channel_release(struct iio_channel *chan);
64 struct iio_channel *devm_iio_channel_get(struct device *dev,
70 * Returns an array of iio_channel structures terminated with one with
75 struct iio_channel *iio_channel_get_all(struct device *dev);
81 void iio_channel_release_all(struct iio_channel *chan);
89 * otherwise returns an array of iio_channel structures terminated with one with
98 struct iio_channel *devm_iio_channel_get_al
[all...]
/kernel/linux/linux-6.6/include/linux/iio/
H A Dconsumer.h19 * struct iio_channel - everything needed for a consumer to use a channel
24 struct iio_channel { struct
40 struct iio_channel *iio_channel_get(struct device *dev,
47 void iio_channel_release(struct iio_channel *chan);
65 struct iio_channel *devm_iio_channel_get(struct device *dev,
71 * Returns an array of iio_channel structures terminated with one with
76 struct iio_channel *iio_channel_get_all(struct device *dev);
82 void iio_channel_release_all(struct iio_channel *chan);
90 * otherwise returns an array of iio_channel structures terminated with one with
99 struct iio_channel *devm_iio_channel_get_al
[all...]
/kernel/linux/linux-6.6/drivers/iio/
H A Dinkern.c145 static int __fwnode_iio_channel_get(struct iio_channel *channel, in __fwnode_iio_channel_get()
183 static struct iio_channel *fwnode_iio_channel_get(struct fwnode_handle *fwnode, in fwnode_iio_channel_get()
186 struct iio_channel *channel; in fwnode_iio_channel_get()
207 static struct iio_channel *
210 struct iio_channel *chan; in __fwnode_iio_channel_get_by_name()
258 struct iio_channel *fwnode_iio_channel_get_by_name(struct fwnode_handle *fwnode, in fwnode_iio_channel_get_by_name()
262 struct iio_channel *chan; in fwnode_iio_channel_get_by_name()
291 static struct iio_channel *fwnode_iio_channel_get_all(struct device *dev) in fwnode_iio_channel_get_all()
294 struct iio_channel *chans; in fwnode_iio_channel_get_all()
329 static struct iio_channel *iio_channel_get_sy
408 devm_iio_channel_free(void *iio_channel) devm_iio_channel_free() argument
[all...]
/kernel/linux/linux-5.10/drivers/iio/
H A Dinkern.c123 static int __of_iio_channel_get(struct iio_channel *channel, in __of_iio_channel_get()
162 static struct iio_channel *of_iio_channel_get(struct device_node *np, int index) in of_iio_channel_get()
164 struct iio_channel *channel; in of_iio_channel_get()
185 static struct iio_channel *of_iio_channel_get_by_name(struct device_node *np, in of_iio_channel_get_by_name()
188 struct iio_channel *chan = NULL; in of_iio_channel_get_by_name()
225 static struct iio_channel *of_iio_channel_get_all(struct device *dev) in of_iio_channel_get_all()
227 struct iio_channel *chans; in of_iio_channel_get_all()
266 static inline struct iio_channel *
272 static inline struct iio_channel *of_iio_channel_get_all(struct device *dev) in of_iio_channel_get_all()
279 static struct iio_channel *iio_channel_get_sy
[all...]
/kernel/linux/linux-5.10/drivers/power/supply/
H A Daxp288_fuel_gauge.c115 struct iio_channel *iio_channel[IIO_CHANNEL_NUM]; member
279 ret = iio_read_channel_raw(info->iio_channel[BAT_TEMP], &raw_val); in fuel_gauge_debug_show()
282 ret = iio_read_channel_raw(info->iio_channel[PMIC_TEMP], &raw_val); in fuel_gauge_debug_show()
285 ret = iio_read_channel_raw(info->iio_channel[SYSTEM_TEMP], &raw_val); in fuel_gauge_debug_show()
288 ret = iio_read_channel_raw(info->iio_channel[BAT_CHRG_CURR], &raw_val); in fuel_gauge_debug_show()
291 ret = iio_read_channel_raw(info->iio_channel[BAT_D_CURR], &raw_val); in fuel_gauge_debug_show()
294 ret = iio_read_channel_raw(info->iio_channel[BAT_VOLT], &raw_val); in fuel_gauge_debug_show()
359 ret = iio_read_channel_raw(info->iio_channel[BAT_D_CURR], &curr); in fuel_gauge_get_status()
380 ret = iio_read_channel_raw(info->iio_channel[BAT_VOL in fuel_gauge_get_vbatt()
[all...]
H A Drx51_battery.c20 struct iio_channel *channel_temp;
21 struct iio_channel *channel_bsi;
22 struct iio_channel *channel_vbat;
28 static int rx51_battery_read_adc(struct iio_channel *channel) in rx51_battery_read_adc()
H A 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()
H A Dlego_ev3_battery.c28 struct iio_channel *iio_v;
29 struct iio_channel *iio_i;
H A Dcpcap-charger.c138 struct iio_channel *channels[CPCAP_CHARGER_IIO_NR];
183 struct iio_channel *channel; in cpcap_charger_battery_found()
199 struct iio_channel *channel; in cpcap_charger_get_charge_voltage()
215 struct iio_channel *channel; in cpcap_charger_get_charge_current()
413 struct iio_channel *channel = in cpcap_charger_vbus_valid()
H A Dda9150-charger.c38 struct iio_channel *ibus_chan;
39 struct iio_channel *vbus_chan;
40 struct iio_channel *tjunc_chan;
41 struct iio_channel *vbat_chan;
/kernel/linux/linux-5.10/include/linux/platform_data/
H A Dntc_thermistor.h11 struct iio_channel;
36 * chan: iio_channel pointer to communicate with the ADC which the
45 struct iio_channel *chan;
/kernel/linux/linux-6.6/drivers/power/supply/
H A Daxp288_fuel_gauge.c119 struct iio_channel *iio_channel[IIO_CHANNEL_NUM]; member
244 ret = iio_read_channel_raw(info->iio_channel[BAT_VOLT], &info->bat_volt); in fuel_gauge_update_registers()
258 ret = iio_read_channel_raw(info->iio_channel[BAT_CHRG_CURR], &info->c_curr); in fuel_gauge_update_registers()
263 ret = iio_read_channel_raw(info->iio_channel[BAT_D_CURR], &info->d_curr); in fuel_gauge_update_registers()
679 if (!IS_ERR_OR_NULL(info->iio_channel[i])) in axp288_fuel_gauge_release_iio_chans()
680 iio_channel_release(info->iio_channel[i]); in axp288_fuel_gauge_release_iio_chans()
742 info->iio_channel[i] = in axp288_fuel_gauge_probe()
744 if (IS_ERR(info->iio_channel[i])) { in axp288_fuel_gauge_probe()
745 ret = PTR_ERR(info->iio_channel[ in axp288_fuel_gauge_probe()
[all...]
H A Drx51_battery.c20 struct iio_channel *channel_temp;
21 struct iio_channel *channel_bsi;
22 struct iio_channel *channel_vbat;
28 static int rx51_battery_read_adc(struct iio_channel *channel) in rx51_battery_read_adc()
H A 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()
H A Dlego_ev3_battery.c28 struct iio_channel *iio_v;
29 struct iio_channel *iio_i;
H A Dda9150-charger.c36 struct iio_channel *ibus_chan;
37 struct iio_channel *vbus_chan;
38 struct iio_channel *tjunc_chan;
39 struct iio_channel *vbat_chan;
/kernel/linux/linux-5.10/drivers/hwmon/
H A Diio_hwmon.c27 struct iio_channel *channels;
47 struct iio_channel *chan = &state->channels[sattr->index]; in iio_hwmon_read_val()
72 struct iio_channel *channels; in iio_hwmon_probe()
/kernel/linux/linux-5.10/drivers/iio/buffer/
H A Dindustrialio-buffer-cb.c18 struct iio_channel *channels;
55 struct iio_channel *chan; in iio_channel_get_all_cb()
140 struct iio_channel
H A Dindustrialio-hw-consumer.c24 struct iio_channel *channels;
87 struct iio_channel *chan; in iio_hw_consumer_alloc()
/kernel/linux/linux-6.6/drivers/hwmon/
H A Diio_hwmon.c29 struct iio_channel *channels;
49 struct iio_channel *chan = &state->channels[sattr->index]; in iio_hwmon_read_val()
74 struct iio_channel *channels; in iio_hwmon_probe()
/kernel/linux/linux-6.6/drivers/iio/buffer/
H A Dindustrialio-buffer-cb.c18 struct iio_channel *channels;
55 struct iio_channel *chan; in iio_channel_get_all_cb()
140 struct iio_channel
H A Dindustrialio-hw-consumer.c24 struct iio_channel *channels;
87 struct iio_channel *chan; in iio_hw_consumer_alloc()
/kernel/linux/linux-5.10/drivers/input/touchscreen/
H A Dcolibri-vf50-ts.c39 struct iio_channel *channels;
52 static int adc_ts_measure(struct iio_channel *channel, in adc_ts_measure()
256 struct iio_channel *channels = data; in vf50_ts_channel_release()
264 struct iio_channel *channels; in vf50_ts_probe()
H A Dresistive-adc-touch.c37 struct iio_channel *iio_chans;
102 struct iio_channel *chan; in grts_probe()
/kernel/linux/linux-6.6/drivers/input/touchscreen/
H A Dcolibri-vf50-ts.c39 struct iio_channel *channels;
52 static int adc_ts_measure(struct iio_channel *channel, in adc_ts_measure()
256 struct iio_channel *channels = data; in vf50_ts_channel_release()
264 struct iio_channel *channels; in vf50_ts_probe()

Completed in 14 milliseconds

1234