/linux-6.1.9/drivers/iio/accel/ |
D | cros_ec_accel_legacy.c | 172 #define CROS_EC_ACCEL_ROTATE_AXIS(_axis) \ argument 173 ((_axis) == CROS_EC_SENSOR_Z ? CROS_EC_SENSOR_Z : \ 174 ((_axis) == CROS_EC_SENSOR_X ? CROS_EC_SENSOR_Y : \ 177 #define CROS_EC_ACCEL_LEGACY_CHAN(_axis) \ argument 180 .channel2 = IIO_MOD_X + (_axis), \ 196 .scan_index = CROS_EC_ACCEL_ROTATE_AXIS(_axis), \
|
D | dmard09.c | 34 #define DMARD09_CHANNEL(_axis, offset) { \ argument 40 .channel2 = IIO_MOD_##_axis, \
|
D | mxc6255.c | 81 #define MXC6255_CHANNEL(_axis, reg) { \ argument 84 .channel2 = IIO_MOD_##_axis, \
|
D | dmard06.c | 39 #define DMARD06_ACCEL_CHANNEL(_axis, _reg) { \ argument 42 .channel2 = IIO_MOD_##_axis, \
|
D | mxc4005.c | 273 #define MXC4005_CHANNEL(_axis, _addr) { \ argument 276 .channel2 = IIO_MOD_##_axis, \ 280 .scan_index = AXIS_##_axis, \
|
D | bma180.c | 666 #define BMA023_ACC_CHANNEL(_axis, _bits) { \ argument 669 .channel2 = IIO_MOD_##_axis, \ 673 .scan_index = AXIS_##_axis, \ 695 #define BMA180_ACC_CHANNEL(_axis, _bits) { \ argument 698 .channel2 = IIO_MOD_##_axis, \ 702 .scan_index = AXIS_##_axis, \
|
D | bmi088-accel-core.c | 441 #define BMI088_ACCEL_CHANNEL(_axis) { \ argument 444 .channel2 = IIO_MOD_##_axis, \ 450 .scan_index = AXIS_##_axis, \
|
D | kxcjk-1013.c | 1161 #define KXCJK1013_CHANNEL(_axis) { \ argument 1164 .channel2 = IIO_MOD_##_axis, \ 1168 .scan_index = AXIS_##_axis, \
|
D | bmc150-accel-core.c | 1109 #define BMC150_ACCEL_CHANNEL(_axis, bits) { \ argument 1112 .channel2 = IIO_MOD_##_axis, \ 1116 .scan_index = AXIS_##_axis, \
|
D | bma400_core.c | 353 #define BMA400_ACC_CHANNEL(_index, _axis) { \ argument 356 .channel2 = IIO_MOD_##_axis, \
|
/linux-6.1.9/drivers/platform/x86/ |
D | hp_accel.c | 165 #define AXIS_DMI_MATCH(_ident, _name, _axis) { \ argument 171 .driver_data = &lis3lv02d_axis_##_axis \ 176 _axis) { \ argument 183 .driver_data = &lis3lv02d_axis_##_axis \
|
/linux-6.1.9/drivers/iio/magnetometer/ |
D | mmc35240.c | 143 #define MMC35240_CHANNEL(_axis) { \ argument 146 .channel2 = IIO_MOD_ ## _axis, \ 147 .address = AXIS_ ## _axis, \
|
D | bmc150_magn.c | 635 #define BMC150_MAGN_CHANNEL(_axis) { \ argument 638 .channel2 = IIO_MOD_##_axis, \ 643 .scan_index = AXIS_##_axis, \
|
/linux-6.1.9/drivers/iio/imu/ |
D | kmx61.c | 229 #define KMX61_ACC_CHAN(_axis) { \ argument 232 .channel2 = IIO_MOD_ ## _axis, \ 237 .scan_index = KMX61_AXIS_ ## _axis, \ 249 #define KMX61_MAG_CHAN(_axis) { \ argument 252 .channel2 = IIO_MOD_ ## _axis, \ 257 .scan_index = KMX61_AXIS_ ## _axis, \
|
D | fxos8700_core.c | 237 #define FXOS8700_CHANNEL(_type, _axis) { \ argument 240 .channel2 = IIO_MOD_##_axis, \
|
/linux-6.1.9/drivers/iio/gyro/ |
D | fxas21002c_core.c | 690 #define FXAS21002C_CHANNEL(_axis) { \ argument 693 .channel2 = IIO_MOD_##_axis, \ 699 .scan_index = CHANNEL_SCAN_INDEX_##_axis, \
|
D | bmg160_core.c | 832 #define BMG160_CHANNEL(_axis) { \ argument 835 .channel2 = IIO_MOD_##_axis, \ 840 .scan_index = AXIS_##_axis, \
|
/linux-6.1.9/drivers/iio/imu/bmi160/ |
D | bmi160_core.c | 98 #define BMI160_CHANNEL(_type, _axis, _index) { \ argument 101 .channel2 = IIO_MOD_##_axis, \
|
/linux-6.1.9/drivers/iio/imu/bno055/ |
D | bno055.c | 432 #define BNO055_CHANNEL(_type, _axis, _index, _address, _sep, _sh, _avail) { \ argument 436 .channel2 = IIO_MOD_##_axis, \ 446 .repeat = IIO_MOD_##_axis == IIO_MOD_QUATERNION ? 4 : 0, \
|