| /linux-6.15/include/linux/iio/ |
| H A D | iio.h | 36 struct iio_chan_spec; 138 const struct iio_chan_spec *chan); 259 struct iio_chan_spec { struct 475 struct iio_chan_spec const *chan, 481 struct iio_chan_spec const *chan, 495 struct iio_chan_spec const *chan, 501 struct iio_chan_spec const *chan, 505 struct iio_chan_spec const *chan, 520 const struct iio_chan_spec *chan, 532 struct iio_chan_spec const *chan, [all …]
|
| H A D | backend.h | 8 struct iio_chan_spec; 134 struct iio_chan_spec *chan); 136 const struct iio_chan_spec *chan, 139 const struct iio_chan_spec *chan, char *buf); 146 struct iio_chan_spec const *chan, int *val, int *val2, 199 const struct iio_chan_spec *chan, 202 const struct iio_chan_spec *chan, char *buf); 209 struct iio_chan_spec const *chan, int *val, int *val2, 212 struct iio_chan_spec *chan); 226 struct iio_chan_spec const *chan, in iio_backend_read_scale() [all …]
|
| /linux-6.15/drivers/iio/potentiometer/ |
| H A D | ds1803.c | 38 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()
|
| /linux-6.15/drivers/iio/adc/ |
| H A D | axp20x_adc.c | 332 struct iio_chan_spec const *chan, int *val) in axp192_adc_raw() 353 struct iio_chan_spec const *chan, int *val) in axp20x_adc_raw() 377 struct iio_chan_spec const *chan, int *val) in axp22x_adc_raw() 391 struct iio_chan_spec const *chan, int *val) in axp717_adc_raw() 436 struct iio_chan_spec const *chan, int *val) in axp813_adc_raw() 790 struct iio_chan_spec const *chan, int *val, in axp192_read_raw() 809 struct iio_chan_spec const *chan, int *val, in axp20x_read_raw() 828 struct iio_chan_spec const *chan, int *val, in axp22x_read_raw() 849 struct iio_chan_spec const *chan, int *val, in axp717_read_raw() 865 struct iio_chan_spec const *chan, int *val, in axp813_read_raw() [all …]
|
| H A D | xilinx-xadc-events.c | 15 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 D | rockchip_saradc.c | 60 const struct iio_chan_spec *channels; 80 const struct iio_chan_spec *last_chan; 153 struct iio_chan_spec const *chan) in rockchip_saradc_conversion() 167 struct iio_chan_spec const *chan, in rockchip_saradc_read_raw() 231 static const struct iio_chan_spec rockchip_saradc_iio_channels[] = { 246 static const struct iio_chan_spec rockchip_rk3066_tsadc_iio_channels[] = { 260 static const struct iio_chan_spec rockchip_rk3399_saradc_iio_channels[] = { 278 static const struct iio_chan_spec rockchip_rk3528_saradc_iio_channels[] = { 293 static const struct iio_chan_spec rockchip_rk3562_saradc_iio_channels[] = { 312 static const struct iio_chan_spec rockchip_rk3568_saradc_iio_channels[] = { [all …]
|
| H A D | max77541-adc.c | 30 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 D | ad7944.c | 110 const struct iio_chan_spec channels[2]; 186 const struct iio_chan_spec *chan) in ad7944_3wire_cs_mode_init_msg() 296 const struct iio_chan_spec *chan) in ad7944_3wire_cs_mode_init_offload_msg() 357 const struct iio_chan_spec *chan, in ad7944_single_conversion() 385 struct iio_chan_spec const *chan, in ad7944_read_avail() 402 const struct iio_chan_spec *chan, in ad7944_read_raw() 461 const struct iio_chan_spec *chan, in ad7944_write_raw() 478 const struct iio_chan_spec *chan, in ad7944_write_raw_get_fmt() 571 struct iio_chan_spec **chain_chan, in ad7944_chain_mode_alloc() 575 struct iio_chan_spec *chan; in ad7944_chain_mode_alloc() [all …]
|
| /linux-6.15/drivers/iio/proximity/ |
| H A D | sx_common.h | 47 const struct iio_chan_spec *chan, __be16 *val); 91 const struct iio_chan_spec *iio_channels; 137 const struct iio_chan_spec *chan, int *val); 140 const struct iio_chan_spec *chan, 144 const struct iio_chan_spec *chan,
|
| /linux-6.15/drivers/iio/magnetometer/ |
| H A D | st_magn_core.c | 59 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 …]
|
| /linux-6.15/drivers/iio/dummy/ |
| H A D | iio_simple_dummy.h | 55 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-6.15/drivers/iio/dac/ |
| H A D | ti-dac7311.c | 82 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 D | ad8460.c | 191 const struct iio_chan_spec *chan, in ad8460_dac_input_write() 208 const struct iio_chan_spec *chan, char *buf) in ad8460_read_symbol() 222 const struct iio_chan_spec *chan, in ad8460_write_symbol() 256 const struct iio_chan_spec *chan, in ad8460_write_toggle_en() 290 const struct iio_chan_spec *chan, in ad8460_write_powerdown() 344 const struct iio_chan_spec *chan) in ad8460_get_powerdown_mode() 350 const struct iio_chan_spec *chan, in ad8460_set_powerdown_mode() 536 const struct iio_chan_spec *chan, in ad8460_write_event_value() 558 const struct iio_chan_spec *chan, in ad8460_read_event_value() 580 const struct iio_chan_spec *chan, in ad8460_write_event_config() [all …]
|
| H A D | ad5624r_spi.c | 46 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 D | ad5686.c | 29 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 D | max5821.c | 54 const struct iio_chan_spec *chan) in max5821_get_powerdown_mode() 62 const struct iio_chan_spec *chan, in max5821_set_powerdown_mode() 81 const struct iio_chan_spec *chan, in max5821_read_dac_powerdown() 90 const struct iio_chan_spec *chan) in max5821_sync_powerdown_mode() 111 const struct iio_chan_spec *chan, in max5821_write_dac_powerdown() 153 static const struct iio_chan_spec max5821_channels[] = { 237 struct iio_chan_spec const *chan, in max5821_read_raw() 255 struct iio_chan_spec const *chan, in max5821_write_raw()
|
| H A D | ad5380.c | 41 struct iio_chan_spec channel_template; 80 uintptr_t private, const struct iio_chan_spec *chan, char *buf) in ad5380_read_dac_powerdown() 88 uintptr_t private, const struct iio_chan_spec *chan, const char *buf, in ad5380_write_dac_powerdown() 119 const struct iio_chan_spec *chan) in ad5380_get_powerdown_mode() 135 const struct iio_chan_spec *chan, unsigned int mode) in ad5380_set_powerdown_mode() 154 static unsigned int ad5380_info_to_reg(struct iio_chan_spec const *chan, in ad5380_info_to_reg() 172 struct iio_chan_spec const *chan, int val, int val2, long info) in ad5380_write_raw() 201 struct iio_chan_spec const *chan, int *val, int *val2, long info) in ad5380_read_raw() 345 struct iio_chan_spec *channels; in ad5380_alloc_channels() 349 sizeof(struct iio_chan_spec), GFP_KERNEL); in ad5380_alloc_channels()
|
| H A D | ti-dac082s085.c | 80 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 D | max5522.c | 29 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 D | ad5504.c | 94 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[] = {
|
| /linux-6.15/drivers/iio/accel/ |
| H A D | st_accel_core.c | 42 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 …]
|
| /linux-6.15/drivers/iio/multiplexer/ |
| H A D | iio-mux.c | 34 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 const *pchan = mux->parent->channel; in mux_configure_chan_ext_info() 297 struct iio_chan_spec *chan = &mux->chan[idx]; in mux_configure_channel() 298 struct iio_chan_spec const *pchan = mux->parent->channel; in mux_configure_channel() [all …]
|
| /linux-6.15/drivers/iio/pressure/ |
| H A D | st_pressure_core.c | 124 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 …]
|
| /linux-6.15/drivers/iio/gyro/ |
| H A D | st_gyro_core.c | 37 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-6.15/drivers/iio/amplifiers/ |
| H A D | hmc425a.c | 47 const struct iio_chan_spec *channels; 169 struct iio_chan_spec const *chan, int *val, in hmc425a_read_raw() 192 struct iio_chan_spec const *chan, int val, in hmc425a_write_raw() 217 struct iio_chan_spec const *chan, in hmc425a_write_raw_get_fmt() 236 const struct iio_chan_spec *chan, in ltc6373_read_powerdown() 246 const struct iio_chan_spec *chan, in ltc6373_write_powerdown() 295 static const struct iio_chan_spec hmc425a_channels[] = { 299 static const struct iio_chan_spec ltc6373_channels[] = {
|