/linux-6.1.9/drivers/iio/adc/ |
D | xilinx-ams.c | 233 .scan_index = _scan_index, \ 244 .scan_index = _scan_index, \ 418 scan_mask |= BIT_ULL(indio_dev->channels[i].scan_index); in ams_enable_channel_sequence() 687 if (chan->scan_index >= AMS_CTRL_SEQ_BASE) { in ams_read_raw() 692 } else if (chan->scan_index >= AMS_PS_SEQ_MAX) in ams_read_raw() 704 if (chan->scan_index < AMS_PS_SEQ_MAX) in ams_read_raw() 706 else if (chan->scan_index >= AMS_PS_SEQ_MAX && in ams_read_raw() 707 chan->scan_index < AMS_CTRL_SEQ_BASE) in ams_read_raw() 730 static int ams_get_alarm_offset(int scan_index, enum iio_event_direction dir) in ams_get_alarm_offset() argument 734 if (scan_index >= AMS_PS_SEQ_MAX) in ams_get_alarm_offset() [all …]
|
D | ingenic-adc.c | 396 .scan_index = -1, 407 .scan_index = -1, 419 .scan_index = -1, 428 .scan_index = -1, 437 .scan_index = -1, 448 .scan_index = -1, 457 .scan_index = 0, 468 .scan_index = 1, 479 .scan_index = 2, 490 .scan_index = 3, [all …]
|
D | ti-adc0832.c | 50 .scan_index = chan, \ 67 .scan_index = si, \ 209 int scan_index; in adc0832_trigger_handler() local 214 for_each_set_bit(scan_index, indio_dev->active_scan_mask, in adc0832_trigger_handler() 217 &indio_dev->channels[scan_index]; in adc0832_trigger_handler()
|
D | max1118.c | 55 .scan_index = ch, \ 172 int scan_index; in max1118_trigger_handler() local 177 for_each_set_bit(scan_index, indio_dev->active_scan_mask, in max1118_trigger_handler() 180 &indio_dev->channels[scan_index]; in max1118_trigger_handler()
|
D | ti-adc084s021.c | 47 .scan_index = (num), \ 166 int scan_index; in adc084s021_buffer_preenable() local 169 for_each_set_bit(scan_index, indio_dev->active_scan_mask, in adc084s021_buffer_preenable() 172 &indio_dev->channels[scan_index]; in adc084s021_buffer_preenable()
|
D | stm32-adc.c | 1828 u32 vinn, int scan_index, bool differential) in stm32_adc_chan_init_one() argument 1843 chan->scan_index = scan_index; in stm32_adc_chan_init_one() 1917 int scan_index = 0, ret, i, c; in stm32_adc_legacy_chan_init() local 1936 stm32_adc_chan_init_one(indio_dev, &channels[scan_index], in stm32_adc_legacy_chan_init() 1938 scan_index, true); in stm32_adc_legacy_chan_init() 1939 scan_index++; in stm32_adc_legacy_chan_init() 1962 stm32_adc_chan_init_one(indio_dev, &channels[scan_index], in stm32_adc_legacy_chan_init() 1963 chans[c], 0, scan_index, false); in stm32_adc_legacy_chan_init() 1964 scan_index++; in stm32_adc_legacy_chan_init() 1974 for (i = 0; i < scan_index; i++) { in stm32_adc_legacy_chan_init() [all …]
|
D | ti-ads124s08.c | 118 .scan_index = index, \ 279 int scan_index, j = 0; in ads124s_trigger_handler() local 282 for_each_set_bit(scan_index, indio_dev->active_scan_mask, in ads124s_trigger_handler() 285 scan_index); in ads124s_trigger_handler()
|
D | ti-adc12138.c | 70 .scan_index = chan, \ 90 .scan_index = si, \ 342 int scan_index; in adc12138_trigger_handler() local 347 for_each_set_bit(scan_index, indio_dev->active_scan_mask, in adc12138_trigger_handler() 350 &indio_dev->channels[scan_index]; in adc12138_trigger_handler()
|
/linux-6.1.9/Documentation/driver-api/iio/ |
D | buffers.rst | 37 * :file:`index`, the scan_index of the channel. 79 int scan_index 99 .scan_index = 0, 108 /* similar for Y (with channel2 = IIO_MOD_Y, scan_index = 1) 109 * and Z (with channel2 = IIO_MOD_Z, scan_index = 2) axis 113 Here **scan_index** defines the order in which the enabled channels are placed 114 inside the buffer. Channels with a lower **scan_index** will be placed before 116 **scan_index**. 118 Setting **scan_index** to -1 can be used to indicate that the specific channel
|
/linux-6.1.9/drivers/iio/accel/ |
D | hid-sensor-accel-3d.c | 61 .scan_index = CHANNEL_SCAN_INDEX_X, 71 .scan_index = CHANNEL_SCAN_INDEX_Y, 81 .scan_index = CHANNEL_SCAN_INDEX_Z, 97 .scan_index = CHANNEL_SCAN_INDEX_X, 107 .scan_index = CHANNEL_SCAN_INDEX_Y, 117 .scan_index = CHANNEL_SCAN_INDEX_Z, 152 report_id = accel_state->accel[chan->scan_index].report_id; in accel_3d_read_raw() 153 min = accel_state->accel[chan->scan_index].logical_minimum; in accel_3d_read_raw() 154 address = accel_3d_addresses[chan->scan_index]; in accel_3d_read_raw()
|
/linux-6.1.9/drivers/iio/dummy/ |
D | iio_simple_dummy.c | 129 .scan_index = DUMMY_INDEX_VOLTAGE_0, 168 .scan_index = DUMMY_INDEX_DIFFVOLTAGE_1M2, 186 .scan_index = DUMMY_INDEX_DIFFVOLTAGE_3M4, 213 .scan_index = DUMMY_INDEX_ACCELX, 230 .scan_index = -1, /* No buffer support */ 240 .scan_index = -1, /* No buffer support */ 251 .scan_index = -1, /* No buffer support */ 262 .scan_index = -1, /* No buffer support */
|
/linux-6.1.9/drivers/iio/position/ |
D | hid-sensor-custom-intel-hinge.c | 66 .scan_index = CHANNEL_SCAN_INDEX_HINGE_ANGLE, 79 .scan_index = CHANNEL_SCAN_INDEX_SCREEN_ANGLE, 92 .scan_index = CHANNEL_SCAN_INDEX_KEYBOARD_ANGLE, 122 report_id = st->hinge[chan->scan_index].report_id; in hinge_read_raw() 123 min = st->hinge[chan->scan_index].logical_minimum; in hinge_read_raw() 131 hinge_addresses[chan->scan_index], in hinge_read_raw()
|
/linux-6.1.9/drivers/iio/gyro/ |
D | hid-sensor-gyro-3d.c | 60 .scan_index = CHANNEL_SCAN_INDEX_X, 70 .scan_index = CHANNEL_SCAN_INDEX_Y, 80 .scan_index = CHANNEL_SCAN_INDEX_Z, 113 report_id = gyro_state->gyro[chan->scan_index].report_id; in gyro_3d_read_raw() 114 min = gyro_state->gyro[chan->scan_index].logical_minimum; in gyro_3d_read_raw() 115 address = gyro_3d_addresses[chan->scan_index]; in gyro_3d_read_raw()
|
D | adis16260.c | 232 addr = adis16260_addresses[chan->scan_index][0]; in adis16260_read_raw() 240 addr = adis16260_addresses[chan->scan_index][1]; in adis16260_read_raw() 282 addr = adis16260_addresses[chan->scan_index][0]; in adis16260_write_raw() 288 addr = adis16260_addresses[chan->scan_index][1]; in adis16260_write_raw()
|
/linux-6.1.9/drivers/iio/chemical/ |
D | atlas-sensor.c | 120 .scan_index = 0, 135 .scan_index = -1 147 .scan_index = _idx + 1, \ 162 .scan_index = 0, 179 .scan_index = -1 189 .scan_index = 0, 206 .scan_index = 0, 221 .scan_index = -1 230 .scan_index = 0,
|
/linux-6.1.9/drivers/iio/orientation/ |
D | hid-sensor-incl-3d.c | 63 .scan_index = CHANNEL_SCAN_INDEX_X, 73 .scan_index = CHANNEL_SCAN_INDEX_Y, 83 .scan_index = CHANNEL_SCAN_INDEX_Z, 116 report_id = incl_state->incl[chan->scan_index].report_id; in incl_3d_read_raw() 117 min = incl_state->incl[chan->scan_index].logical_minimum; in incl_3d_read_raw() 118 address = incl_3d_addresses[chan->scan_index]; in incl_3d_read_raw()
|
/linux-6.1.9/drivers/iio/light/ |
D | cros_ec_light_prox.c | 47 int idx = chan->scan_index; in cros_ec_light_prox_read() 131 int idx = chan->scan_index; in cros_ec_light_prox_write() 201 channel->scan_index = 0; in cros_ec_light_prox_probe() 230 channel->scan_index = 1; in cros_ec_light_prox_probe()
|
/linux-6.1.9/drivers/iio/common/ssp_sensors/ |
D | ssp_iio_sensor.h | 11 .scan_index = _index,\ 25 .scan_index = _si, \
|
/linux-6.1.9/drivers/iio/common/scmi_sensors/ |
D | scmi_iio.c | 322 *val = lower_32_bits(readings[ch->scan_index].value); in scmi_iio_read_channel_data() 323 *val2 = upper_32_bits(readings[ch->scan_index].value); in scmi_iio_read_channel_data() 338 scale = sensor->sensor_info->axis[ch->scan_index].scale; in scmi_iio_read_raw() 421 int scan_index) in scmi_iio_set_timestamp_channel() argument 425 iio_chan->scan_index = scan_index; in scmi_iio_set_timestamp_channel() 433 enum iio_modifier mod, int scan_index) in scmi_iio_set_data_channel() argument 443 iio_chan->scan_index = scan_index; in scmi_iio_set_data_channel()
|
/linux-6.1.9/drivers/iio/imu/ |
D | adis16400.c | 505 adis16400_addresses[chan->scan_index], val); in adis16400_write_raw() 588 adis16400_addresses[chan->scan_index], &val16); in adis16400_read_raw() 679 .scan_index = (si), \ 705 .scan_index = ADIS16400_SCAN_GYRO_ ## mod, \ 725 .scan_index = ADIS16400_SCAN_ACC_ ## mod, \ 744 .scan_index = ADIS16400_SCAN_MAGN_ ## mod, \ 770 .scan_index = ADIS16350_SCAN_TEMP_ ## mod, \ 789 .scan_index = ADIS16350_SCAN_TEMP_X, \ 807 .scan_index = ADIS16300_SCAN_INCLI_ ## mod, \ 860 .scan_index = ADIS16400_SCAN_BARO, [all …]
|
/linux-6.1.9/drivers/iio/pressure/ |
D | st_pressure_core.c | 128 .scan_index = 0, 142 .scan_index = 1, 162 .scan_index = 0, 176 .scan_index = 1, 194 .scan_index = 0, 209 .scan_index = 1,
|
D | cros_ec_baro.c | 44 int idx = chan->scan_index; in cros_ec_baro_read() 159 channel->scan_index = 0; in cros_ec_baro_probe() 177 channel->scan_index = 1; in cros_ec_baro_probe()
|
/linux-6.1.9/drivers/iio/common/cros_ec_sensors/ |
D | cros_ec_sensors.c | 45 int idx = chan->scan_index; in cros_ec_sensors_read() 157 int idx = chan->scan_index; in cros_ec_sensors_write() 259 channel->scan_index = i; in cros_ec_sensors_probe() 285 channel->scan_index = CROS_EC_SENSOR_MAX_AXIS; in cros_ec_sensors_probe()
|
/linux-6.1.9/drivers/iio/health/ |
D | afe440x.h | 88 .scan_index = _index, \ 105 .scan_index = -1, \
|
/linux-6.1.9/drivers/iio/temperature/ |
D | maxim_thermocouple.c | 46 .scan_index = 0, 65 .scan_index = 0, 81 .scan_index = 1,
|