Home
last modified time | relevance | path

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

12345678910>>...17

/linux/include/linux/iio/
A Diio.h33 struct iio_chan_spec;
134 const struct iio_chan_spec *chan);
235 struct iio_chan_spec { struct
399 struct iio_chan_spec const *chan,
405 struct iio_chan_spec const *chan,
412 struct iio_chan_spec const *chan,
419 struct iio_chan_spec const *chan,
425 struct iio_chan_spec const *chan,
429 struct iio_chan_spec const *chan,
444 const struct iio_chan_spec *chan,
[all …]
/linux/drivers/iio/adc/
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()
A Daxp20x_adc.c160 static const struct iio_chan_spec axp20x_adc_channels[] = {
191 static const struct iio_chan_spec axp22x_adc_channels[] = {
208 static const struct iio_chan_spec axp813_adc_channels[] = {
228 struct iio_chan_spec const *chan, int *val) in axp20x_adc_raw()
251 struct iio_chan_spec const *chan, int *val) in axp22x_adc_raw()
263 struct iio_chan_spec const *chan, int *val) in axp813_adc_raw()
439 struct iio_chan_spec const *chan, int *val) in axp20x_adc_offset()
455 struct iio_chan_spec const *chan, int *val, in axp20x_read_raw()
474 struct iio_chan_spec const *chan, int *val, in axp22x_read_raw()
494 struct iio_chan_spec const *chan, int *val, in axp813_read_raw()
[all …]
A Dti-adc128s052.c22 const struct iio_chan_spec *channels;
61 struct iio_chan_spec const *channel, int *val, in adc128_read_raw()
102 static const struct iio_chan_spec adc128s052_channels[] = {
113 static const struct iio_chan_spec adc122s021_channels[] = {
118 static const struct iio_chan_spec adc124s021_channels[] = {
A Drockchip_saradc.c41 const struct iio_chan_spec *channels;
56 const struct iio_chan_spec *last_chan;
67 struct iio_chan_spec const *chan) in rockchip_saradc_conversion()
89 struct iio_chan_spec const *chan, in rockchip_saradc_read_raw()
153 static const struct iio_chan_spec rockchip_saradc_iio_channels[] = {
165 static const struct iio_chan_spec rockchip_rk3066_tsadc_iio_channels[] = {
176 static const struct iio_chan_spec rockchip_rk3399_saradc_iio_channels[] = {
191 static const struct iio_chan_spec rockchip_rk3568_saradc_iio_channels[] = {
276 const struct iio_chan_spec *chan = &i_dev->channels[i]; in rockchip_saradc_trigger_handler()
/linux/drivers/iio/magnetometer/
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,
309 .ch = (struct iio_chan_spec *)st_magn_2_16bit_channels,
382 .ch = (struct iio_chan_spec *)st_magn_3_16bit_channels,
430 .ch = (struct iio_chan_spec *)st_magn_4_16bit_channels,
[all …]
A Dhmc5843_core.c128 const struct iio_chan_spec *channels;
208 const struct iio_chan_spec *chan) in hmc5843_show_measurement_configuration()
223 const struct iio_chan_spec *chan, in hmc5843_set_measurement_configuration()
233 const struct iio_chan_spec *chan) in hmc5843_get_mount_matrix()
365 struct iio_chan_spec const *chan, in hmc5843_read_raw()
396 struct iio_chan_spec const *chan, in hmc5843_write_raw()
421 struct iio_chan_spec const *chan, in hmc5843_write_raw_get_fmt()
500 static const struct iio_chan_spec hmc5843_channels[] = {
508 static const struct iio_chan_spec hmc5883_channels[] = {
515 static const struct iio_chan_spec hmc5983_channels[] = {
/linux/include/linux/iio/adc/
A Dadi-axi-adc.h12 struct iio_chan_spec;
28 const struct iio_chan_spec *channels;
52 struct iio_chan_spec const *chan,
55 struct iio_chan_spec const *chan,
/linux/drivers/iio/accel/
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,
448 .ch = (struct iio_chan_spec *)st_accel_8bit_channels,
520 .ch = (struct iio_chan_spec *)st_accel_12bit_channels,
590 .ch = (struct iio_chan_spec *)st_accel_12bit_channels,
648 .ch = (struct iio_chan_spec *)st_accel_8bit_channels,
856 .ch = (struct iio_chan_spec *)st_accel_8bit_channels,
[all …]
/linux/drivers/iio/dac/
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()
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 …]
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()
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()
A Dad5380.c42 struct iio_chan_spec channel_template;
84 uintptr_t private, const struct iio_chan_spec *chan, char *buf) in ad5380_read_dac_powerdown()
92 uintptr_t private, const struct iio_chan_spec *chan, const char *buf, in ad5380_write_dac_powerdown()
123 const struct iio_chan_spec *chan) in ad5380_get_powerdown_mode()
139 const struct iio_chan_spec *chan, unsigned int mode) in ad5380_set_powerdown_mode()
158 static unsigned int ad5380_info_to_reg(struct iio_chan_spec const *chan, in ad5380_info_to_reg()
176 struct iio_chan_spec const *chan, int val, int val2, long info) in ad5380_write_raw()
205 struct iio_chan_spec const *chan, int *val, int *val2, long info) in ad5380_read_raw()
349 struct iio_chan_spec *channels; in ad5380_alloc_channels()
353 sizeof(struct iio_chan_spec), GFP_KERNEL); in ad5380_alloc_channels()
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[] = { \
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[] = {
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[] = {
A Dti-dac5571.c123 const struct iio_chan_spec *chan) in dac5571_get_powerdown_mode()
131 const struct iio_chan_spec *chan, in dac5571_set_powerdown_mode()
164 const struct iio_chan_spec *chan, in dac5571_read_powerdown()
174 const struct iio_chan_spec *chan, in dac5571_write_powerdown()
231 static const struct iio_chan_spec dac5571_channels[] = {
239 struct iio_chan_spec const *chan, in dac5571_read_raw()
265 struct iio_chan_spec const *chan, in dac5571_write_raw()
295 struct iio_chan_spec const *chan, in dac5571_write_raw_get_fmt()
/linux/drivers/iio/pressure/
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,
558 struct iio_chan_spec const *ch, in st_press_write_raw()
579 struct iio_chan_spec const *ch, int *val, in st_press_read_raw()
/linux/drivers/iio/dummy/
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,
/linux/drivers/iio/multiplexer/
A Diio-mux.c33 struct iio_chan_spec *chan;
42 struct iio_chan_spec const *chan = &mux->chan[idx]; in iio_mux_select()
88 struct iio_chan_spec const *chan, in mux_read_raw()
118 struct iio_chan_spec const *chan, in mux_read_avail()
146 struct iio_chan_spec const *chan, in mux_write_raw()
178 struct iio_chan_spec const *chan, char *buf) in mux_read_ext_info()
198 struct iio_chan_spec const *chan, in mux_write_ext_info()
244 struct iio_chan_spec *chan = &mux->chan[idx]; in mux_configure_channel()
245 struct iio_chan_spec const *pchan = mux->parent->channel; in mux_configure_channel()
390 mux->chan = (struct iio_chan_spec *)(mux->child + children); in mux_probe()
/linux/drivers/iio/gyro/
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()
/linux/drivers/iio/light/
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()
A Dcm36651.c191 struct iio_chan_spec const *chan, int *val) in cm36651_read_output()
327 struct iio_chan_spec const *chan, int *val) in cm36651_read_channel()
356 struct iio_chan_spec const *chan, int *val2) in cm36651_read_int_time()
391 struct iio_chan_spec const *chan, int val) in cm36651_write_int_time()
446 struct iio_chan_spec const *chan, in cm36651_read_raw()
472 struct iio_chan_spec const *chan, in cm36651_write_raw()
489 const struct iio_chan_spec *chan, in cm36651_read_prox_thresh()
503 const struct iio_chan_spec *chan, in cm36651_write_prox_thresh()
529 const struct iio_chan_spec *chan, in cm36651_write_prox_event_config()
548 const struct iio_chan_spec *chan, in cm36651_read_prox_event_config()
[all …]
/linux/drivers/iio/chemical/
A Datlas-ezo-sensor.c29 const struct iio_chan_spec *channels;
60 static const struct iio_chan_spec atlas_co2_ezo_channels[] = {
64 static const struct iio_chan_spec atlas_o2_ezo_channels[] = {
68 static const struct iio_chan_spec atlas_hum_ezo_channels[] = {
112 struct iio_chan_spec const *chan, in atlas_ezo_read_raw()

Completed in 788 milliseconds

12345678910>>...17