Home
last modified time | relevance | path

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

12345

/Linux-v4.19/drivers/iio/dummy/
Diio_simple_dummy.c154 .channel2 = 2,
185 .channel2 = 4,
205 .channel2 = IIO_MOD_X,
252 .channel2 = IIO_MOD_RUNNING,
263 .channel2 = IIO_MOD_WALKING,
326 switch (chan->channel2) { in iio_dummy_read_raw()
462 switch (chan->channel2) { in iio_dummy_write_raw()
/Linux-v4.19/drivers/iio/chemical/
Dvz89x.c67 .channel2 = IIO_MOD_CO2,
75 .channel2 = IIO_MOD_VOC,
83 .channel2 = IIO_MOD_VOC,
104 .channel2 = IIO_MOD_VOC,
113 .channel2 = IIO_MOD_CO2,
301 switch (chan->channel2) { in vz89x_read_raw()
Dccs811.c96 .channel2 = IIO_MOD_CO2,
109 .channel2 = IIO_MOD_VOC,
225 switch (chan->channel2) { in ccs811_read_raw()
257 switch (chan->channel2) { in ccs811_read_raw()
Dams-iaq-core.c39 .channel2 = IIO_MOD_CO2,
51 .channel2 = IIO_MOD_VOC,
/Linux-v4.19/drivers/iio/temperature/
Dtmp007.c115 switch (channel->channel2) { in tmp007_read_raw()
229 switch (chan->channel2) { in tmp007_write_event_config()
268 switch (chan->channel2) { in tmp007_read_event_config()
297 switch (chan->channel2) { in tmp007_read_thresh()
332 switch (chan->channel2) { in tmp007_write_thresh()
402 .channel2 = IIO_MOD_TEMP_AMBIENT,
412 .channel2 = IIO_MOD_TEMP_OBJECT,
Dmlx90614.c231 switch (channel->channel2) { in mlx90614_read_raw()
369 .channel2 = IIO_MOD_TEMP_AMBIENT,
377 .channel2 = IIO_MOD_TEMP_OBJECT,
389 .channel2 = IIO_MOD_TEMP_OBJECT,
Dmaxim_thermocouple.c62 .channel2 = IIO_MOD_TEMP_AMBIENT,
186 switch (chan->channel2) { in maxim_thermocouple_read_raw()
/Linux-v4.19/drivers/iio/accel/
Dhid-sensor-accel-3d.c65 .channel2 = IIO_MOD_X,
75 .channel2 = IIO_MOD_Y,
85 .channel2 = IIO_MOD_Z,
101 .channel2 = IIO_MOD_X,
111 .channel2 = IIO_MOD_Y,
121 .channel2 = IIO_MOD_Z,
Dmma9553.c513 if (chan->channel2 == mma9553_activity_to_mod(activity)) in mma9553_read_raw()
524 if (chan->channel2 != IIO_MOD_ROOT_SUM_SQUARED_X_Y_Z) in mma9553_read_raw()
553 if (chan->channel2 != IIO_MOD_ROOT_SUM_SQUARED_X_Y_Z) in mma9553_read_raw()
600 if (chan->channel2 != IIO_MOD_ROOT_SUM_SQUARED_X_Y_Z) in mma9553_read_raw()
692 if (chan->channel2 != IIO_MOD_ROOT_SUM_SQUARED_X_Y_Z) in mma9553_write_raw()
726 event = mma9553_get_event(data, chan->type, chan->channel2, dir); in mma9553_read_event_config()
742 event = mma9553_get_event(data, chan->type, chan->channel2, dir); in mma9553_write_event_config()
943 .channel2 = _chan2, \
971 .channel2 = IIO_MOD_ROOT_SUM_SQUARED_X_Y_Z,
Dmma9551.c68 switch (chan->channel2) { in mma9551_read_incli_chan()
165 return data->event_enabled[chan->channel2 - 1]; in mma9551_read_event_config()
245 chan->channel2, state); in mma9551_write_event_config()
318 .channel2 = axis, \
Dsca3000.c490 .channel2 = mod, \
522 .channel2 = IIO_MOD_X_AND_Y_AND_Z,
544 .channel2 = IIO_MOD_X_AND_Y_AND_Z,
887 if (chan->channel2 == IIO_MOD_Y) in sca3000_read_event_value()
931 if (chan->channel2 == IIO_MOD_Y) { in sca3000_write_event_value()
1122 switch (chan->channel2) { in sca3000_read_event_config()
1256 switch (chan->channel2) { in sca3000_write_event_config()
Dmma9551_core.h44 .channel2 = axis, \
Ddmard09.c48 .channel2 = IIO_MOD_##_axis, \
/Linux-v4.19/drivers/iio/magnetometer/
Dhid-sensor-magn-3d.c82 .channel2 = IIO_MOD_X,
91 .channel2 = IIO_MOD_Y,
100 .channel2 = IIO_MOD_Z,
109 .channel2 = IIO_MOD_NORTH_MAGN_TILT_COMP,
118 .channel2 = IIO_MOD_NORTH_TRUE_TILT_COMP,
127 .channel2 = IIO_MOD_NORTH_MAGN,
136 .channel2 = IIO_MOD_NORTH_TRUE,
/Linux-v4.19/Documentation/leds/
Dleds-lp5523.txt40 cd /sys/class/leds/lp5523:channel2/device
85 /sys/class/leds/lp5523:channel2/led_current - RW
86 /sys/class/leds/lp5523:channel2/max_current - RO
/Linux-v4.19/drivers/iio/light/
Dtsl2563.c465 if (chan->channel2 == IIO_MOD_LIGHT_BOTH) in tsl2563_write_raw()
467 else if (chan->channel2 == IIO_MOD_LIGHT_IR) in tsl2563_write_raw()
505 if (chan->channel2 == IIO_MOD_LIGHT_BOTH) in tsl2563_read_raw()
517 if (chan->channel2 == IIO_MOD_LIGHT_BOTH) in tsl2563_read_raw()
556 .channel2 = IIO_MOD_LIGHT_BOTH,
564 .channel2 = IIO_MOD_LIGHT_IR,
Dsi1133.c481 .channel2 = IIO_MOD_LIGHT_BOTH,
485 .channel2 = IIO_MOD_LIGHT_BOTH,
492 .channel2 = IIO_MOD_LIGHT_IR,
497 .channel2 = IIO_MOD_LIGHT_IR,
503 .channel2 = IIO_MOD_LIGHT_IR,
511 .channel2 = IIO_MOD_LIGHT_DUV,
/Linux-v4.19/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_core.c366 chan->channel2, val); in inv_mpu6050_read_channel_data()
378 chan->channel2, val); in inv_mpu6050_read_channel_data()
462 chan->channel2, val); in inv_mpu6050_read_raw()
468 chan->channel2, val); in inv_mpu6050_read_raw()
577 chan->channel2, val); in inv_mpu6050_write_raw()
582 chan->channel2, val); in inv_mpu6050_write_raw()
779 .channel2 = _channel2, \
/Linux-v4.19/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
Dcore.rst107 specified using **.channel2** field of the same :c:type:`iio_chan_spec`
122 .channel2 = IIO_MOD_LIGHT_IR,
129 .channel2 = IIO_MOD_LIGHT_BOTH,
/Linux-v4.19/drivers/iio/orientation/
Dhid-sensor-incl-3d.c63 .channel2 = IIO_MOD_X,
73 .channel2 = IIO_MOD_Y,
83 .channel2 = IIO_MOD_Z,
/Linux-v4.19/drivers/iio/gyro/
Dhid-sensor-gyro-3d.c63 .channel2 = IIO_MOD_X,
73 .channel2 = IIO_MOD_Y,
83 .channel2 = IIO_MOD_Z,
Ditg3200_core.c251 .channel2 = IIO_MOD_ ## _mod, \
263 .channel2 = IIO_NO_MOD,
Dadxrs450.c376 .channel2 = IIO_MOD_Z,
393 .channel2 = IIO_MOD_Z,
/Linux-v4.19/drivers/iio/common/ssp_sensors/
Dssp_iio_sensor.h9 .channel2 = _mod,\

12345