Home
last modified time | relevance | path

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

123456

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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,
Datlas-ezo-sensor.c48 .channel2 = _modifier, \
167 switch (chan->channel2) { in atlas_ezo_read_raw()
/kernel/linux/linux-5.10/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.c65 .channel2 = IIO_MOD_TEMP_AMBIENT,
162 switch (chan->channel2) { in max31856_thermocouple_read()
225 switch (chan->channel2) { in max31856_read_raw()
Dmlx90614.c227 switch (channel->channel2) { in mlx90614_read_raw()
365 .channel2 = IIO_MOD_TEMP_AMBIENT,
373 .channel2 = IIO_MOD_TEMP_OBJECT,
385 .channel2 = IIO_MOD_TEMP_OBJECT,
Dmaxim_thermocouple.c78 .channel2 = IIO_MOD_TEMP_AMBIENT,
203 switch (chan->channel2) { in maxim_thermocouple_read_raw()
/kernel/linux/linux-5.10/drivers/iio/accel/
Dhid-sensor-accel-3d.c53 .channel2 = IIO_MOD_X,
63 .channel2 = IIO_MOD_Y,
73 .channel2 = IIO_MOD_Z,
89 .channel2 = IIO_MOD_X,
99 .channel2 = IIO_MOD_Y,
109 .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, \
Dsca3000.c487 .channel2 = mod, \
519 .channel2 = IIO_MOD_X_AND_Y_AND_Z,
541 .channel2 = IIO_MOD_X_AND_Y_AND_Z,
885 if (chan->channel2 == IIO_MOD_Y) in sca3000_read_event_value()
929 if (chan->channel2 == IIO_MOD_Y) { in sca3000_write_event_value()
1120 switch (chan->channel2) { in sca3000_read_event_config()
1254 switch (chan->channel2) { in sca3000_write_event_config()
/kernel/linux/linux-5.10/drivers/iio/magnetometer/
Dhid-sensor-magn-3d.c67 .channel2 = IIO_MOD_X,
76 .channel2 = IIO_MOD_Y,
85 .channel2 = IIO_MOD_Z,
94 .channel2 = IIO_MOD_NORTH_MAGN_TILT_COMP,
103 .channel2 = IIO_MOD_NORTH_TRUE_TILT_COMP,
112 .channel2 = IIO_MOD_NORTH_MAGN,
121 .channel2 = IIO_MOD_NORTH_TRUE,
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/iio/light/
Dtsl2563.c452 if (chan->channel2 == IIO_MOD_LIGHT_BOTH) in tsl2563_write_raw()
454 else if (chan->channel2 == IIO_MOD_LIGHT_IR) in tsl2563_write_raw()
492 if (chan->channel2 == IIO_MOD_LIGHT_BOTH) in tsl2563_read_raw()
504 if (chan->channel2 == IIO_MOD_LIGHT_BOTH) in tsl2563_read_raw()
543 .channel2 = IIO_MOD_LIGHT_BOTH,
551 .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,
/kernel/linux/linux-5.10/drivers/iio/gyro/
Dhid-sensor-gyro-3d.c48 .channel2 = IIO_MOD_X,
58 .channel2 = IIO_MOD_Y,
68 .channel2 = IIO_MOD_Z,
/kernel/linux/linux-5.10/Documentation/driver-api/iio/
Dbuffers.rst95 .channel2 = IIO_MOD_X,
106 /* similar for Y (with channel2 = IIO_MOD_Y, scan_index = 1)
107 * and Z (with channel2 = IIO_MOD_Z, scan_index = 2) axis
/kernel/linux/linux-5.10/drivers/iio/orientation/
Dhid-sensor-incl-3d.c49 .channel2 = IIO_MOD_X,
59 .channel2 = IIO_MOD_Y,
69 .channel2 = IIO_MOD_Z,
/kernel/linux/linux-5.10/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_core.c584 chan->channel2, val); in inv_mpu6050_read_channel_data()
598 chan->channel2, val); in inv_mpu6050_read_channel_data()
635 ret = inv_mpu_magn_read(st, chan->channel2, val); in inv_mpu6050_read_channel_data()
708 chan->channel2, val); in inv_mpu6050_read_raw()
714 chan->channel2, val); in inv_mpu6050_read_raw()
832 chan->channel2, val); in inv_mpu6050_write_raw()
837 chan->channel2, val); in inv_mpu6050_write_raw()
1049 .channel2 = _channel2, \
1124 .channel2 = _chan2, \
/kernel/linux/linux-5.10/drivers/iio/common/ssp_sensors/
Dssp_iio_sensor.h9 .channel2 = _mod,\

123456