/linux-6.3-rc2/include/linux/iio/ |
A D | consumer.h | 24 struct iio_channel { struct 40 struct iio_channel *iio_channel_get(struct device *dev, argument 47 void iio_channel_release(struct iio_channel *chan); 65 struct iio_channel *devm_iio_channel_get(struct device *dev, 76 struct iio_channel *iio_channel_get_all(struct device *dev); 82 void iio_channel_release_all(struct iio_channel *chan); 184 struct iio_channel 207 int iio_read_channel_raw(struct iio_channel *chan, 314 int iio_read_avail_channel_raw(struct iio_channel *chan, 338 int iio_get_channel_type(struct iio_channel *channel, [all …]
|
/linux-6.3-rc2/drivers/iio/ |
A D | inkern.c | 185 struct iio_channel *channel; in fwnode_iio_channel_get() 206 static struct iio_channel * 209 struct iio_channel *chan; in __fwnode_iio_channel_get_by_name() 261 struct iio_channel *chan; in fwnode_iio_channel_get_by_name() 293 struct iio_channel *chans; in fwnode_iio_channel_get_all() 332 struct iio_channel *channel; in iio_channel_get_sys() 385 struct iio_channel *channel; in iio_channel_get() 415 struct iio_channel *channel; in devm_iio_channel_get() 434 struct iio_channel *channel; in devm_fwnode_iio_channel_get_by_name() 452 struct iio_channel *chans; in iio_channel_get_all() [all …]
|
/linux-6.3-rc2/drivers/power/supply/ |
A D | axp288_fuel_gauge.c | 119 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() 740 info->iio_channel[i] = in axp288_fuel_gauge_probe() 742 if (IS_ERR(info->iio_channel[i])) { in axp288_fuel_gauge_probe() 743 ret = PTR_ERR(info->iio_channel[i]); in axp288_fuel_gauge_probe()
|
A D | rx51_battery.c | 20 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()
|
A D | twl4030_madc_battery.c | 27 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()
|
A D | lego_ev3_battery.c | 28 struct iio_channel *iio_v; 29 struct iio_channel *iio_i;
|
A D | da9150-charger.c | 38 struct iio_channel *ibus_chan; 39 struct iio_channel *vbus_chan; 40 struct iio_channel *tjunc_chan; 41 struct iio_channel *vbat_chan;
|
A D | lp8788-charger.c | 107 struct iio_channel *chan[LP8788_NUM_CHG_ADC]; 235 struct iio_channel *channel = pchg->chan[LP8788_VBATT]; in lp8788_get_vbatt_adc() 290 struct iio_channel *channel = pchg->chan[LP8788_BATT_TEMP]; in lp8788_get_battery_temperature() 569 struct iio_channel *chan; in lp8788_setup_adc_channel()
|
A D | axp20x_battery.c | 73 struct iio_channel *batt_chrg_i; 74 struct iio_channel *batt_dischrg_i; 75 struct iio_channel *batt_v;
|
A D | cpcap-charger.c | 133 struct iio_channel *channels[CPCAP_CHARGER_IIO_NR]; 178 struct iio_channel *channel; in cpcap_charger_get_charge_voltage() 194 struct iio_channel *channel; in cpcap_charger_get_charge_current() 446 struct iio_channel *channel = in cpcap_charger_vbus_valid()
|
A D | axp20x_ac_power.c | 45 struct iio_channel *acin_v; 46 struct iio_channel *acin_i;
|
A D | cpcap-battery.c | 128 struct iio_channel *channels[CPCAP_BATTERY_IIO_NR]; 183 struct iio_channel *channel; in cpcap_charger_battery_temperature() 203 struct iio_channel *channel; in cpcap_battery_get_voltage() 219 struct iio_channel *channel; in cpcap_battery_get_current()
|
A D | ingenic-battery.c | 18 struct iio_channel *channel;
|
A D | axp20x_usb_power.c | 68 struct iio_channel *vbus_v; 69 struct iio_channel *vbus_i;
|
/linux-6.3-rc2/drivers/iio/buffer/ |
A D | industrialio-buffer-cb.c | 18 struct iio_channel *channels; 55 struct iio_channel *chan; in iio_channel_get_all_cb() 140 struct iio_channel
|
A D | industrialio-hw-consumer.c | 24 struct iio_channel *channels; 87 struct iio_channel *chan; in iio_hw_consumer_alloc()
|
/linux-6.3-rc2/drivers/hwmon/ |
A D | iio_hwmon.c | 29 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()
|
A D | ntc_thermistor.c | 341 struct iio_channel *chan; 346 struct iio_channel *channel = data->chan; in ntc_adc_iio_read() 568 struct iio_channel *chan; in ntc_thermistor_parse_props()
|
/linux-6.3-rc2/drivers/input/touchscreen/ |
A D | colibri-vf50-ts.c | 39 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()
|
/linux-6.3-rc2/include/linux/iio/afe/ |
A D | rescale.h | 22 struct iio_channel *source;
|
/linux-6.3-rc2/drivers/thermal/ |
A D | thermal-generic-adc.c | 19 struct iio_channel *channel;
|
/linux-6.3-rc2/drivers/iio/multiplexer/ |
A D | iio-mux.c | 32 struct iio_channel *parent; 332 struct iio_channel *parent; in mux_probe()
|
/linux-6.3-rc2/drivers/input/keyboard/ |
A D | adc-keys.c | 25 struct iio_channel *channel;
|
/linux-6.3-rc2/drivers/extcon/ |
A D | extcon-adc-jack.c | 51 struct iio_channel *chan;
|
/linux-6.3-rc2/drivers/staging/iio/Documentation/ |
A D | inkernel.txt | 41 The consumer first has to obtain an iio_channel structure from the core
|