| /Linux-v5.4/include/linux/iio/ |
| D | iio.h | 33 struct iio_chan_spec; 48 struct iio_chan_spec const *, char *buf); 50 struct iio_chan_spec const *, const char *buf, 74 int (*set)(struct iio_dev *, const struct iio_chan_spec *, unsigned int); 75 int (*get)(struct iio_dev *, const struct iio_chan_spec *); 79 uintptr_t priv, const struct iio_chan_spec *chan, char *buf); 81 uintptr_t priv, const struct iio_chan_spec *chan, char *buf); 83 uintptr_t priv, const struct iio_chan_spec *chan, const char *buf, 129 const struct iio_chan_spec *chan, char *buf); 135 const struct iio_chan_spec *chan); [all …]
|
| /Linux-v5.4/drivers/iio/adc/ |
| 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() 162 const struct iio_chan_spec *chan, enum iio_event_type type, in xadc_read_event_value() 186 const struct iio_chan_spec *chan, enum iio_event_type type, in xadc_write_event_value()
|
| D | axp20x_adc.c | 160 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() 274 struct iio_chan_spec const *chan, int *val) in axp813_adc_raw() 357 static int axp20x_adc_scale(struct iio_chan_spec const *chan, int *val, in axp20x_adc_scale() 376 static int axp22x_adc_scale(struct iio_chan_spec const *chan, int *val, in axp22x_adc_scale() 402 static int axp813_adc_scale(struct iio_chan_spec const *chan, int *val, in axp813_adc_scale() 451 struct iio_chan_spec const *chan, int *val) in axp20x_adc_offset() [all …]
|
| D | ti-adc128s052.c | 21 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[] = {
|
| /Linux-v5.4/drivers/iio/accel/ |
| D | st_accel_core.c | 45 static const struct iio_chan_spec st_accel_8bit_channels[] = { 61 static const struct iio_chan_spec st_accel_12bit_channels[] = { 77 static const struct iio_chan_spec st_accel_16bit_channels[] = { 107 .ch = (struct iio_chan_spec *)st_accel_12bit_channels, 189 .ch = (struct iio_chan_spec *)st_accel_12bit_channels, 268 .ch = (struct iio_chan_spec *)st_accel_16bit_channels, 358 .ch = (struct iio_chan_spec *)st_accel_12bit_channels, 430 .ch = (struct iio_chan_spec *)st_accel_8bit_channels, 502 .ch = (struct iio_chan_spec *)st_accel_12bit_channels, 572 .ch = (struct iio_chan_spec *)st_accel_12bit_channels, [all …]
|
| /Linux-v5.4/drivers/iio/dummy/ |
| 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-v5.4/drivers/iio/dac/ |
| 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()
|
| 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[] = { \
|
| D | ti-dac082s085.c | 79 const struct iio_chan_spec *chan) in ti_dac_get_powerdown_mode() 87 const struct iio_chan_spec *chan, in ti_dac_set_powerdown_mode() 118 const struct iio_chan_spec *chan, in ti_dac_read_powerdown() 128 const struct iio_chan_spec *chan, in ti_dac_write_powerdown() 178 static const struct iio_chan_spec ti_dac_channels[] = { 186 struct iio_chan_spec const *chan, in ti_dac_read_raw() 216 struct iio_chan_spec const *chan, in ti_dac_write_raw() 248 struct iio_chan_spec const *chan, long mask) in ti_dac_write_raw_get_fmt()
|
| D | stm32-dac.c | 99 struct iio_chan_spec const *chan, in stm32_dac_read_raw() 117 struct iio_chan_spec const *chan, in stm32_dac_write_raw() 153 const struct iio_chan_spec *chan) in stm32_dac_get_powerdown_mode() 159 const struct iio_chan_spec *chan, in stm32_dac_set_powerdown_mode() 167 const struct iio_chan_spec *chan, in stm32_dac_read_powerdown() 180 const struct iio_chan_spec *chan, in stm32_dac_write_powerdown() 234 static const struct iio_chan_spec stm32_dac_channels[] = {
|
| D | max5821.c | 55 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()
|
| D | ad5380.c | 42 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()
|
| 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 struct iio_chan_spec name[] = { \ 214 static struct iio_chan_spec name[] = { \ 222 static struct iio_chan_spec name[] = { \ 234 static struct iio_chan_spec name[] = { \
|
| D | ad5504.c | 95 struct iio_chan_spec const *chan, in ad5504_read_raw() 121 struct iio_chan_spec const *chan, in ad5504_write_raw() 145 const struct iio_chan_spec *chan) in ad5504_get_powerdown_mode() 153 const struct iio_chan_spec *chan, unsigned int mode) in ad5504_set_powerdown_mode() 170 uintptr_t private, const struct iio_chan_spec *chan, char *buf) in ad5504_read_dac_powerdown() 179 uintptr_t private, const struct iio_chan_spec *chan, const char *buf, in ad5504_write_dac_powerdown() 265 static const struct iio_chan_spec ad5504_channels[] = {
|
| D | ti-dac5571.c | 124 const struct iio_chan_spec *chan) in dac5571_get_powerdown_mode() 132 const struct iio_chan_spec *chan, in dac5571_set_powerdown_mode() 165 const struct iio_chan_spec *chan, in dac5571_read_powerdown() 175 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()
|
| D | ad7303.c | 62 uintptr_t private, const struct iio_chan_spec *chan, char *buf) in ad7303_read_dac_powerdown() 71 uintptr_t private, const struct iio_chan_spec *chan, const char *buf, in ad7303_write_dac_powerdown() 98 struct iio_chan_spec const *chan) in ad7303_get_vref() 112 struct iio_chan_spec const *chan, int *val, int *val2, long info) in ad7303_read_raw() 137 struct iio_chan_spec const *chan, int val, int val2, long mask) in ad7303_write_raw() 192 static const struct iio_chan_spec ad7303_channels[] = {
|
| /Linux-v5.4/drivers/iio/pressure/ |
| D | st_pressure_core.c | 131 static const struct iio_chan_spec st_press_1_channels[] = { 165 static const struct iio_chan_spec st_press_lps001wp_channels[] = { 197 static const struct iio_chan_spec st_press_lps22hb_channels[] = { 243 .ch = (struct iio_chan_spec *)st_press_1_channels, 316 .ch = (struct iio_chan_spec *)st_press_lps001wp_channels, 368 .ch = (struct iio_chan_spec *)st_press_1_channels, 437 .ch = (struct iio_chan_spec *)st_press_lps22hb_channels, 504 .ch = (struct iio_chan_spec *)st_press_lps22hb_channels, 565 struct iio_chan_spec const *ch, in st_press_write_raw() 586 struct iio_chan_spec const *ch, int *val, in st_press_read_raw()
|
| /Linux-v5.4/drivers/iio/magnetometer/ |
| D | st_magn_core.c | 57 static const struct iio_chan_spec st_magn_16bit_channels[] = { 73 static const struct iio_chan_spec st_magn_2_16bit_channels[] = { 89 static const struct iio_chan_spec st_magn_3_16bit_channels[] = { 112 .ch = (struct iio_chan_spec *)st_magn_16bit_channels, 191 .ch = (struct iio_chan_spec *)st_magn_16bit_channels, 270 .ch = (struct iio_chan_spec *)st_magn_2_16bit_channels, 342 .ch = (struct iio_chan_spec *)st_magn_3_16bit_channels, 387 struct iio_chan_spec const *ch, int *val, in st_magn_read_raw() 420 struct iio_chan_spec const *chan, int val, int val2, long mask) in st_magn_write_raw()
|
| D | hmc5843_core.c | 128 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-v5.4/drivers/iio/multiplexer/ |
| D | iio-mux.c | 33 struct iio_chan_spec *chan; 41 struct iio_chan_spec const *chan = &mux->chan[idx]; in iio_mux_select() 86 struct iio_chan_spec const *chan, in mux_read_raw() 116 struct iio_chan_spec const *chan, in mux_read_avail() 144 struct iio_chan_spec const *chan, in mux_write_raw() 176 struct iio_chan_spec const *chan, char *buf) in mux_read_ext_info() 196 struct iio_chan_spec const *chan, in mux_write_ext_info() 242 struct iio_chan_spec *chan = &mux->chan[idx]; in mux_configure_channel() 243 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-v5.4/drivers/iio/light/ |
| D | max44009.c | 99 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()
|
| /Linux-v5.4/include/linux/iio/common/ |
| D | cros_ec_sensors_core.h | 157 struct iio_chan_spec const *chan, 172 struct iio_chan_spec const *chan, 189 struct iio_chan_spec const *chan,
|
| /Linux-v5.4/drivers/iio/humidity/ |
| D | hid-sensor-humidity.c | 28 static const struct iio_chan_spec humidity_channels[] = { 41 static void humidity_adjust_channel_bit_mask(struct iio_chan_spec *channels, in humidity_adjust_channel_bit_mask() 52 struct iio_chan_spec const *chan, in humidity_read_raw() 98 struct iio_chan_spec const *chan, in humidity_write_raw() 158 struct iio_chan_spec *channels, in humidity_parse_report() 201 struct iio_chan_spec *humid_chans; in hid_humidity_probe()
|
| /Linux-v5.4/drivers/iio/temperature/ |
| D | hid-sensor-temperature.c | 28 static const struct iio_chan_spec temperature_channels[] = { 41 static void temperature_adjust_channel_bit_mask(struct iio_chan_spec *channels, in temperature_adjust_channel_bit_mask() 52 struct iio_chan_spec const *chan, in temperature_read_raw() 98 struct iio_chan_spec const *chan, in temperature_write_raw() 155 struct iio_chan_spec *channels, in temperature_parse_report() 198 struct iio_chan_spec *temp_chans; in hid_temperature_probe()
|
| D | maxim_thermocouple.c | 29 static const struct iio_chan_spec max6675_channels[] = { 46 static const struct iio_chan_spec max31855_channels[] = { 83 const struct iio_chan_spec *channels; 116 struct iio_chan_spec const *chan, int *val) in maxim_thermocouple_read() 168 struct iio_chan_spec const *chan, in maxim_thermocouple_read_raw()
|