Home
last modified time | relevance | path

Searched refs:channel2 (Results 1 – 25 of 151) sorted by relevance

1234567

/linux-6.1.9/drivers/iio/dummy/
Diio_simple_dummy.c151 .channel2 = 2,
182 .channel2 = 4,
202 .channel2 = IIO_MOD_X,
249 .channel2 = IIO_MOD_RUNNING,
260 .channel2 = IIO_MOD_WALKING,
323 switch (chan->channel2) { in iio_dummy_read_raw()
459 switch (chan->channel2) { in iio_dummy_write_raw()
/linux-6.1.9/drivers/iio/chemical/
Dvz89x.c66 .channel2 = IIO_MOD_CO2,
74 .channel2 = IIO_MOD_VOC,
82 .channel2 = IIO_MOD_VOC,
103 .channel2 = IIO_MOD_VOC,
112 .channel2 = IIO_MOD_CO2,
300 switch (chan->channel2) { in vz89x_read_raw()
Dsgp30.c138 .channel2 = IIO_MOD_VOC,
145 .channel2 = IIO_MOD_CO2,
152 .channel2 = IIO_MOD_ETHANOL,
159 .channel2 = IIO_MOD_H2,
169 .channel2 = IIO_MOD_VOC,
176 .channel2 = IIO_MOD_ETHANOL,
Dccs811.c101 .channel2 = IIO_MOD_CO2,
114 .channel2 = IIO_MOD_VOC,
248 switch (chan->channel2) { in ccs811_read_raw()
280 switch (chan->channel2) { in ccs811_read_raw()
Dams-iaq-core.c40 .channel2 = IIO_MOD_CO2,
52 .channel2 = IIO_MOD_VOC,
Dsps30.c141 switch (chan->channel2) { in sps30_read_raw()
169 switch (chan->channel2) { in sps30_read_raw()
296 .channel2 = IIO_MOD_ ## _mod, \
Datlas-ezo-sensor.c50 .channel2 = _modifier, \
169 switch (chan->channel2) { in atlas_ezo_read_raw()
/linux-6.1.9/drivers/iio/frequency/
Dadmv1014.c284 if (chan->channel2 == IIO_MOD_I) in admv1014_read_raw()
295 if (chan->channel2 == IIO_MOD_I) in admv1014_read_raw()
330 if (chan->channel2 == IIO_MOD_I) { in admv1014_write_raw()
340 if (chan->channel2 == IIO_MOD_I) { in admv1014_write_raw()
373 if (chan->channel2 == IIO_MOD_I) { in admv1014_read()
392 if (chan->channel2 == IIO_MOD_I) in admv1014_read()
419 if (chan->channel2 == IIO_MOD_I) { in admv1014_write()
432 if (chan->channel2 == IIO_MOD_I) { in admv1014_write()
525 .channel2 = IIO_MOD_##rf_comp, \
537 .channel2 = IIO_MOD_##rf_comp, \
[all …]
/linux-6.1.9/drivers/iio/temperature/
Dtmp007.c111 switch (channel->channel2) { in tmp007_read_raw()
225 switch (chan->channel2) { in tmp007_write_event_config()
264 switch (chan->channel2) { in tmp007_read_event_config()
293 switch (chan->channel2) { in tmp007_read_thresh()
328 switch (chan->channel2) { in tmp007_write_thresh()
398 .channel2 = IIO_MOD_TEMP_AMBIENT,
408 .channel2 = IIO_MOD_TEMP_OBJECT,
Dmax31856.c67 .channel2 = IIO_MOD_TEMP_AMBIENT,
164 switch (chan->channel2) { in max31856_thermocouple_read()
227 switch (chan->channel2) { in max31856_read_raw()
Dmlx90614.c229 switch (channel->channel2) { in mlx90614_read_raw()
395 .channel2 = IIO_MOD_TEMP_AMBIENT,
403 .channel2 = IIO_MOD_TEMP_OBJECT,
417 .channel2 = IIO_MOD_TEMP_OBJECT,
/linux-6.1.9/Documentation/devicetree/bindings/gpio/
Dxlnx,gpio-xilinx.yaml56 description: This option sets this GPIO channel2 bits in input mode.
64 description: This option sets this GPIO channel2 bits in output mode.
75 channel2.
87 description: The value defines the bit width of the GPIO channel2.
115 of each bit of GPIO channel2.
/linux-6.1.9/drivers/iio/accel/
Dhid-sensor-accel-3d.c55 .channel2 = IIO_MOD_X,
65 .channel2 = IIO_MOD_Y,
75 .channel2 = IIO_MOD_Z,
91 .channel2 = IIO_MOD_X,
101 .channel2 = IIO_MOD_Y,
111 .channel2 = IIO_MOD_Z,
Dmma9553.c505 if (chan->channel2 == mma9553_activity_to_mod(activity)) in mma9553_read_raw()
516 if (chan->channel2 != IIO_MOD_ROOT_SUM_SQUARED_X_Y_Z) in mma9553_read_raw()
545 if (chan->channel2 != IIO_MOD_ROOT_SUM_SQUARED_X_Y_Z) in mma9553_read_raw()
592 if (chan->channel2 != IIO_MOD_ROOT_SUM_SQUARED_X_Y_Z) in mma9553_read_raw()
684 if (chan->channel2 != IIO_MOD_ROOT_SUM_SQUARED_X_Y_Z) in mma9553_write_raw()
718 event = mma9553_get_event(data, chan->type, chan->channel2, dir); in mma9553_read_event_config()
734 event = mma9553_get_event(data, chan->type, chan->channel2, dir); in mma9553_write_event_config()
935 .channel2 = _chan2, \
963 .channel2 = IIO_MOD_ROOT_SUM_SQUARED_X_Y_Z,
Dmma9551.c60 switch (chan->channel2) { in mma9551_read_incli_chan()
157 return data->event_enabled[chan->channel2 - 1]; in mma9551_read_event_config()
237 chan->channel2, state); in mma9551_write_event_config()
310 .channel2 = axis, \
/linux-6.1.9/drivers/iio/magnetometer/
Dhid-sensor-magn-3d.c71 .channel2 = IIO_MOD_X,
80 .channel2 = IIO_MOD_Y,
89 .channel2 = IIO_MOD_Z,
98 .channel2 = IIO_MOD_NORTH_MAGN_TILT_COMP,
107 .channel2 = IIO_MOD_NORTH_TRUE_TILT_COMP,
116 .channel2 = IIO_MOD_NORTH_MAGN,
125 .channel2 = IIO_MOD_NORTH_TRUE,
/linux-6.1.9/Documentation/leds/
Dleds-lp5523.rst53 cd /sys/class/leds/lp5523:channel2/device
100 - /sys/class/leds/lp5523:channel2/led_current - RW
101 - /sys/class/leds/lp5523:channel2/max_current - RO
/linux-6.1.9/drivers/iio/imu/inv_icm42600/
Dinv_icm42600_accel.c26 .channel2 = _modifier, \
161 switch (chan->channel2) { in inv_icm42600_accel_read_sensor()
377 switch (chan->channel2) { in inv_icm42600_accel_read_offset()
404 switch (chan->channel2) { in inv_icm42600_accel_read_offset()
452 switch (chan->channel2) { in inv_icm42600_accel_write_offset()
499 switch (chan->channel2) { in inv_icm42600_accel_write_offset()
Dinv_icm42600_gyro.c26 .channel2 = _modifier, \
161 switch (chan->channel2) { in inv_icm42600_gyro_read_sensor()
389 switch (chan->channel2) { in inv_icm42600_gyro_read_offset()
416 switch (chan->channel2) { in inv_icm42600_gyro_read_offset()
463 switch (chan->channel2) { in inv_icm42600_gyro_write_offset()
510 switch (chan->channel2) { in inv_icm42600_gyro_write_offset()
/linux-6.1.9/drivers/iio/light/
Dtsl2563.c454 if (chan->channel2 == IIO_MOD_LIGHT_BOTH) in tsl2563_write_raw()
456 else if (chan->channel2 == IIO_MOD_LIGHT_IR) in tsl2563_write_raw()
494 if (chan->channel2 == IIO_MOD_LIGHT_BOTH) in tsl2563_read_raw()
506 if (chan->channel2 == IIO_MOD_LIGHT_BOTH) in tsl2563_read_raw()
545 .channel2 = IIO_MOD_LIGHT_BOTH,
553 .channel2 = IIO_MOD_LIGHT_IR,
Dsi1133.c484 .channel2 = IIO_MOD_LIGHT_BOTH,
488 .channel2 = IIO_MOD_LIGHT_BOTH,
495 .channel2 = IIO_MOD_LIGHT_IR,
500 .channel2 = IIO_MOD_LIGHT_IR,
506 .channel2 = IIO_MOD_LIGHT_IR,
514 .channel2 = IIO_MOD_LIGHT_DUV,
/linux-6.1.9/Documentation/driver-api/iio/
Dbuffers.rst97 .channel2 = IIO_MOD_X,
108 /* similar for Y (with channel2 = IIO_MOD_Y, scan_index = 1)
109 * and Z (with channel2 = IIO_MOD_Z, scan_index = 2) axis
/linux-6.1.9/drivers/iio/gyro/
Dhid-sensor-gyro-3d.c54 .channel2 = IIO_MOD_X,
64 .channel2 = IIO_MOD_Y,
74 .channel2 = IIO_MOD_Z,
/linux-6.1.9/drivers/iio/orientation/
Dhid-sensor-incl-3d.c57 .channel2 = IIO_MOD_X,
67 .channel2 = IIO_MOD_Y,
77 .channel2 = IIO_MOD_Z,
/linux-6.1.9/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_core.c613 chan->channel2, val); in inv_mpu6050_read_channel_data()
627 chan->channel2, val); in inv_mpu6050_read_channel_data()
664 ret = inv_mpu_magn_read(st, chan->channel2, val); in inv_mpu6050_read_channel_data()
737 chan->channel2, val); in inv_mpu6050_read_raw()
743 chan->channel2, val); in inv_mpu6050_read_raw()
859 chan->channel2, val); in inv_mpu6050_write_raw()
864 chan->channel2, val); in inv_mpu6050_write_raw()
1074 .channel2 = _channel2, \
1149 .channel2 = _chan2, \

1234567