Home
last modified time | relevance | path

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

1234

/linux-4.19.296/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-4.19.296/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.c101 .channel2 = IIO_MOD_CO2,
114 .channel2 = IIO_MOD_VOC,
230 switch (chan->channel2) { in ccs811_read_raw()
262 switch (chan->channel2) { in ccs811_read_raw()
Dams-iaq-core.c39 .channel2 = IIO_MOD_CO2,
51 .channel2 = IIO_MOD_VOC,
/linux-4.19.296/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-4.19.296/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-4.19.296/drivers/iio/accel/
Dhid-sensor-accel-3d.c68 .channel2 = IIO_MOD_X,
78 .channel2 = IIO_MOD_Y,
88 .channel2 = IIO_MOD_Z,
104 .channel2 = IIO_MOD_X,
114 .channel2 = IIO_MOD_Y,
124 .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, \
Dmxc6255.c87 .channel2 = IIO_MOD_##_axis, \
/linux-4.19.296/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.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-4.19.296/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,
Dadis16130.c122 .channel2 = IIO_MOD_Z,
/linux-4.19.296/drivers/iio/orientation/
Dhid-sensor-incl-3d.c63 .channel2 = IIO_MOD_X,
73 .channel2 = IIO_MOD_Y,
83 .channel2 = IIO_MOD_Z,
/linux-4.19.296/drivers/iio/common/ssp_sensors/
Dssp_iio_sensor.h9 .channel2 = _mod,\
/linux-4.19.296/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_core.c415 chan->channel2, val); in inv_mpu6050_read_channel_data()
427 chan->channel2, val); in inv_mpu6050_read_channel_data()
509 chan->channel2, val); in inv_mpu6050_read_raw()
515 chan->channel2, val); in inv_mpu6050_read_raw()
624 chan->channel2, val); in inv_mpu6050_write_raw()
629 chan->channel2, val); in inv_mpu6050_write_raw()
826 .channel2 = _channel2, \
/linux-4.19.296/drivers/iio/health/
Dmax30100.c119 .channel2 = IIO_MOD_LIGHT_IR,
132 .channel2 = IIO_MOD_LIGHT_RED,

1234