| /OK3568_Linux_fs/kernel/include/linux/iio/ |
| H A D | consumer.h | 23 struct iio_channel { struct 39 struct iio_channel *iio_channel_get(struct device *dev, argument 46 void iio_channel_release(struct iio_channel *chan); 64 struct iio_channel *devm_iio_channel_get(struct device *dev, 75 struct iio_channel *iio_channel_get_all(struct device *dev); 81 void iio_channel_release_all(struct iio_channel *chan); 98 struct iio_channel *devm_iio_channel_get_all(struct device *dev); 154 struct iio_channel 177 int iio_read_channel_raw(struct iio_channel *chan, 191 int iio_read_channel_average_raw(struct iio_channel *chan, int *val); [all …]
|
| /OK3568_Linux_fs/kernel/drivers/iio/ |
| H A D | inkern.c | 123 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_sys(const char *name, in iio_channel_get_sys() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/power/supply/ |
| H A D | axp288_fuel_gauge.c | 115 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_VOLT], &raw_val); in fuel_gauge_get_vbatt() 394 ret = iio_read_channel_raw(info->iio_channel[BAT_D_CURR], &discharge); in fuel_gauge_get_current() [all …]
|
| H 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()
|
| H 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()
|
| H A D | cpcap-charger.c | 138 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 D | lego_ev3_battery.c | 28 struct iio_channel *iio_v; 29 struct iio_channel *iio_i;
|
| H 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;
|
| H 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()
|
| H A D | axp20x_battery.c | 72 struct iio_channel *batt_chrg_i; 73 struct iio_channel *batt_dischrg_i; 74 struct iio_channel *batt_v;
|
| H A D | cpcap-battery.c | 129 struct iio_channel *channels[CPCAP_BATTERY_IIO_NR]; 166 struct iio_channel *channel; in cpcap_charger_battery_temperature() 185 struct iio_channel *channel; in cpcap_battery_get_voltage() 201 struct iio_channel *channel; in cpcap_battery_get_current()
|
| H A D | axp20x_ac_power.c | 45 struct iio_channel *acin_v; 46 struct iio_channel *acin_i;
|
| H A D | axp20x_usb_power.c | 67 struct iio_channel *vbus_v; 68 struct iio_channel *vbus_i;
|
| /OK3568_Linux_fs/kernel/include/linux/platform_data/ |
| H A D | ntc_thermistor.h | 11 struct iio_channel; 45 struct iio_channel *chan;
|
| /OK3568_Linux_fs/kernel/drivers/iio/buffer/ |
| H A D | industrialio-buffer-cb.c | 18 struct iio_channel *channels; 55 struct iio_channel *chan; in iio_channel_get_all_cb() 135 struct iio_channel
|
| H A D | industrialio-hw-consumer.c | 24 struct iio_channel *channels; 87 struct iio_channel *chan; in iio_hw_consumer_alloc()
|
| /OK3568_Linux_fs/kernel/drivers/hwmon/ |
| H A D | iio_hwmon.c | 27 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()
|
| H A D | ab8500.c | 47 struct iio_channel *aux1; 48 struct iio_channel *aux2;
|
| /OK3568_Linux_fs/kernel/drivers/input/touchscreen/ |
| H 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()
|
| H A D | resistive-adc-touch.c | 37 struct iio_channel *iio_chans; 102 struct iio_channel *chan; in grts_probe()
|
| /OK3568_Linux_fs/kernel/drivers/iio/adc/ |
| H A D | gpio_muxadc.c | 55 struct iio_channel *adc_chans; 64 struct iio_channel *saradc_chan; in gpio_muxadc_chan_read_by_index()
|
| /OK3568_Linux_fs/kernel/drivers/headset_observe/ |
| H A D | rk_headset.h | 26 struct iio_channel *chan;
|
| /OK3568_Linux_fs/kernel/drivers/iio/afe/ |
| H A D | iio-rescale.c | 29 struct iio_channel *source; 271 struct iio_channel *source; in rescale_probe()
|
| /OK3568_Linux_fs/kernel/drivers/iio/multiplexer/ |
| H A D | iio-mux.c | 31 struct iio_channel *parent; 342 struct iio_channel *parent; in mux_probe()
|
| /OK3568_Linux_fs/kernel/drivers/thermal/ |
| H A D | thermal-generic-adc.c | 19 struct iio_channel *channel;
|