Home
last modified time | relevance | path

Searched refs:iio_chan_spec (Results 1 – 25 of 456) sorted by relevance

12345678910>>...19

/openbmc/linux/include/linux/iio/
H A Diio.h35 struct iio_chan_spec;
137 const struct iio_chan_spec *chan);
241 struct iio_chan_spec { struct
458 struct iio_chan_spec const *chan,
464 struct iio_chan_spec const *chan,
471 struct iio_chan_spec const *chan,
478 struct iio_chan_spec const *chan,
484 struct iio_chan_spec const *chan,
488 struct iio_chan_spec const *chan,
503 const struct iio_chan_spec *chan,
[all …]
/openbmc/linux/drivers/iio/potentiometer/
H A Dds1803.c38 const struct iio_chan_spec *channels;
41 struct iio_chan_spec const *chan, int *val);
60 static const struct iio_chan_spec ds1803_channels[] = {
65 static const struct iio_chan_spec ds3502_channels[] = {
70 struct iio_chan_spec const *chan, in ds1803_read()
86 struct iio_chan_spec const *chan, in ds3502_read()
136 struct iio_chan_spec const *chan, in ds1803_read_raw()
160 struct iio_chan_spec const *chan, in ds1803_write_raw()
183 struct iio_chan_spec const *chan, in ds1803_read_avail()
/openbmc/linux/drivers/iio/proximity/
H A Dsx_common.h48 const struct iio_chan_spec *chan, __be16 *val);
92 const struct iio_chan_spec *iio_channels;
138 const struct iio_chan_spec *chan, int *val);
141 const struct iio_chan_spec *chan,
145 const struct iio_chan_spec *chan,
/openbmc/linux/drivers/iio/adc/
H A Dxilinx-xadc-events.c15 static const struct iio_chan_spec *xadc_event_to_channel( in xadc_event_to_channel()
32 const struct iio_chan_spec *chan; in xadc_handle_event()
70 static unsigned int xadc_get_threshold_offset(const struct iio_chan_spec *chan, in xadc_get_threshold_offset()
90 static unsigned int xadc_get_alarm_mask(const struct iio_chan_spec *chan) in xadc_get_alarm_mask()
114 const struct iio_chan_spec *chan, enum iio_event_type type, in xadc_read_event_config()
123 const struct iio_chan_spec *chan, enum iio_event_type type, in xadc_write_event_config()
159 const struct iio_chan_spec *chan, enum iio_event_type type, in xadc_read_event_value()
184 const struct iio_chan_spec *chan, enum iio_event_type type, in xadc_write_event_value()
H A Daxp20x_adc.c161 static const struct iio_chan_spec axp20x_adc_channels[] = {
194 static const struct iio_chan_spec axp22x_adc_channels[] = {
213 static const struct iio_chan_spec axp813_adc_channels[] = {
235 struct iio_chan_spec const *chan, int *val) in axp20x_adc_raw()
259 struct iio_chan_spec const *chan, int *val) in axp22x_adc_raw()
273 struct iio_chan_spec const *chan, int *val) in axp813_adc_raw()
477 struct iio_chan_spec const *chan, int *val) in axp20x_adc_offset()
493 struct iio_chan_spec const *chan, int *val, in axp20x_read_raw()
512 struct iio_chan_spec const *chan, int *val, in axp22x_read_raw()
533 struct iio_chan_spec const *chan, int *val, in axp813_read_raw()
[all …]
H A Dmax77541-adc.c30 struct iio_chan_spec const *chan, in max77541_adc_offset()
43 struct iio_chan_spec const *chan, in max77541_adc_scale()
87 struct iio_chan_spec const *chan, in max77541_adc_raw()
123 static const struct iio_chan_spec max77541_adc_channels[] = {
135 struct iio_chan_spec const *chan, in max77541_adc_read_raw()
H A Dti-adc128s052.c21 const struct iio_chan_spec *channels;
60 struct iio_chan_spec const *channel, int *val, in adc128_read_raw()
101 static const struct iio_chan_spec adc128s052_channels[] = {
112 static const struct iio_chan_spec adc122s021_channels[] = {
117 static const struct iio_chan_spec adc124s021_channels[] = {
/openbmc/linux/drivers/iio/magnetometer/
H A Dst_magn_core.c59 const struct iio_chan_spec *chan) in st_magn_get_mount_matrix()
71 static const struct iio_chan_spec st_magn_16bit_channels[] = {
90 static const struct iio_chan_spec st_magn_2_16bit_channels[] = {
109 static const struct iio_chan_spec st_magn_3_16bit_channels[] = {
128 static const struct iio_chan_spec st_magn_4_16bit_channels[] = {
151 .ch = (struct iio_chan_spec *)st_magn_16bit_channels,
230 .ch = (struct iio_chan_spec *)st_magn_16bit_channels,
310 .ch = (struct iio_chan_spec *)st_magn_2_16bit_channels,
383 .ch = (struct iio_chan_spec *)st_magn_3_16bit_channels,
432 .ch = (struct iio_chan_spec *)st_magn_4_16bit_channels,
[all …]
/openbmc/linux/drivers/iio/dummy/
H A Diio_simple_dummy.h55 const struct iio_chan_spec *chan,
60 const struct iio_chan_spec *chan,
66 const struct iio_chan_spec *chan,
73 const struct iio_chan_spec *chan,
/openbmc/linux/drivers/iio/dac/
H A Dti-dac7311.c82 const struct iio_chan_spec *chan) in ti_dac_get_powerdown_mode()
90 const struct iio_chan_spec *chan, in ti_dac_set_powerdown_mode()
108 const struct iio_chan_spec *chan, in ti_dac_read_powerdown()
118 const struct iio_chan_spec *chan, in ti_dac_write_powerdown()
162 static const struct iio_chan_spec ti_dac_channels[] = {
167 struct iio_chan_spec const *chan, in ti_dac_read_raw()
192 struct iio_chan_spec const *chan, in ti_dac_write_raw()
225 struct iio_chan_spec const *chan, long mask) in ti_dac_write_raw_get_fmt()
H A Dti-dac082s085.c80 const struct iio_chan_spec *chan) in ti_dac_get_powerdown_mode()
88 const struct iio_chan_spec *chan, in ti_dac_set_powerdown_mode()
119 const struct iio_chan_spec *chan, in ti_dac_read_powerdown()
129 const struct iio_chan_spec *chan, in ti_dac_write_powerdown()
179 static const struct iio_chan_spec ti_dac_channels[] = {
187 struct iio_chan_spec const *chan, in ti_dac_read_raw()
217 struct iio_chan_spec const *chan, in ti_dac_write_raw()
249 struct iio_chan_spec const *chan, long mask) in ti_dac_write_raw_get_fmt()
H A Dmax5821.c55 const struct iio_chan_spec *chan) in max5821_get_powerdown_mode()
63 const struct iio_chan_spec *chan, in max5821_set_powerdown_mode()
82 const struct iio_chan_spec *chan, in max5821_read_dac_powerdown()
91 const struct iio_chan_spec *chan) in max5821_sync_powerdown_mode()
112 const struct iio_chan_spec *chan, in max5821_write_dac_powerdown()
154 static const struct iio_chan_spec max5821_channels[] = {
238 struct iio_chan_spec const *chan, in max5821_read_raw()
256 struct iio_chan_spec const *chan, in max5821_write_raw()
H A Dad5686.c29 const struct iio_chan_spec *chan) in ad5686_get_powerdown_mode()
37 const struct iio_chan_spec *chan, in ad5686_set_powerdown_mode()
56 uintptr_t private, const struct iio_chan_spec *chan, char *buf) in ad5686_read_dac_powerdown()
66 const struct iio_chan_spec *chan, in ad5686_write_dac_powerdown()
120 struct iio_chan_spec const *chan, in ad5686_read_raw()
147 struct iio_chan_spec const *chan, in ad5686_write_raw()
209 static const struct iio_chan_spec name[] = { \
214 static const struct iio_chan_spec name[] = { \
220 static const struct iio_chan_spec name[] = { \
228 static const struct iio_chan_spec name[] = { \
[all …]
H A Dad5624r_spi.c46 struct iio_chan_spec const *chan, in ad5624r_read_raw()
63 struct iio_chan_spec const *chan, in ad5624r_write_raw()
91 const struct iio_chan_spec *chan) in ad5624r_get_powerdown_mode()
99 const struct iio_chan_spec *chan, unsigned int mode) in ad5624r_set_powerdown_mode()
116 uintptr_t private, const struct iio_chan_spec *chan, char *buf) in ad5624r_read_dac_powerdown()
125 uintptr_t private, const struct iio_chan_spec *chan, const char *buf, in ad5624r_write_dac_powerdown()
184 const struct iio_chan_spec _name##_channels[] = { \
H A Dmax5522.c29 const struct iio_chan_spec *channels;
55 static const struct iio_chan_spec max5522_channels[] = {
72 static inline int max5522_info_to_reg(struct iio_chan_spec const *chan) in max5522_info_to_reg()
78 struct iio_chan_spec const *chan, in max5522_read_raw()
103 struct iio_chan_spec const *chan, in max5522_write_raw()
H A Dad5380.c41 struct iio_chan_spec channel_template;
82 uintptr_t private, const struct iio_chan_spec *chan, char *buf) in ad5380_read_dac_powerdown()
90 uintptr_t private, const struct iio_chan_spec *chan, const char *buf, in ad5380_write_dac_powerdown()
121 const struct iio_chan_spec *chan) in ad5380_get_powerdown_mode()
137 const struct iio_chan_spec *chan, unsigned int mode) in ad5380_set_powerdown_mode()
156 static unsigned int ad5380_info_to_reg(struct iio_chan_spec const *chan, in ad5380_info_to_reg()
174 struct iio_chan_spec const *chan, int val, int val2, long info) in ad5380_write_raw()
203 struct iio_chan_spec const *chan, int *val, int *val2, long info) in ad5380_read_raw()
347 struct iio_chan_spec *channels; in ad5380_alloc_channels()
351 sizeof(struct iio_chan_spec), GFP_KERNEL); in ad5380_alloc_channels()
H A Dad7303.c64 uintptr_t private, const struct iio_chan_spec *chan, char *buf) in ad7303_read_dac_powerdown()
73 uintptr_t private, const struct iio_chan_spec *chan, const char *buf, in ad7303_write_dac_powerdown()
100 struct iio_chan_spec const *chan) in ad7303_get_vref()
114 struct iio_chan_spec const *chan, int *val, int *val2, long info) in ad7303_read_raw()
141 struct iio_chan_spec const *chan, int val, int val2, long mask) in ad7303_write_raw()
196 static const struct iio_chan_spec ad7303_channels[] = {
H A Dad5504.c94 struct iio_chan_spec const *chan, in ad5504_read_raw()
120 struct iio_chan_spec const *chan, in ad5504_write_raw()
144 const struct iio_chan_spec *chan) in ad5504_get_powerdown_mode()
152 const struct iio_chan_spec *chan, unsigned int mode) in ad5504_set_powerdown_mode()
169 uintptr_t private, const struct iio_chan_spec *chan, char *buf) in ad5504_read_dac_powerdown()
178 uintptr_t private, const struct iio_chan_spec *chan, const char *buf, in ad5504_write_dac_powerdown()
264 static const struct iio_chan_spec ad5504_channels[] = {
/openbmc/linux/drivers/iio/accel/
H A Dst_accel_core.c42 const struct iio_chan_spec *chan) in st_accel_get_mount_matrix()
125 .ch = (struct iio_chan_spec *)st_accel_12bit_channels,
207 .ch = (struct iio_chan_spec *)st_accel_12bit_channels,
286 .ch = (struct iio_chan_spec *)st_accel_16bit_channels,
376 .ch = (struct iio_chan_spec *)st_accel_12bit_channels,
449 .ch = (struct iio_chan_spec *)st_accel_8bit_channels,
522 .ch = (struct iio_chan_spec *)st_accel_12bit_channels,
592 .ch = (struct iio_chan_spec *)st_accel_12bit_channels,
650 .ch = (struct iio_chan_spec *)st_accel_8bit_channels,
858 .ch = (struct iio_chan_spec *)st_accel_8bit_channels,
[all …]
/openbmc/linux/drivers/iio/pressure/
H A Dst_pressure_core.c124 static const struct iio_chan_spec st_press_1_channels[] = {
158 static const struct iio_chan_spec st_press_lps001wp_channels[] = {
190 static const struct iio_chan_spec st_press_lps22hb_channels[] = {
236 .ch = (struct iio_chan_spec *)st_press_1_channels,
309 .ch = (struct iio_chan_spec *)st_press_lps001wp_channels,
361 .ch = (struct iio_chan_spec *)st_press_1_channels,
430 .ch = (struct iio_chan_spec *)st_press_lps22hb_channels,
497 .ch = (struct iio_chan_spec *)st_press_lps22hb_channels,
566 .ch = (struct iio_chan_spec *)st_press_lps22hb_channels,
628 struct iio_chan_spec const *ch, in st_press_write_raw()
[all …]
/openbmc/linux/drivers/iio/gyro/
H A Dst_gyro_core.c37 const struct iio_chan_spec *chan) in st_gyro_get_mount_matrix()
49 static const struct iio_chan_spec st_gyro_16bit_channels[] = {
76 .ch = (struct iio_chan_spec *)st_gyro_16bit_channels,
154 .ch = (struct iio_chan_spec *)st_gyro_16bit_channels,
228 .ch = (struct iio_chan_spec *)st_gyro_16bit_channels,
302 .ch = (struct iio_chan_spec *)st_gyro_16bit_channels,
378 struct iio_chan_spec const *ch, int *val, in st_gyro_read_raw()
407 struct iio_chan_spec const *chan, int val, int val2, long mask) in st_gyro_write_raw()
/openbmc/linux/drivers/iio/multiplexer/
H A Diio-mux.c34 struct iio_chan_spec *chan;
43 struct iio_chan_spec const *chan = &mux->chan[idx]; in iio_mux_select()
89 struct iio_chan_spec const *chan, in mux_read_raw()
119 struct iio_chan_spec const *chan, in mux_read_avail()
147 struct iio_chan_spec const *chan, in mux_write_raw()
179 struct iio_chan_spec const *chan, char *buf) in mux_read_ext_info()
199 struct iio_chan_spec const *chan, in mux_write_ext_info()
245 struct iio_chan_spec *chan = &mux->chan[idx]; in mux_configure_channel()
246 struct iio_chan_spec const *pchan = mux->parent->channel; in mux_configure_channel()
387 mux->chan = (struct iio_chan_spec *)(mux->child + children); in mux_probe()
/openbmc/linux/drivers/iio/amplifiers/
H A Dhmc425a.c28 const struct iio_chan_spec *channels;
57 struct iio_chan_spec const *chan, int *val, in hmc425a_read_raw()
89 struct iio_chan_spec const *chan, int val, in hmc425a_write_raw()
127 struct iio_chan_spec const *chan, in hmc425a_write_raw_get_fmt()
153 static const struct iio_chan_spec hmc425a_channels[] = {
/openbmc/linux/drivers/iio/chemical/
H A Datlas-ezo-sensor.c31 const struct iio_chan_spec *channels;
62 static const struct iio_chan_spec atlas_co2_ezo_channels[] = {
66 static const struct iio_chan_spec atlas_o2_ezo_channels[] = {
70 static const struct iio_chan_spec atlas_hum_ezo_channels[] = {
114 struct iio_chan_spec const *chan, in atlas_ezo_read_raw()
/openbmc/linux/drivers/iio/light/
H A Dmax44009.c99 static const struct iio_chan_spec max44009_channels[] = {
150 struct iio_chan_spec const *chan, int val, in max44009_write_raw()
166 struct iio_chan_spec const *chan, in max44009_write_raw_get_fmt()
247 struct iio_chan_spec const *chan, int *val, in max44009_read_raw()
339 const struct iio_chan_spec *chan, in max44009_write_event_value()
398 const struct iio_chan_spec *chan, in max44009_read_event_value()
422 const struct iio_chan_spec *chan, in max44009_write_event_config()
447 const struct iio_chan_spec *chan, in max44009_read_event_config()

12345678910>>...19