Home
last modified time | relevance | path

Searched full:channel2 (Results 1 – 25 of 189) sorted by relevance

12345678

/linux-6.12.1/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.12.1/drivers/iio/temperature/
Dmcp9600.c98 .channel2 = IIO_MOD_TEMP_AMBIENT, \
167 static int mcp9600_get_alert_index(int channel2, enum iio_event_direction dir) in mcp9600_get_alert_index() argument
169 if (channel2 == IIO_MOD_TEMP_AMBIENT) { in mcp9600_get_alert_index()
191 i = mcp9600_get_alert_index(chan->channel2, dir); in mcp9600_read_event_config()
209 i = mcp9600_get_alert_index(chan->channel2, dir); in mcp9600_write_event_config()
233 i = mcp9600_get_alert_index(chan->channel2, dir); in mcp9600_read_thresh()
270 i = mcp9600_get_alert_index(chan->channel2, dir); in mcp9600_write_thresh()
276 if (chan->channel2 == IIO_MOD_TEMP_AMBIENT) { in mcp9600_write_thresh()
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,
/linux-6.12.1/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.12.1/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.c139 .channel2 = IIO_MOD_VOC,
146 .channel2 = IIO_MOD_CO2,
153 .channel2 = IIO_MOD_ETHANOL,
160 .channel2 = IIO_MOD_H2,
170 .channel2 = IIO_MOD_VOC,
177 .channel2 = IIO_MOD_ETHANOL,
Dens160_core.c72 .channel2 = IIO_MOD_VOC,
87 .channel2 = IIO_MOD_CO2,
123 switch (chan->channel2) { in ens160_read_raw()
Dams-iaq-core.c40 .channel2 = IIO_MOD_CO2,
52 .channel2 = IIO_MOD_VOC,
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()
Dsps30.c141 switch (chan->channel2) { in sps30_read_raw()
169 switch (chan->channel2) { in sps30_read_raw()
296 .channel2 = IIO_MOD_ ## _mod, \
/linux-6.12.1/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.12.1/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.12.1/drivers/iio/light/
Dveml6040.c154 .channel2 = IIO_MOD_LIGHT_RED,
165 .channel2 = IIO_MOD_LIGHT_GREEN,
176 .channel2 = IIO_MOD_LIGHT_BLUE,
187 .channel2 = IIO_MOD_LIGHT_CLEAR,
Dtsl2563.c458 if (chan->channel2 == IIO_MOD_LIGHT_BOTH) in tsl2563_write_raw()
460 else if (chan->channel2 == IIO_MOD_LIGHT_IR) in tsl2563_write_raw()
498 if (chan->channel2 == IIO_MOD_LIGHT_BOTH) in tsl2563_read_raw()
510 if (chan->channel2 == IIO_MOD_LIGHT_BOTH) in tsl2563_read_raw()
549 .channel2 = IIO_MOD_LIGHT_BOTH,
557 .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.12.1/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.12.1/drivers/iio/dummy/
Diio_simple_dummy.c147 * for the positive part, channel2 for the negative.
151 .channel2 = 2,
182 .channel2 = 4,
202 .channel2 = IIO_MOD_X,
249 .channel2 = IIO_MOD_RUNNING,
260 .channel2 = IIO_MOD_WALKING,
324 switch (chan->channel2) { in iio_dummy_read_raw()
453 switch (chan->channel2) { in iio_dummy_write_raw()
/linux-6.12.1/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
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-6.12.1/drivers/iio/imu/inv_icm42600/
Dinv_icm42600_gyro.c27 .channel2 = _modifier, \
156 switch (chan->channel2) { in inv_icm42600_gyro_read_sensor()
415 switch (chan->channel2) { in inv_icm42600_gyro_read_offset()
442 switch (chan->channel2) { in inv_icm42600_gyro_read_offset()
489 switch (chan->channel2) { in inv_icm42600_gyro_write_offset()
536 switch (chan->channel2) { in inv_icm42600_gyro_write_offset()
Dinv_icm42600_accel.c27 .channel2 = _modifier, \
259 switch (chan->channel2) { in inv_icm42600_accel_read_sensor()
507 switch (chan->channel2) { in inv_icm42600_accel_read_offset()
534 switch (chan->channel2) { in inv_icm42600_accel_read_offset()
582 switch (chan->channel2) { in inv_icm42600_accel_write_offset()
629 switch (chan->channel2) { in inv_icm42600_accel_write_offset()
/linux-6.12.1/drivers/iio/orientation/
Dhid-sensor-incl-3d.c57 .channel2 = IIO_MOD_X,
67 .channel2 = IIO_MOD_Y,
77 .channel2 = IIO_MOD_Z,
/linux-6.12.1/drivers/iio/gyro/
Dhid-sensor-gyro-3d.c54 .channel2 = IIO_MOD_X,
64 .channel2 = IIO_MOD_Y,
74 .channel2 = IIO_MOD_Z,

12345678