/linux-4.4.14/include/linux/iio/ |
D | iio.h | 64 struct iio_chan_spec; 79 struct iio_chan_spec const *, char *buf); 81 struct iio_chan_spec const *, const char *buf, 105 int (*set)(struct iio_dev *, const struct iio_chan_spec *, unsigned int); 106 int (*get)(struct iio_dev *, const struct iio_chan_spec *); 110 uintptr_t priv, const struct iio_chan_spec *chan, char *buf); 112 uintptr_t priv, const struct iio_chan_spec *chan, char *buf); 114 uintptr_t priv, const struct iio_chan_spec *chan, const char *buf, 226 struct iio_chan_spec { struct 264 static inline bool iio_channel_has_info(const struct iio_chan_spec *chan, in iio_channel_has_info() argument [all …]
|
D | consumer.h | 17 struct iio_chan_spec; 28 const struct iio_chan_spec *channel;
|
D | sysfs.h | 15 struct iio_chan_spec; 28 struct iio_chan_spec const *c;
|
/linux-4.4.14/drivers/iio/adc/ |
D | xilinx-xadc-events.c | 16 static const struct iio_chan_spec *xadc_event_to_channel( in xadc_event_to_channel() 33 const struct iio_chan_spec *chan; in xadc_handle_event() 71 static unsigned xadc_get_threshold_offset(const struct iio_chan_spec *chan, in xadc_get_threshold_offset() 91 static unsigned int xadc_get_alarm_mask(const struct iio_chan_spec *chan) in xadc_get_alarm_mask() 117 const struct iio_chan_spec *chan, enum iio_event_type type, in xadc_read_event_config() 126 const struct iio_chan_spec *chan, enum iio_event_type type, in xadc_write_event_config() 165 const struct iio_chan_spec *chan, enum iio_event_type type, in xadc_read_event_value() 189 const struct iio_chan_spec *chan, enum iio_event_type type, in xadc_write_event_value()
|
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[] = {
|
D | xilinx-xadc.h | 25 const struct iio_chan_spec *chan, enum iio_event_type type, 28 const struct iio_chan_spec *chan, enum iio_event_type type, 31 const struct iio_chan_spec *chan, enum iio_event_type type, 35 const struct iio_chan_spec *chan, enum iio_event_type type,
|
D | mcp320x.c | 55 const struct iio_chan_spec *channels; 139 struct iio_chan_spec const *channel, int *val, in mcp320x_read_raw() 202 static const struct iio_chan_spec mcp3201_channels[] = { 206 static const struct iio_chan_spec mcp3202_channels[] = { 212 static const struct iio_chan_spec mcp3204_channels[] = { 221 static const struct iio_chan_spec mcp3208_channels[] = {
|
D | mcp3422.c | 137 struct iio_chan_spec const *channel, int *value) in mcp3422_read_channel() 159 struct iio_chan_spec const *channel, int *val1, in mcp3422_read_raw() 193 struct iio_chan_spec const *channel, int val1, in mcp3422_write_raw() 257 struct iio_chan_spec const *chan, long mask) in mcp3422_write_raw_get_fmt() 308 static const struct iio_chan_spec mcp3422_channels[] = { 313 static const struct iio_chan_spec mcp3424_channels[] = {
|
D | ad7291.c | 171 static unsigned int ad7291_threshold_reg(const struct iio_chan_spec *chan, in ad7291_threshold_reg() 203 const struct iio_chan_spec *chan, in ad7291_read_event_value() 228 const struct iio_chan_spec *chan, in ad7291_write_event_value() 249 const struct iio_chan_spec *chan, in ad7291_read_event_config() 272 const struct iio_chan_spec *chan, in ad7291_write_event_config() 322 struct iio_chan_spec const *chan, in ad7291_read_raw() 437 static const struct iio_chan_spec ad7291_channels[] = {
|
D | hi8435.c | 109 const struct iio_chan_spec *chan, in hi8435_read_event_config() 119 const struct iio_chan_spec *chan, in hi8435_write_event_config() 133 const struct iio_chan_spec *chan, in hi8435_read_event_value() 165 const struct iio_chan_spec *chan, in hi8435_write_event_value() 276 const struct iio_chan_spec *chan) in hi8435_get_sensing_mode() 290 const struct iio_chan_spec *chan, in hi8435_set_sensing_mode() 341 static const struct iio_chan_spec hi8435_channels[] = {
|
D | max1363.c | 136 const struct iio_chan_spec *channels; 358 struct iio_chan_spec const *chan, in max1363_read_single_chan() 415 struct iio_chan_spec const *chan, in max1363_read_raw() 516 static const struct iio_chan_spec max1036_channels[] = 518 static const struct iio_chan_spec max1136_channels[] = 520 static const struct iio_chan_spec max1236_channels[] = 522 static const struct iio_chan_spec max1361_channels[] = 524 static const struct iio_chan_spec max1363_channels[] = 576 static const struct iio_chan_spec max1038_channels[] = MAX1363_12X_CHANS(8); 577 static const struct iio_chan_spec max1138_channels[] = MAX1363_12X_CHANS(10); [all …]
|
D | max1027.c | 121 static const struct iio_chan_spec max1027_channels[] = { 133 static const struct iio_chan_spec max1029_channels[] = { 149 static const struct iio_chan_spec max1031_channels[] = { 185 const struct iio_chan_spec *channels; 219 struct iio_chan_spec const *chan, in max1027_read_single_value() 267 struct iio_chan_spec const *chan, in max1027_read_raw()
|
D | ad7266.c | 149 struct iio_chan_spec const *chan, int *val, int *val2, long m) in ad7266_read_raw() 209 const struct iio_chan_spec ad7266_channels_##_name[] = { \ 226 const struct iio_chan_spec ad7266_channels_##_name##_fixed[] = { \ 258 const struct iio_chan_spec ad7266_channels_diff_##_name[] = { \ 272 const struct iio_chan_spec ad7266_channels_diff_fixed_##_name[] = { \ 310 const struct iio_chan_spec *channels;
|
D | cc10001_adc.c | 196 struct iio_chan_spec const *chan) in cc10001_adc_read_raw_voltage() 219 struct iio_chan_spec const *chan, in cc10001_adc_read_raw() 273 struct iio_chan_spec *chan_array, *timestamp; in cc10001_adc_channel_init() 280 sizeof(struct iio_chan_spec), in cc10001_adc_channel_init() 286 struct iio_chan_spec *chan = &chan_array[idx]; in cc10001_adc_channel_init()
|
D | nau7802.c | 74 static const struct iio_chan_spec nau7802_chan_array[] = { 187 struct iio_chan_spec const *chan, in nau7802_read_irq() 225 struct iio_chan_spec const *chan, in nau7802_read_poll() 272 struct iio_chan_spec const *chan, in nau7802_read_raw() 342 struct iio_chan_spec const *chan, in nau7802_write_raw() 379 struct iio_chan_spec const *chan, in nau7802_write_raw_get_fmt()
|
D | rockchip_saradc.c | 45 const struct iio_chan_spec *channels; 61 struct iio_chan_spec const *chan, in rockchip_saradc_read_raw() 137 static const struct iio_chan_spec rockchip_saradc_iio_channels[] = { 150 static const struct iio_chan_spec rockchip_rk3066_tsadc_iio_channels[] = {
|
D | ad799x.c | 110 const struct iio_chan_spec channel[9]; 275 struct iio_chan_spec const *chan, in ad799x_read_raw() 374 const struct iio_chan_spec *chan, in ad799x_read_event_config() 390 const struct iio_chan_spec *chan, in ad799x_write_event_config() 422 static unsigned int ad799x_threshold_reg(const struct iio_chan_spec *chan, in ad799x_threshold_reg() 442 const struct iio_chan_spec *chan, in ad799x_write_event_value() 464 const struct iio_chan_spec *chan, in ad799x_read_event_value()
|
D | ad7793.c | 146 const struct iio_chan_spec *channels; 454 struct iio_chan_spec const *chan, in ad7793_read_raw() 520 struct iio_chan_spec const *chan, in ad7793_write_raw() 563 struct iio_chan_spec const *chan, in ad7793_write_raw_get_fmt() 588 const struct iio_chan_spec _name##_channels[] = { \ 599 const struct iio_chan_spec _name##_channels[] = { \ 613 const struct iio_chan_spec _name##_channels[] = { \ 622 const struct iio_chan_spec _name##_channels[] = { \
|
D | viperboard_adc.c | 47 static struct iio_chan_spec const vprbrd_adc_iio_channels[] = { 55 struct iio_chan_spec const *chan, in vprbrd_iio_read_raw()
|
D | ti-adc081c.c | 25 struct iio_chan_spec const *channel, int *value, in adc081c_read_raw() 57 static const struct iio_chan_spec adc081c_channel = {
|
D | ad7791.c | 69 const struct iio_chan_spec name[] = { \ 81 const struct iio_chan_spec name[] = { \ 111 const struct iio_chan_spec *channels; 201 const struct iio_chan_spec *chan, int *val, int *val2, long info) in ad7791_read_raw()
|
D | ti_am335x_adc.c | 64 struct iio_chan_spec const *chan) in get_adc_chan_step_mask() 324 struct iio_chan_spec *chan_array; in tiadc_channel_init() 325 struct iio_chan_spec *chan; in tiadc_channel_init() 330 sizeof(struct iio_chan_spec), GFP_KERNEL); in tiadc_channel_init() 359 struct iio_chan_spec const *chan, in tiadc_read_raw()
|
D | men_z188_adc.c | 39 static const struct iio_chan_spec z188_adc_iio_channels[] = { 51 struct iio_chan_spec const *chan, in z188_iio_read_raw()
|
D | ad7923.c | 74 const struct iio_chan_spec *channels; 102 const struct iio_chan_spec name ## _channels[] = { \ 226 struct iio_chan_spec const *chan, in ad7923_read_raw()
|
D | axp288_adc.c | 49 static const struct iio_chan_spec const axp288_adc_channels[] = { 137 struct iio_chan_spec const *chan, in axp288_adc_read_raw()
|
D | lp8788_adc.c | 98 struct iio_chan_spec const *chan, in lp8788_adc_read_raw() 140 static const struct iio_chan_spec lp8788_adc_channels[] = {
|
D | vf610_adc.c | 475 const struct iio_chan_spec *chan, in vf610_set_conversion_mode() 490 const struct iio_chan_spec *chan) in vf610_get_conversion_mode() 540 static const struct iio_chan_spec vf610_adc_iio_channels[] = { 635 struct iio_chan_spec const *chan, in vf610_read_raw() 708 struct iio_chan_spec const *chan, in vf610_write_raw()
|
D | ad7476.c | 29 struct iio_chan_spec channel[2]; 98 struct iio_chan_spec const *chan, in ad7476_read_raw()
|
D | twl6030-gpadc.c | 119 const struct iio_chan_spec *iio_channels; 518 const struct iio_chan_spec *chan, in twl6030_gpadc_read_raw() 810 static const struct iio_chan_spec twl6030_gpadc_iio_channels[] = { 826 static const struct iio_chan_spec twl6032_gpadc_iio_channels[] = {
|
D | da9150-gpadc.c | 227 struct iio_chan_spec const *chan, in da9150_gpadc_read_raw() 282 static const struct iio_chan_spec da9150_gpadc_channels[] = {
|
D | ad7887.c | 51 struct iio_chan_spec channel[3]; 149 struct iio_chan_spec const *chan, in ad7887_read_raw()
|
D | ad7298.c | 75 static const struct iio_chan_spec ad7298_channels[] = { 232 struct iio_chan_spec const *chan, in ad7298_read_raw()
|
D | berlin2-adc.c | 89 static const struct iio_chan_spec berlin2_adc_channels[] = { 203 struct iio_chan_spec const *chan, int *val, in berlin2_adc_read_raw()
|
D | at91_adc.c | 463 struct iio_chan_spec *chan_array, *timestamp; in at91_adc_channel_init() 481 sizeof(struct iio_chan_spec)), in at91_adc_channel_init() 488 struct iio_chan_spec *chan = chan_array + idx; in at91_adc_channel_init() 568 struct iio_chan_spec const *chan = idev->channels + bit; in at91_adc_configure_trigger() 583 struct iio_chan_spec const *chan = idev->channels + bit; in at91_adc_configure_trigger() 682 struct iio_chan_spec const *chan, in at91_adc_read_raw()
|
D | qcom-spmi-iadc.c | 319 struct iio_chan_spec const *chan, in iadc_read_raw() 475 static const struct iio_chan_spec iadc_channels[] = {
|
D | xilinx-xadc-core.c | 814 struct iio_chan_spec const *chan, int *val, int *val2, long info) in xadc_read_raw() 887 struct iio_chan_spec const *chan, int val, int val2, long info) in xadc_write_raw() 994 static const struct iio_chan_spec xadc_channels[] = { 1045 struct iio_chan_spec *channels, *chan; in xadc_parse_dt()
|
D | qcom-spmi-vadc.c | 181 struct iio_chan_spec *iio_chans; 540 struct iio_chan_spec const *chan, int *val, int *val2, in vadc_read_raw() 818 struct iio_chan_spec *iio_chan; in vadc_get_dt_data()
|
D | twl4030-madc.c | 76 const struct iio_chan_spec *chan, in twl4030_madc_read() 116 static const struct iio_chan_spec twl4030_madc_iio_channels[] = {
|
D | exynos_adc.c | 464 struct iio_chan_spec const *chan, in exynos_read_raw() 547 static const struct iio_chan_spec exynos_adc_iio_channels[] = {
|
D | ad_sigma_delta.c | 248 const struct iio_chan_spec *chan, int *val) in ad_sigma_delta_single_conversion()
|
/linux-4.4.14/drivers/staging/iio/ |
D | iio_simple_dummy.h | 58 const struct iio_chan_spec *chan, 63 const struct iio_chan_spec *chan, 69 const struct iio_chan_spec *chan, 76 const struct iio_chan_spec *chan,
|
D | iio_simple_dummy_events.c | 34 const struct iio_chan_spec *chan, in iio_simple_dummy_read_event_config() 56 const struct iio_chan_spec *chan, in iio_simple_dummy_write_event_config() 120 const struct iio_chan_spec *chan, in iio_simple_dummy_read_event_value() 143 const struct iio_chan_spec *chan, in iio_simple_dummy_write_event_value()
|
D | iio_simple_dummy.c | 107 static const struct iio_chan_spec iio_dummy_channels[] = { 291 struct iio_chan_spec const *chan, in iio_dummy_read_raw() 434 struct iio_chan_spec const *chan, in iio_dummy_write_raw()
|
/linux-4.4.14/drivers/iio/dac/ |
D | ad5624r_spi.c | 47 struct iio_chan_spec const *chan, in ad5624r_read_raw() 64 struct iio_chan_spec const *chan, in ad5624r_write_raw() 92 const struct iio_chan_spec *chan) in ad5624r_get_powerdown_mode() 100 const struct iio_chan_spec *chan, unsigned int mode) in ad5624r_set_powerdown_mode() 117 uintptr_t private, const struct iio_chan_spec *chan, char *buf) in ad5624r_read_dac_powerdown() 126 uintptr_t private, const struct iio_chan_spec *chan, const char *buf, in ad5624r_write_dac_powerdown() 186 const struct iio_chan_spec _name##_channels[] = { \
|
D | mcp4725.c | 138 const struct iio_chan_spec *chan) in mcp4725_get_powerdown_mode() 146 const struct iio_chan_spec *chan, unsigned mode) in mcp4725_set_powerdown_mode() 156 uintptr_t private, const struct iio_chan_spec *chan, char *buf) in mcp4725_read_powerdown() 164 uintptr_t private, const struct iio_chan_spec *chan, in mcp4725_write_powerdown() 204 static const struct iio_chan_spec mcp4725_channel = { 236 struct iio_chan_spec const *chan, in mcp4725_read_raw() 254 struct iio_chan_spec const *chan, in mcp4725_write_raw()
|
D | max5821.c | 58 const struct iio_chan_spec *chan) in max5821_get_powerdown_mode() 66 const struct iio_chan_spec *chan, in max5821_set_powerdown_mode() 85 const struct iio_chan_spec *chan, in max5821_read_dac_powerdown() 94 const struct iio_chan_spec *chan) in max5821_sync_powerdown_mode() 115 const struct iio_chan_spec *chan, in max5821_write_dac_powerdown() 157 static const struct iio_chan_spec max5821_channels[] = { 241 struct iio_chan_spec const *chan, in max5821_read_raw() 259 struct iio_chan_spec const *chan, in max5821_write_raw()
|
D | ad5380.c | 43 struct iio_chan_spec channel_template; 83 uintptr_t private, const struct iio_chan_spec *chan, char *buf) in ad5380_read_dac_powerdown() 91 uintptr_t private, const struct iio_chan_spec *chan, const char *buf, in ad5380_write_dac_powerdown() 122 const struct iio_chan_spec *chan) in ad5380_get_powerdown_mode() 138 const struct iio_chan_spec *chan, unsigned int mode) in ad5380_set_powerdown_mode() 157 static unsigned int ad5380_info_to_reg(struct iio_chan_spec const *chan, in ad5380_info_to_reg() 175 struct iio_chan_spec const *chan, int val, int val2, long info) in ad5380_write_raw() 204 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()
|
D | ad5504.c | 96 struct iio_chan_spec const *chan, in ad5504_read_raw() 122 struct iio_chan_spec const *chan, in ad5504_write_raw() 146 const struct iio_chan_spec *chan) in ad5504_get_powerdown_mode() 154 const struct iio_chan_spec *chan, unsigned int mode) in ad5504_set_powerdown_mode() 171 uintptr_t private, const struct iio_chan_spec *chan, char *buf) in ad5504_read_dac_powerdown() 180 uintptr_t private, const struct iio_chan_spec *chan, const char *buf, in ad5504_write_dac_powerdown() 267 static const struct iio_chan_spec ad5504_channels[] = {
|
D | ad7303.c | 63 uintptr_t private, const struct iio_chan_spec *chan, char *buf) in ad7303_read_dac_powerdown() 72 uintptr_t private, const struct iio_chan_spec *chan, const char *buf, in ad7303_write_dac_powerdown() 99 struct iio_chan_spec const *chan) in ad7303_get_vref() 113 struct iio_chan_spec const *chan, int *val, int *val2, long info) in ad7303_read_raw() 138 struct iio_chan_spec const *chan, int val, int val2, long mask) in ad7303_write_raw() 194 static const struct iio_chan_spec ad7303_channels[] = {
|
D | ad5064.c | 62 const struct iio_chan_spec *channels; 137 const struct iio_chan_spec *chan) in ad5064_sync_powerdown_mode() 159 const struct iio_chan_spec *chan) in ad5064_get_powerdown_mode() 167 const struct iio_chan_spec *chan, unsigned int mode) in ad5064_set_powerdown_mode() 189 uintptr_t private, const struct iio_chan_spec *chan, char *buf) in ad5064_read_dac_powerdown() 197 uintptr_t private, const struct iio_chan_spec *chan, const char *buf, in ad5064_write_dac_powerdown() 217 struct iio_chan_spec const *chan) in ad5064_get_vref() 229 struct iio_chan_spec const *chan, in ad5064_read_raw() 256 struct iio_chan_spec const *chan, int val, int val2, long mask) in ad5064_write_raw() 316 const struct iio_chan_spec name[] = { \ [all …]
|
D | ad5686.c | 54 struct iio_chan_spec channel[AD5686_DAC_CHANNELS]; 140 const struct iio_chan_spec *chan) in ad5686_get_powerdown_mode() 148 const struct iio_chan_spec *chan, unsigned int mode) in ad5686_set_powerdown_mode() 166 uintptr_t private, const struct iio_chan_spec *chan, char *buf) in ad5686_read_dac_powerdown() 175 uintptr_t private, const struct iio_chan_spec *chan, const char *buf, in ad5686_write_dac_powerdown() 198 struct iio_chan_spec const *chan, in ad5686_read_raw() 224 struct iio_chan_spec const *chan, in ad5686_write_raw()
|
D | ad5755.c | 73 const struct iio_chan_spec channel_template; 92 struct iio_chan_spec channels[AD5755_NUM_CHANNELS]; 240 struct iio_chan_spec const *chan, int *min, int *max) in ad5755_get_min_max() 248 struct iio_chan_spec const *chan) in ad5755_get_offset() 257 struct iio_chan_spec const *chan, long info, bool write, in ad5755_chan_reg_info() 293 const struct iio_chan_spec *chan, int *val, int *val2, long info) in ad5755_read_raw() 328 const struct iio_chan_spec *chan, int val, int val2, long info) in ad5755_write_raw() 349 const struct iio_chan_spec *chan, char *buf) in ad5755_read_powerdown() 358 struct iio_chan_spec const *chan, const char *buf, size_t len) in ad5755_write_powerdown() 517 struct iio_chan_spec *channels = st->channels; in ad5755_init_channels()
|
D | ad5791.c | 154 const struct iio_chan_spec *chan) in ad5791_get_powerdown_mode() 162 const struct iio_chan_spec *chan, unsigned int mode) in ad5791_set_powerdown_mode() 179 uintptr_t private, const struct iio_chan_spec *chan, char *buf) in ad5791_read_dac_powerdown() 187 uintptr_t private, const struct iio_chan_spec *chan, const char *buf, in ad5791_write_dac_powerdown() 250 struct iio_chan_spec const *chan, in ad5791_read_raw() 313 static const struct iio_chan_spec ad5791_channels[] = { 321 struct iio_chan_spec const *chan, in ad5791_write_raw()
|
D | ad5446.c | 55 struct iio_chan_spec channel; 65 const struct iio_chan_spec *chan, unsigned int mode) in ad5446_set_powerdown_mode() 75 const struct iio_chan_spec *chan) in ad5446_get_powerdown_mode() 91 const struct iio_chan_spec *chan, in ad5446_read_dac_powerdown() 101 const struct iio_chan_spec *chan, in ad5446_write_dac_powerdown() 165 struct iio_chan_spec const *chan, in ad5446_read_raw() 185 struct iio_chan_spec const *chan, in ad5446_write_raw()
|
D | ad5421.c | 106 static const struct iio_chan_spec ad5421_channels[] = { 313 struct iio_chan_spec const *chan, int *val, int *val2, long m) in ad5421_read_raw() 355 struct iio_chan_spec const *chan, int val, int val2, long mask) in ad5421_write_raw() 384 const struct iio_chan_spec *chan, enum iio_event_type type, in ad5421_write_event_config() 415 const struct iio_chan_spec *chan, enum iio_event_type type, in ad5421_read_event_config() 439 const struct iio_chan_spec *chan, enum iio_event_type type, in ad5421_read_event_value()
|
D | ad5764.c | 42 const struct iio_chan_spec *channels; 95 const struct iio_chan_spec _name##_channels[] = { \ 168 static int ad5764_chan_info_to_reg(struct iio_chan_spec const *chan, long info) in ad5764_chan_info_to_reg() 185 struct iio_chan_spec const *chan, int val, int val2, long info) in ad5764_write_raw() 222 struct iio_chan_spec const *chan, int *val, int *val2, long info) in ad5764_read_raw()
|
D | max517.c | 80 struct iio_chan_spec const *chan, in max517_read_raw() 100 struct iio_chan_spec const *chan, int val, int val2, long mask) in max517_write_raw() 152 static const struct iio_chan_spec max517_channels[] = {
|
D | mcp4922.c | 70 struct iio_chan_spec const *chan, in mcp4922_read_raw() 91 struct iio_chan_spec const *chan, in mcp4922_write_raw() 113 static const struct iio_chan_spec mcp4922_channels[3][MCP4922_NUM_CHANNELS] = {
|
D | ad5449.c | 47 const struct iio_chan_spec *channels; 132 struct iio_chan_spec const *chan, int *val, int *val2, long info) in ad5449_read_raw() 170 struct iio_chan_spec const *chan, int val, int val2, long info) in ad5449_write_raw() 216 const struct iio_chan_spec name[] = { \
|
D | m62332.c | 85 struct iio_chan_spec const *chan, in m62332_read_raw() 120 struct iio_chan_spec const *chan, int val, int val2, in m62332_write_raw() 191 static const struct iio_chan_spec m62332_channels[M62332_CHANNELS] = {
|
D | ad5360.c | 59 struct iio_chan_spec channel_template; 312 struct iio_chan_spec const *chan, in ad5360_write_raw() 368 struct iio_chan_spec const *chan, in ad5360_read_raw() 438 struct iio_chan_spec *channels; in ad5360_alloc_channels() 442 sizeof(struct iio_chan_spec), GFP_KERNEL); in ad5360_alloc_channels()
|
D | ad5624r.h | 40 const struct iio_chan_spec *channels;
|
/linux-4.4.14/drivers/iio/magnetometer/ |
D | st_magn_core.c | 184 static const struct iio_chan_spec st_magn_16bit_channels[] = { 200 static const struct iio_chan_spec st_magn_2_16bit_channels[] = { 216 static const struct iio_chan_spec st_magn_3_16bit_channels[] = { 239 .ch = (struct iio_chan_spec *)st_magn_16bit_channels, 317 .ch = (struct iio_chan_spec *)st_magn_16bit_channels, 395 .ch = (struct iio_chan_spec *)st_magn_2_16bit_channels, 451 .ch = (struct iio_chan_spec *)st_magn_3_16bit_channels, 490 struct iio_chan_spec const *ch, int *val, in st_magn_read_raw() 523 struct iio_chan_spec const *chan, int val, int val2, long mask) in st_magn_write_raw()
|
D | hid-sensor-magn-3d.c | 72 static const struct iio_chan_spec magn_3d_channels[] = { 140 static void magn_3d_adjust_channel_bit_mask(struct iio_chan_spec *channels, in magn_3d_adjust_channel_bit_mask() 152 struct iio_chan_spec const *chan, in magn_3d_read_raw() 211 struct iio_chan_spec const *chan, in magn_3d_write_raw() 306 struct iio_chan_spec **channels, in magn_3d_parse_report() 313 struct iio_chan_spec *_channels; in magn_3d_parse_report() 346 sizeof(struct iio_chan_spec), in magn_3d_parse_report() 420 struct iio_chan_spec *channels; in hid_magn_3d_probe()
|
D | mag3110.c | 148 struct iio_chan_spec const *chan, in mag3110_read_raw() 214 struct iio_chan_spec const *chan, in mag3110_write_raw() 288 static const struct iio_chan_spec mag3110_channels[] = {
|
D | mmc35240.c | 156 static const struct iio_chan_spec mmc35240_channels[] = { 355 struct iio_chan_spec const *chan, int *val, in mmc35240_read_raw() 398 struct iio_chan_spec const *chan, int val, in mmc35240_write_raw()
|
D | ak8975.c | 668 struct iio_chan_spec const *chan, in ak8975_read_raw() 695 static const struct iio_chan_spec ak8975_channels[] = {
|
D | bmc150_magn.c | 459 struct iio_chan_spec const *chan, in bmc150_magn_read_raw() 534 struct iio_chan_spec const *chan, in bmc150_magn_write_raw() 640 static const struct iio_chan_spec bmc150_magn_channels[] = {
|
/linux-4.4.14/drivers/iio/pressure/ |
D | st_pressure_core.c | 108 static const struct iio_chan_spec st_press_1_channels[] = { 144 static const struct iio_chan_spec st_press_lps001wp_channels[] = { 185 .ch = (struct iio_chan_spec *)st_press_1_channels, 233 .ch = (struct iio_chan_spec *)st_press_lps001wp_channels, 269 .ch = (struct iio_chan_spec *)st_press_1_channels, 314 struct iio_chan_spec const *ch, in st_press_write_raw() 335 struct iio_chan_spec const *ch, int *val, in st_press_read_raw()
|
D | hid-sensor-press.c | 47 static const struct iio_chan_spec press_channels[] = { 60 static void press_adjust_channel_bit_mask(struct iio_chan_spec *channels, in press_adjust_channel_bit_mask() 72 struct iio_chan_spec const *chan, in press_read_raw() 138 struct iio_chan_spec const *chan, in press_write_raw() 218 struct iio_chan_spec *channels, in press_parse_report() 290 (struct iio_chan_spec *)indio_dev->channels, in hid_press_probe()
|
D | ms5637.c | 34 struct iio_chan_spec const *channel, int *val, in ms5637_read_raw() 73 struct iio_chan_spec const *chan, in ms5637_write_raw() 95 static const struct iio_chan_spec ms5637_channels[] = {
|
D | t5403.c | 130 struct iio_chan_spec const *chan, in t5403_read_raw() 162 struct iio_chan_spec const *chan, in t5403_write_raw() 185 static const struct iio_chan_spec t5403_channels[] = {
|
D | mpl115.c | 100 struct iio_chan_spec const *chan, in mpl115_read_raw() 131 static const struct iio_chan_spec mpl115_channels[] = {
|
D | ms5611_core.c | 177 struct iio_chan_spec const *chan, in ms5611_read_raw() 218 static const struct iio_chan_spec ms5611_channels[] = {
|
D | mpl3115.c | 76 struct iio_chan_spec const *chan, in mpl3115_read_raw() 181 static const struct iio_chan_spec mpl3115_channels[] = {
|
D | bmp280.c | 90 static const struct iio_chan_spec bmp280_channels[] = { 281 struct iio_chan_spec const *chan, in bmp280_read_raw()
|
/linux-4.4.14/drivers/iio/accel/ |
D | st_accel_core.c | 176 static const struct iio_chan_spec st_accel_8bit_channels[] = { 192 static const struct iio_chan_spec st_accel_12bit_channels[] = { 208 static const struct iio_chan_spec st_accel_16bit_channels[] = { 236 .ch = (struct iio_chan_spec *)st_accel_12bit_channels, 307 .ch = (struct iio_chan_spec *)st_accel_12bit_channels, 367 .ch = (struct iio_chan_spec *)st_accel_16bit_channels, 446 .ch = (struct iio_chan_spec *)st_accel_12bit_channels, 500 .ch = (struct iio_chan_spec *)st_accel_8bit_channels, 546 struct iio_chan_spec const *ch, int *val, in st_accel_read_raw() 575 struct iio_chan_spec const *chan, int val, int val2, long mask) in st_accel_write_raw()
|
D | ssp_accel_sensor.c | 37 struct iio_chan_spec const *chan, int *val, in ssp_accel_read_raw() 56 struct iio_chan_spec const *chan, int val, in ssp_accel_write_raw() 84 static const struct iio_chan_spec ssp_acc_channels[] = {
|
D | hid-sensor-accel-3d.c | 59 static const struct iio_chan_spec accel_3d_channels[] = { 94 static void accel_3d_adjust_channel_bit_mask(struct iio_chan_spec *channels, in accel_3d_adjust_channel_bit_mask() 106 struct iio_chan_spec const *chan, in accel_3d_read_raw() 164 struct iio_chan_spec const *chan, in accel_3d_write_raw() 249 struct iio_chan_spec *channels, in accel_3d_parse_report() 330 (struct iio_chan_spec *)indio_dev->channels, in hid_accel_3d_probe()
|
D | mma9551.c | 62 const struct iio_chan_spec *chan, in mma9551_read_incli_chan() 116 struct iio_chan_spec const *chan, in mma9551_read_raw() 157 const struct iio_chan_spec *chan, in mma9551_read_event_config() 234 const struct iio_chan_spec *chan, in mma9551_write_event_config() 255 const struct iio_chan_spec *chan, in mma9551_write_event_value() 282 const struct iio_chan_spec *chan, in mma9551_read_event_value() 325 static const struct iio_chan_spec mma9551_channels[] = {
|
D | mma8452.c | 131 const struct iio_chan_spec *channels; 314 struct iio_chan_spec const *chan, in mma8452_read_raw() 433 struct iio_chan_spec const *chan, in mma8452_write_raw() 490 const struct iio_chan_spec *chan, in mma8452_read_thresh() 546 const struct iio_chan_spec *chan, in mma8452_write_thresh() 597 const struct iio_chan_spec *chan, in mma8452_read_event_config() 614 const struct iio_chan_spec *chan, in mma8452_write_event_config() 818 static const struct iio_chan_spec mma8452_channels[] = { 825 static const struct iio_chan_spec mma8453_channels[] = { 832 static const struct iio_chan_spec mma8652_channels[] = { [all …]
|
D | kxsd9.c | 133 struct iio_chan_spec const *chan, in kxsd9_write_raw() 151 struct iio_chan_spec const *chan, in kxsd9_read_raw() 186 static const struct iio_chan_spec kxsd9_channels[] = {
|
D | bma180.c | 43 const struct iio_chan_spec *channels; 464 struct iio_chan_spec const *chan, int *val, int *val2, in bma180_read_raw() 508 struct iio_chan_spec const *chan, int val, int val2, long mask) in bma180_write_raw() 543 const struct iio_chan_spec *chan) in bma180_get_power_mode() 551 const struct iio_chan_spec *chan, unsigned int mode) in bma180_set_power_mode() 605 static const struct iio_chan_spec bma180_channels[] = { 613 static const struct iio_chan_spec bma250_channels[] = {
|
D | bmc150-accel-core.c | 158 const struct iio_chan_spec *channels; 545 struct iio_chan_spec const *chan, in bmc150_accel_get_axis() 578 struct iio_chan_spec const *chan, in bmc150_accel_read_raw() 639 struct iio_chan_spec const *chan, in bmc150_accel_write_raw() 667 const struct iio_chan_spec *chan, in bmc150_accel_read_event() 691 const struct iio_chan_spec *chan, in bmc150_accel_write_event() 717 const struct iio_chan_spec *chan, in bmc150_accel_read_event_config() 727 const struct iio_chan_spec *chan, in bmc150_accel_write_event_config() 1011 static const struct iio_chan_spec bma222e_accel_channels[] = 1013 static const struct iio_chan_spec bma250e_accel_channels[] = [all …]
|
D | mma9553.c | 472 struct iio_chan_spec const *chan, in mma9553_read_raw() 615 struct iio_chan_spec const *chan, in mma9553_write_raw() 720 const struct iio_chan_spec *chan, in mma9553_read_event_config() 735 const struct iio_chan_spec *chan, in mma9553_write_event_config() 776 const struct iio_chan_spec *chan, in mma9553_read_event_value() 816 const struct iio_chan_spec *chan, in mma9553_write_event_value() 863 const struct iio_chan_spec *chan) in mma9553_get_calibgender_mode() 877 const struct iio_chan_spec *chan, in mma9553_set_calibgender_mode() 953 static const struct iio_chan_spec mma9553_channels[] = {
|
D | mxc4005.c | 215 struct iio_chan_spec const *chan, in mxc4005_read_raw() 251 struct iio_chan_spec const *chan, in mxc4005_write_raw() 296 static const struct iio_chan_spec mxc4005_channels[] = {
|
D | kxcjk-1013.c | 689 struct iio_chan_spec const *chan, int *val, in kxcjk1013_read_raw() 739 struct iio_chan_spec const *chan, int val, in kxcjk1013_write_raw() 767 const struct iio_chan_spec *chan, in kxcjk1013_read_event() 791 const struct iio_chan_spec *chan, in kxcjk1013_write_event() 817 const struct iio_chan_spec *chan, in kxcjk1013_read_event_config() 827 const struct iio_chan_spec *chan, in kxcjk1013_write_event_config() 931 static const struct iio_chan_spec kxcjk1013_channels[] = {
|
D | stk8ba50.c | 124 static const struct iio_chan_spec stk8ba50_channels[] = { 214 struct iio_chan_spec const *chan, in stk8ba50_read_raw() 255 struct iio_chan_spec const *chan, in stk8ba50_write_raw()
|
D | mma9551_core.h | 76 const struct iio_chan_spec *chan,
|
D | stk8312.c | 95 static const struct iio_chan_spec stk8312_channels[] = { 337 struct iio_chan_spec const *chan, in stk8312_read_raw() 381 struct iio_chan_spec const *chan, in stk8312_write_raw()
|
D | mma9551_core.c | 730 const struct iio_chan_spec *chan, in mma9551_read_accel_chan()
|
/linux-4.4.14/drivers/iio/light/ |
D | cm36651.c | 194 struct iio_chan_spec const *chan, int *val) in cm36651_read_output() 330 struct iio_chan_spec const *chan, int *val) in cm36651_read_channel() 359 struct iio_chan_spec const *chan, int *val2) in cm36651_read_int_time() 394 struct iio_chan_spec const *chan, int val) in cm36651_write_int_time() 449 struct iio_chan_spec const *chan, in cm36651_read_raw() 475 struct iio_chan_spec const *chan, in cm36651_write_raw() 492 const struct iio_chan_spec *chan, in cm36651_read_prox_thresh() 506 const struct iio_chan_spec *chan, in cm36651_write_prox_thresh() 532 const struct iio_chan_spec *chan, in cm36651_write_prox_event_config() 551 const struct iio_chan_spec *chan, in cm36651_read_prox_event_config() [all …]
|
D | hid-sensor-prox.c | 43 static const struct iio_chan_spec prox_channels[] = { 56 static void prox_adjust_channel_bit_mask(struct iio_chan_spec *channels, in prox_adjust_channel_bit_mask() 68 struct iio_chan_spec const *chan, in prox_read_raw() 134 struct iio_chan_spec const *chan, in prox_write_raw() 214 struct iio_chan_spec *channels, in prox_parse_report() 280 (struct iio_chan_spec *)indio_dev->channels, in hid_prox_probe()
|
D | hid-sensor-als.c | 48 static const struct iio_chan_spec als_channels[] = { 63 static void als_adjust_channel_bit_mask(struct iio_chan_spec *channels, in als_adjust_channel_bit_mask() 75 struct iio_chan_spec const *chan, in als_read_raw() 141 struct iio_chan_spec const *chan, in als_write_raw() 221 struct iio_chan_spec *channels, in als_parse_report() 291 (struct iio_chan_spec *)indio_dev->channels, in hid_als_probe()
|
D | apds9300.c | 239 struct iio_chan_spec const *chan, int *val, int *val2, in apds9300_read_raw() 277 const struct iio_chan_spec *chan, enum iio_event_type type, in apds9300_read_thresh() 298 const struct iio_chan_spec *chan, enum iio_event_type type, in apds9300_write_thresh() 316 const struct iio_chan_spec *chan, in apds9300_read_interrupt_config() 326 const struct iio_chan_spec *chan, enum iio_event_type type, in apds9300_write_interrupt_config() 367 static const struct iio_chan_spec apds9300_channels[] = {
|
D | al3320a.c | 67 static const struct iio_chan_spec al3320a_channels[] = { 115 struct iio_chan_spec const *chan, int *val, in al3320a_read_raw() 150 struct iio_chan_spec const *chan, int val, in al3320a_write_raw()
|
D | tsl4531.c | 68 static const struct iio_chan_spec tsl4531_channels[] = { 78 struct iio_chan_spec const *chan, in tsl4531_read_raw() 113 struct iio_chan_spec const *chan, in tsl4531_write_raw()
|
D | stk3310.c | 140 static const struct iio_chan_spec stk3310_channels[] = { 195 const struct iio_chan_spec *chan, in stk3310_read_event() 230 const struct iio_chan_spec *chan, in stk3310_write_event() 266 const struct iio_chan_spec *chan, in stk3310_read_event_config() 282 const struct iio_chan_spec *chan, in stk3310_write_event_config() 305 struct iio_chan_spec const *chan, in stk3310_read_raw() 363 struct iio_chan_spec const *chan, in stk3310_write_raw()
|
D | opt3001.c | 212 static const struct iio_chan_spec opt3001_channels[] = { 345 struct iio_chan_spec const *chan, int *val, int *val2, in opt3001_read_raw() 376 struct iio_chan_spec const *chan, int val, int val2, in opt3001_write_raw() 402 const struct iio_chan_spec *chan, enum iio_event_type type, in opt3001_read_event_value() 430 const struct iio_chan_spec *chan, enum iio_event_type type, in opt3001_write_event_value() 486 const struct iio_chan_spec *chan, enum iio_event_type type, in opt3001_read_event_config() 495 const struct iio_chan_spec *chan, enum iio_event_type type, in opt3001_write_event_config()
|
D | cm3323.c | 64 static const struct iio_chan_spec cm3323_channels[] = { 158 struct iio_chan_spec const *chan, int *val, in cm3323_read_raw() 195 struct iio_chan_spec const *chan, int val, in cm3323_write_raw()
|
D | tsl2563.c | 456 struct iio_chan_spec const *chan, in tsl2563_write_raw() 476 struct iio_chan_spec const *chan, in tsl2563_read_raw() 547 static const struct iio_chan_spec tsl2563_channels[] = { 571 const struct iio_chan_spec *chan, enum iio_event_type type, in tsl2563_read_thresh() 592 const struct iio_chan_spec *chan, enum iio_event_type type, in tsl2563_write_thresh() 641 const struct iio_chan_spec *chan, enum iio_event_type type, in tsl2563_write_interrupt_config() 683 const struct iio_chan_spec *chan, enum iio_event_type type, in tsl2563_read_interrupt_config()
|
D | adjd_s311.c | 163 static const struct iio_chan_spec adjd_s311_channels[] = { 172 struct iio_chan_spec const *chan, in adjd_s311_read_raw() 209 struct iio_chan_spec const *chan, in adjd_s311_write_raw()
|
D | cm32181.c | 207 struct iio_chan_spec const *chan, in cm32181_read_raw() 233 struct iio_chan_spec const *chan, in cm32181_write_raw() 272 static const struct iio_chan_spec cm32181_channels[] = {
|
D | apds9960.c | 285 static const struct iio_chan_spec apds9960_channels[] = { 472 struct iio_chan_spec const *chan, in apds9960_read_raw() 539 struct iio_chan_spec const *chan, in apds9960_write_raw() 573 static inline int apds9960_get_thres_reg(const struct iio_chan_spec *chan, in apds9960_get_thres_reg() 610 const struct iio_chan_spec *chan, in apds9960_read_event() 646 const struct iio_chan_spec *chan, in apds9960_write_event() 684 const struct iio_chan_spec *chan, in apds9960_read_event_config() 703 const struct iio_chan_spec *chan, in apds9960_write_event_config()
|
D | vcnl4000.c | 93 static const struct iio_chan_spec vcnl4000_channels[] = { 105 struct iio_chan_spec const *chan, in vcnl4000_read_raw()
|
D | bh1750.c | 135 struct iio_chan_spec const *chan, in bh1750_read_raw() 171 struct iio_chan_spec const *chan, in bh1750_write_raw() 226 static const struct iio_chan_spec bh1750_channels[] = {
|
D | acpi-als.c | 49 static const struct iio_chan_spec acpi_als_channels[] = { 150 struct iio_chan_spec const *chan, int *val, in acpi_als_read_raw()
|
D | isl29125.c | 73 static const struct iio_chan_spec isl29125_channels[] = { 123 struct iio_chan_spec const *chan, in isl29125_read_raw() 152 struct iio_chan_spec const *chan, in isl29125_write_raw()
|
D | ltr501.c | 146 struct iio_chan_spec const *channels; 583 static const struct iio_chan_spec ltr501_channels[] = { 611 static const struct iio_chan_spec ltr301_channels[] = { 625 struct iio_chan_spec const *chan, in ltr501_read_raw() 725 struct iio_chan_spec const *chan, in ltr501_write_raw() 824 const struct iio_chan_spec *chan, in ltr501_read_thresh() 884 const struct iio_chan_spec *chan, in ltr501_write_thresh() 947 const struct iio_chan_spec *chan, in ltr501_read_event() 973 const struct iio_chan_spec *chan, in ltr501_write_event() 996 const struct iio_chan_spec *chan, in ltr501_read_event_config() [all …]
|
D | tcs3472.c | 81 static const struct iio_chan_spec tcs3472_channels[] = { 112 struct iio_chan_spec const *chan, in tcs3472_read_raw() 148 struct iio_chan_spec const *chan, in tcs3472_write_raw()
|
D | cm3232.c | 238 struct iio_chan_spec const *chan, in cm3232_read_raw() 263 struct iio_chan_spec const *chan, in cm3232_write_raw() 302 static const struct iio_chan_spec cm3232_channels[] = {
|
D | tcs3414.c | 88 static const struct iio_chan_spec tcs3414_channels[] = { 129 struct iio_chan_spec const *chan, in tcs3414_read_raw() 165 struct iio_chan_spec const *chan, in tcs3414_write_raw()
|
D | us5182d.c | 143 static const struct iio_chan_spec us5182d_channels[] = { 214 struct iio_chan_spec const *chan, int *val, in us5182d_read_raw() 321 struct iio_chan_spec const *chan, int val, in us5182d_write_raw()
|
D | pa12203001.c | 101 static const struct iio_chan_spec pa12203001_channels[] = { 211 struct iio_chan_spec const *chan, int *val, in pa12203001_read_raw() 279 struct iio_chan_spec const *chan, int val, in pa12203001_write_raw()
|
D | gp2ap020a00f.c | 1000 static u8 gp2ap020a00f_get_thresh_reg(const struct iio_chan_spec *chan, in gp2ap020a00f_get_thresh_reg() 1022 const struct iio_chan_spec *chan, in gp2ap020a00f_write_event_val() 1081 const struct iio_chan_spec *chan, in gp2ap020a00f_read_event_val() 1164 const struct iio_chan_spec *chan, in gp2ap020a00f_write_event_config() 1200 const struct iio_chan_spec *chan, in gp2ap020a00f_read_event_config() 1237 struct iio_chan_spec const *chan, int *val) in gp2ap020a00f_read_channel() 1283 struct iio_chan_spec const *chan, in gp2ap020a00f_read_raw() 1337 static const struct iio_chan_spec gp2ap020a00f_channels[] = {
|
D | rpr0521.c | 165 static const struct iio_chan_spec rpr0521_channels[] = { 318 struct iio_chan_spec const *chan, int *val, in rpr0521_read_raw() 371 struct iio_chan_spec const *chan, int val, in rpr0521_write_raw()
|
D | jsa1212.c | 222 struct iio_chan_spec const *chan, in jsa1212_read_raw() 261 static const struct iio_chan_spec jsa1212_channels[] = {
|
D | lm3533-als.c | 196 struct iio_chan_spec const *chan, in lm3533_als_read_raw() 237 static const struct iio_chan_spec lm3533_als_channels[] = {
|
/linux-4.4.14/drivers/iio/orientation/ |
D | hid-sensor-rotation.c | 37 static const struct iio_chan_spec dev_rot_channels[] = { 49 static void dev_rot_adjust_channel_bit_mask(struct iio_chan_spec *chan, in dev_rot_adjust_channel_bit_mask() 62 struct iio_chan_spec const *chan, in dev_rot_read_raw() 101 struct iio_chan_spec const *chan, in dev_rot_write_raw() 179 struct iio_chan_spec *channels, in dev_rot_parse_report() 254 (struct iio_chan_spec *)indio_dev->channels, in hid_dev_rot_probe()
|
D | hid-sensor-incl-3d.c | 59 static const struct iio_chan_spec incl_3d_channels[] = { 94 static void incl_3d_adjust_channel_bit_mask(struct iio_chan_spec *chan, in incl_3d_adjust_channel_bit_mask() 106 struct iio_chan_spec const *chan, in incl_3d_read_raw() 164 struct iio_chan_spec const *chan, in incl_3d_write_raw() 249 struct iio_chan_spec *channels, in incl_3d_parse_report() 346 (struct iio_chan_spec *)indio_dev->channels, in hid_incl_3d_probe()
|
/linux-4.4.14/drivers/iio/gyro/ |
D | st_gyro_core.c | 115 static const struct iio_chan_spec st_gyro_16bit_channels[] = { 139 .ch = (struct iio_chan_spec *)st_gyro_16bit_channels, 202 .ch = (struct iio_chan_spec *)st_gyro_16bit_channels, 261 .ch = (struct iio_chan_spec *)st_gyro_16bit_channels, 317 struct iio_chan_spec const *ch, int *val, in st_gyro_read_raw() 346 struct iio_chan_spec const *chan, int val, int val2, long mask) in st_gyro_write_raw()
|
D | ssp_gyro_sensor.c | 37 struct iio_chan_spec const *chan, int *val, in ssp_gyro_read_raw() 56 struct iio_chan_spec const *chan, int val, in ssp_gyro_write_raw() 84 static const struct iio_chan_spec ssp_gyro_channels[] = {
|
D | hid-sensor-gyro-3d.c | 59 static const struct iio_chan_spec gyro_3d_channels[] = { 94 static void gyro_3d_adjust_channel_bit_mask(struct iio_chan_spec *channels, in gyro_3d_adjust_channel_bit_mask() 106 struct iio_chan_spec const *chan, in gyro_3d_read_raw() 164 struct iio_chan_spec const *chan, in gyro_3d_write_raw() 249 struct iio_chan_spec *channels, in gyro_3d_parse_report() 327 (struct iio_chan_spec *)indio_dev->channels, in hid_gyro_3d_probe()
|
D | adis16260.c | 107 const struct iio_chan_spec *channels; 123 static const struct iio_chan_spec adis16260_channels[] = { 139 static const struct iio_chan_spec adis16266_channels[] = { 193 struct iio_chan_spec const *chan, in adis16260_read_raw() 272 struct iio_chan_spec const *chan, in adis16260_write_raw()
|
D | adis16130.c | 70 struct iio_chan_spec const *chan, in adis16130_read_raw() 118 static const struct iio_chan_spec adis16130_channels[] = {
|
D | adis16080.c | 76 struct iio_chan_spec const *chan, in adis16080_read_raw() 129 static const struct iio_chan_spec adis16080_channels[] = {
|
D | itg3200_core.c | 88 const struct iio_chan_spec *chan, in itg3200_read_raw() 133 struct iio_chan_spec const *chan, in itg3200_write_raw() 260 static const struct iio_chan_spec itg3200_channels[] = {
|
D | adxrs450.c | 284 struct iio_chan_spec const *chan, in adxrs450_write_raw() 305 struct iio_chan_spec const *chan, in adxrs450_read_raw() 371 static const struct iio_chan_spec adxrs450_channels[2][2] = {
|
D | bmg160_core.c | 483 struct iio_chan_spec const *chan, in bmg160_read_raw() 543 struct iio_chan_spec const *chan, in bmg160_write_raw() 601 const struct iio_chan_spec *chan, in bmg160_read_event() 622 const struct iio_chan_spec *chan, in bmg160_write_event() 645 const struct iio_chan_spec *chan, in bmg160_read_event_config() 656 const struct iio_chan_spec *chan, in bmg160_write_event_config() 742 static const struct iio_chan_spec bmg160_channels[] = {
|
D | adis16136.c | 294 const struct iio_chan_spec *chan, int *val, int *val2, long info) in adis16136_read_raw() 333 const struct iio_chan_spec *chan, int val, int val2, long info) in adis16136_write_raw() 355 static const struct iio_chan_spec adis16136_channels[] = {
|
/linux-4.4.14/drivers/iio/humidity/ |
D | htu21.c | 40 struct iio_chan_spec const *channel, int *val, in htu21_read_raw() 79 struct iio_chan_spec const *chan, in htu21_write_raw() 104 static const struct iio_chan_spec htu21_channels[] = { 121 static const struct iio_chan_spec ms8607_channels[] = {
|
D | hdc100x.c | 82 static const struct iio_chan_spec hdc100x_channels[] = { 140 struct iio_chan_spec const *chan) in hdc100x_get_measurement() 185 struct iio_chan_spec const *chan, int *val, in hdc100x_read_raw() 233 struct iio_chan_spec const *chan, in hdc100x_write_raw()
|
D | si7020.c | 45 struct iio_chan_spec const *chan, int *val, in si7020_read_raw() 96 static const struct iio_chan_spec si7020_channels[] = {
|
D | si7005.c | 77 struct iio_chan_spec const *chan, int *val, in si7005_read_raw() 112 static const struct iio_chan_spec si7005_channels[] = {
|
D | dht11.c | 160 const struct iio_chan_spec *chan, in dht11_read_raw() 238 static const struct iio_chan_spec dht11_chan_spec[] = {
|
/linux-4.4.14/drivers/iio/imu/ |
D | adis16480.c | 112 const struct iio_chan_spec *channels; 338 const struct iio_chan_spec *chan, int bias) in adis16480_set_calibbias() 360 const struct iio_chan_spec *chan, int *bias) in adis16480_get_calibbias() 390 const struct iio_chan_spec *chan, int scale) in adis16480_set_calibscale() 402 const struct iio_chan_spec *chan, int *scale) in adis16480_get_calibscale() 437 const struct iio_chan_spec *chan, int *freq) in adis16480_get_filter_freq() 461 const struct iio_chan_spec *chan, unsigned int freq) in adis16480_set_filter_freq() 502 const struct iio_chan_spec *chan, int *val, int *val2, long info) in adis16480_read_raw() 552 const struct iio_chan_spec *chan, int val, int val2, long info) in adis16480_write_raw() 646 static const struct iio_chan_spec adis16480_channels[] = { [all …]
|
D | adis16400_core.c | 327 struct iio_chan_spec const *chan, int val, int val2, long info) in adis16400_write_raw() 373 struct iio_chan_spec const *chan, int *val, int *val2, long info) in adis16400_read_raw() 611 static const struct iio_chan_spec adis16400_channels[] = { 627 static const struct iio_chan_spec adis16445_channels[] = { 638 static const struct iio_chan_spec adis16448_channels[] = { 666 static const struct iio_chan_spec adis16350_channels[] = { 684 static const struct iio_chan_spec adis16300_channels[] = { 697 static const struct iio_chan_spec adis16334_channels[] = { 892 const struct iio_chan_spec *ch = &chip_info->channels[i]; in adis16400_setup_chan_mask()
|
D | kmx61.c | 272 static const struct iio_chan_spec kmx61_acc_channels[] = { 278 static const struct iio_chan_spec kmx61_mag_channels[] = { 789 struct iio_chan_spec const *chan, int *val, in kmx61_read_raw() 859 struct iio_chan_spec const *chan, int val, in kmx61_write_raw() 892 const struct iio_chan_spec *chan, in kmx61_read_event() 914 const struct iio_chan_spec *chan, in kmx61_write_event() 938 const struct iio_chan_spec *chan, in kmx61_read_event_config() 948 const struct iio_chan_spec *chan, in kmx61_write_event_config() 1247 const struct iio_chan_spec *chan, in kmx61_indiodev_setup()
|
D | adis16400.h | 147 const struct iio_chan_spec *channels;
|
D | adis_buffer.c | 27 const struct iio_chan_spec *chan; in adis_update_scan_mode()
|
D | adis.c | 375 const struct iio_chan_spec *chan, unsigned int error_mask, int *val) in adis_single_conversion()
|
/linux-4.4.14/drivers/iio/temperature/ |
D | tsys02d.c | 31 struct iio_chan_spec const *channel, int *val, in tsys02d_read_raw() 62 struct iio_chan_spec const *chan, in tsys02d_write_raw() 87 static const struct iio_chan_spec tsys02d_channels[] = {
|
D | tmp006.c | 77 struct iio_chan_spec const *channel, int *val, in tmp006_read_raw() 127 struct iio_chan_spec const *chan, in tmp006_write_raw() 163 static const struct iio_chan_spec tmp006_channels[] = {
|
D | mlx90614.c | 222 struct iio_chan_spec const *channel, int *val, in mlx90614_read_raw() 313 struct iio_chan_spec const *channel, int val, in mlx90614_write_raw() 352 struct iio_chan_spec const *channel, in mlx90614_write_raw_get_fmt() 365 static const struct iio_chan_spec mlx90614_channels[] = {
|
D | tsys01.c | 81 struct iio_chan_spec const *channel, int *val, in tsys01_read_raw() 105 static const struct iio_chan_spec tsys01_channels[] = {
|
/linux-4.4.14/drivers/iio/ |
D | iio_core.h | 18 struct iio_chan_spec; 24 struct iio_chan_spec const *chan,
|
D | industrialio-core.c | 156 const struct iio_chan_spec 349 uintptr_t priv, const struct iio_chan_spec *chan, char *buf) in iio_enum_available_read() 369 uintptr_t priv, const struct iio_chan_spec *chan, char *buf) in iio_enum_read() 388 uintptr_t priv, const struct iio_chan_spec *chan, const char *buf, in iio_enum_write() 599 struct iio_chan_spec const *chan, in __iio_device_attr_init() 732 struct iio_chan_spec const *chan, in __iio_add_chan_devattr() 779 struct iio_chan_spec const *chan, in iio_device_add_info_mask_type() 807 struct iio_chan_spec const *chan) in iio_device_add_channel_sysfs() 1183 const struct iio_chan_spec *channels = indio_dev->channels; in iio_check_unique_scan_index()
|
D | industrialio-event.c | 324 const struct iio_chan_spec *chan, unsigned int spec_index, in iio_device_add_event() 377 struct iio_chan_spec const *chan) in iio_device_add_event_sysfs()
|
D | industrialio-buffer.c | 411 const struct iio_chan_spec *chan) in iio_buffer_add_channel_sysfs() 517 const struct iio_chan_spec *ch; in iio_compute_scan_bytes() 1007 const struct iio_chan_spec *channels; in iio_buffer_alloc_sysfs_and_mask() 1245 const struct iio_chan_spec *ch; in iio_buffer_update_demux()
|
D | inkern.c | 81 static const struct iio_chan_spec 85 const struct iio_chan_spec *chan = NULL; in iio_chan_spec_from_name()
|
/linux-4.4.14/drivers/staging/iio/accel/ |
D | adis16203_core.c | 32 struct iio_chan_spec const *chan, in adis16203_write_raw() 45 struct iio_chan_spec const *chan, in adis16203_read_raw() 103 static const struct iio_chan_spec adis16203_channels[] = {
|
D | adis16204_core.c | 37 struct iio_chan_spec const *chan, in adis16204_read_raw() 113 struct iio_chan_spec const *chan, in adis16204_write_raw() 139 static const struct iio_chan_spec adis16204_channels[] = {
|
D | adis16209_core.c | 38 struct iio_chan_spec const *chan, in adis16209_write_raw() 66 struct iio_chan_spec const *chan, in adis16209_read_raw() 133 static const struct iio_chan_spec adis16209_channels[] = {
|
D | adis16201_core.c | 33 struct iio_chan_spec const *chan, in adis16201_read_raw() 105 struct iio_chan_spec const *chan, in adis16201_write_raw() 134 static const struct iio_chan_spec adis16201_channels[] = {
|
D | lis3l02dq_core.c | 193 const struct iio_chan_spec *chan, in lis3l02dq_read_thresh() 208 const struct iio_chan_spec *chan, in lis3l02dq_write_thresh() 222 struct iio_chan_spec const *chan, in lis3l02dq_write_raw() 251 struct iio_chan_spec const *chan, in lis3l02dq_read_raw() 556 static const struct iio_chan_spec lis3l02dq_channels[] = { 564 const struct iio_chan_spec *chan, in lis3l02dq_read_event_config() 616 const struct iio_chan_spec *chan, in lis3l02dq_write_event_config()
|
D | adis16240_core.c | 81 struct iio_chan_spec const *chan, in adis16240_read_raw() 156 struct iio_chan_spec const *chan, in adis16240_write_raw() 175 static const struct iio_chan_spec adis16240_channels[] = {
|
D | sca3000_core.c | 418 static const struct iio_chan_spec sca3000_channels[] = { 424 static const struct iio_chan_spec sca3000_channels_with_temp[] = { 448 struct iio_chan_spec const *chan, in sca3000_read_raw() 683 const struct iio_chan_spec *chan, in sca3000_read_thresh() 715 const struct iio_chan_spec *chan, in sca3000_write_thresh() 837 const struct iio_chan_spec *chan, in sca3000_read_event_config() 940 const struct iio_chan_spec *chan, in sca3000_write_event_config()
|
D | adis16220_core.c | 262 struct iio_chan_spec const *chan, in adis16220_read_raw() 332 static const struct iio_chan_spec adis16220_channels[] = {
|
/linux-4.4.14/drivers/iio/amplifiers/ |
D | ad8366.c | 53 struct iio_chan_spec const *chan, in ad8366_read_raw() 83 struct iio_chan_spec const *chan, in ad8366_write_raw() 131 static const struct iio_chan_spec ad8366_channels[] = {
|
/linux-4.4.14/drivers/staging/iio/magnetometer/ |
D | hmc5843_core.c | 111 const struct iio_chan_spec *channels; 348 struct iio_chan_spec const *chan, in hmc5843_read_raw() 379 struct iio_chan_spec const *chan, in hmc5843_write_raw() 404 struct iio_chan_spec const *chan, in hmc5843_write_raw_get_fmt() 464 static const struct iio_chan_spec hmc5843_channels[] = { 472 static const struct iio_chan_spec hmc5883_channels[] = {
|
/linux-4.4.14/drivers/staging/iio/resolver/ |
D | ad2s90.c | 29 struct iio_chan_spec const *chan, in ad2s90_read_raw() 54 static const struct iio_chan_spec ad2s90_chan = {
|
D | ad2s1200.c | 45 struct iio_chan_spec const *chan, in ad2s1200_read_raw() 85 static const struct iio_chan_spec ad2s1200_channels[] = {
|
D | ad2s1210.c | 465 struct iio_chan_spec const *chan, in ad2s1210_read_raw() 564 static const struct iio_chan_spec ad2s1210_channels[] = {
|
/linux-4.4.14/drivers/iio/potentiometer/ |
D | mcp4531.c | 94 static const struct iio_chan_spec mcp4531_channels[] = { 100 struct iio_chan_spec const *chan, in mcp4531_read_raw() 125 struct iio_chan_spec const *chan, in mcp4531_write_raw()
|
/linux-4.4.14/drivers/staging/iio/cdc/ |
D | ad7150.c | 98 struct iio_chan_spec const *chan, in ad7150_read_raw() 127 const struct iio_chan_spec *chan, enum iio_event_type type, in ad7150_read_event_config() 212 const struct iio_chan_spec *chan, enum iio_event_type type, in ad7150_write_event_config() 279 const struct iio_chan_spec *chan, in ad7150_read_event_value() 305 const struct iio_chan_spec *chan, in ad7150_write_event_value() 465 static const struct iio_chan_spec ad7150_channels[] = {
|
D | ad7152.c | 251 struct iio_chan_spec const *chan, in ad7152_write_raw() 321 struct iio_chan_spec const *chan, in ad7152_read_raw() 415 struct iio_chan_spec const *chan, in ad7152_write_raw_get_fmt() 434 static const struct iio_chan_spec ad7152_channels[] = {
|
D | ad7746.c | 119 static const struct iio_chan_spec ad7746_channels[] = { 215 struct iio_chan_spec const *chan) in ad7746_select_channel() 469 struct iio_chan_spec const *chan, in ad7746_write_raw() 560 struct iio_chan_spec const *chan, in ad7746_read_raw()
|
/linux-4.4.14/drivers/iio/proximity/ |
D | sx9500.c | 132 static const struct iio_chan_spec sx9500_channels[] = { 271 const struct iio_chan_spec *chan, in sx9500_read_prox_data() 311 const struct iio_chan_spec *chan, in sx9500_read_proximity() 386 const struct iio_chan_spec *chan, in sx9500_read_raw() 433 const struct iio_chan_spec *chan, in sx9500_write_raw() 528 const struct iio_chan_spec *chan, in sx9500_read_event_config() 542 const struct iio_chan_spec *chan, in sx9500_write_event_config()
|
D | pulsedlight-lidar-lite-v2.c | 50 static const struct iio_chan_spec lidar_channels[] = { 152 struct iio_chan_spec const *chan, in lidar_read_raw()
|
D | as3935.c | 70 static const struct iio_chan_spec as3935_channels[] = { 161 struct iio_chan_spec const *chan, in as3935_read_raw()
|
/linux-4.4.14/drivers/staging/iio/adc/ |
D | lpc32xx_adc.c | 70 struct iio_chan_spec const *chan, in lpc32xx_read_raw() 111 static const struct iio_chan_spec lpc32xx_adc_iio_channels[] = {
|
D | spear_adc.c | 140 struct iio_chan_spec const *chan, in spear_adc_read_raw() 180 struct iio_chan_spec const *chan, in spear_adc_write_raw() 216 static const struct iio_chan_spec spear_adc_iio_channels[] = {
|
D | ad7780.c | 37 struct iio_chan_spec channel; 87 struct iio_chan_spec const *chan, in ad7780_read_raw()
|
D | ad7606.h | 54 const struct iio_chan_spec *channels;
|
D | ad7606_core.c | 81 struct iio_chan_spec const *chan, in ad7606_read_raw() 253 static const struct iio_chan_spec ad7606_8_channels[] = { 265 static const struct iio_chan_spec ad7606_6_channels[] = { 275 static const struct iio_chan_spec ad7606_4_channels[] = {
|
D | ad7192.c | 491 struct iio_chan_spec const *chan, in ad7192_read_raw() 532 struct iio_chan_spec const *chan, in ad7192_write_raw() 574 struct iio_chan_spec const *chan, in ad7192_write_raw_get_fmt() 598 static const struct iio_chan_spec ad7192_channels[] = {
|
D | mxs-lradc.c | 903 const struct iio_chan_spec *chan, in mxs_lradc_read_raw() 953 const struct iio_chan_spec *chan, in mxs_lradc_write_raw() 992 const struct iio_chan_spec *chan, in mxs_lradc_write_raw_get_fmt() 1402 static const struct iio_chan_spec mx23_lradc_chan_spec[] = { 1438 static const struct iio_chan_spec mx28_lradc_chan_spec[] = {
|
D | ad7280a.c | 124 struct iio_chan_spec *channels; 785 struct iio_chan_spec const *chan, in ad7280_read_raw()
|
/linux-4.4.14/drivers/staging/iio/gyro/ |
D | adis16060_core.c | 80 struct iio_chan_spec const *chan, in adis16060_read_raw() 124 static const struct iio_chan_spec adis16060_channels[] = {
|
/linux-4.4.14/include/linux/iio/common/ |
D | st_sensors.h | 185 struct iio_chan_spec *ch; 285 struct iio_chan_spec const *ch, int *val);
|
/linux-4.4.14/drivers/iio/chemical/ |
D | vz89x.c | 42 static const struct iio_chan_spec vz89x_channels[] = { 141 struct iio_chan_spec const *chan, int *val, in vz89x_read_raw()
|
/linux-4.4.14/drivers/staging/iio/light/ |
D | isl29018.c | 352 struct iio_chan_spec const *chan, in isl29018_write_raw() 391 struct iio_chan_spec const *chan, in isl29018_read_raw() 474 static const struct iio_chan_spec isl29018_channels[] = { 480 static const struct iio_chan_spec isl29023_channels[] = { 666 const struct iio_chan_spec *channels;
|
D | isl29028.c | 267 struct iio_chan_spec const *chan, int val, int val2, long mask) in isl29028_write_raw() 326 struct iio_chan_spec const *chan, int *val, int *val2, long mask) in isl29028_read_raw() 391 static const struct iio_chan_spec isl29028_channels[] = {
|
D | tsl2x7x_core.c | 170 struct iio_chan_spec channel[4]; 1218 const struct iio_chan_spec *chan, in tsl2x7x_read_interrupt_config() 1234 const struct iio_chan_spec *chan, in tsl2x7x_write_interrupt_config() 1259 const struct iio_chan_spec *chan, in tsl2x7x_write_thresh() 1297 const struct iio_chan_spec *chan, in tsl2x7x_read_thresh() 1333 struct iio_chan_spec const *chan, in tsl2x7x_read_raw() 1394 struct iio_chan_spec const *chan, in tsl2x7x_write_raw()
|
/linux-4.4.14/drivers/iio/imu/inv_mpu6050/ |
D | inv_mpu_core.c | 303 struct iio_chan_spec const *chan, in inv_mpu6050_read_raw() 435 struct iio_chan_spec const *chan, long mask) in inv_write_raw_get_fmt() 473 struct iio_chan_spec const *chan, in inv_mpu6050_write_raw() 669 static const struct iio_chan_spec inv_mpu_channels[] = {
|
/linux-4.4.14/drivers/iio/frequency/ |
D | adf4350.c | 247 const struct iio_chan_spec *chan, in adf4350_write() 307 const struct iio_chan_spec *chan, in adf4350_read() 368 static const struct iio_chan_spec adf4350_chan = {
|
D | ad9523.c | 270 struct iio_chan_spec ad9523_channels[AD9523_NUM_CHAN]; 616 struct iio_chan_spec const *chan, in ad9523_read_raw() 652 struct iio_chan_spec const *chan, in ad9523_write_raw()
|
/linux-4.4.14/include/linux/iio/adc/ |
D | ad_sigma_delta.h | 115 const struct iio_chan_spec *chan, int *val);
|
/linux-4.4.14/drivers/staging/iio/Documentation/ |
D | inkernel.txt | 18 matched against the datasheet_name field of the iio_chan_spec.
|
/linux-4.4.14/include/linux/iio/imu/ |
D | adis.h | 157 const struct iio_chan_spec *chan, unsigned int error_mask,
|
/linux-4.4.14/drivers/iio/common/st_sensors/ |
D | st_sensors_core.c | 442 struct iio_chan_spec const *ch, int *data) in st_sensors_read_axis_data() 473 struct iio_chan_spec const *ch, int *val) in st_sensors_read_info_raw()
|
/linux-4.4.14/drivers/staging/iio/impedance-analyzer/ |
D | ad5933.c | 110 static const struct iio_chan_spec ad5933_channels[] = { 516 struct iio_chan_spec const *chan, in ad5933_read_raw()
|
/linux-4.4.14/drivers/staging/iio/meter/ |
D | ade7758_core.c | 633 static const struct iio_chan_spec ade7758_channels[] = {
|