/linux/drivers/iio/accel/ |
A 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), \
|
A D | dmard09.c | 34 #define DMARD09_CHANNEL(_axis, offset) { \ argument 40 .channel2 = IIO_MOD_##_axis, \
|
A D | mxc6255.c | 81 #define MXC6255_CHANNEL(_axis, reg) { \ argument 84 .channel2 = IIO_MOD_##_axis, \
|
A D | dmard06.c | 39 #define DMARD06_ACCEL_CHANNEL(_axis, _reg) { \ argument 42 .channel2 = IIO_MOD_##_axis, \
|
A D | mxc4005.c | 273 #define MXC4005_CHANNEL(_axis, _addr) { \ argument 276 .channel2 = IIO_MOD_##_axis, \ 280 .scan_index = AXIS_##_axis, \
|
A D | bmi088-accel-core.c | 404 #define BMI088_ACCEL_CHANNEL(_axis) { \ argument 407 .channel2 = IIO_MOD_##_axis, \ 412 .scan_index = AXIS_##_axis, \
|
A 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, \
|
A D | bma400_core.c | 155 #define BMA400_ACC_CHANNEL(_axis) { \ argument 158 .channel2 = IIO_MOD_##_axis, \
|
A D | kxcjk-1013.c | 1160 #define KXCJK1013_CHANNEL(_axis) { \ argument 1163 .channel2 = IIO_MOD_##_axis, \ 1167 .scan_index = AXIS_##_axis, \
|
A D | bmc150-accel-core.c | 1096 #define BMC150_ACCEL_CHANNEL(_axis, bits) { \ argument 1099 .channel2 = IIO_MOD_##_axis, \ 1103 .scan_index = AXIS_##_axis, \
|
/linux/drivers/platform/x86/ |
A 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/drivers/iio/magnetometer/ |
A D | mmc35240.c | 143 #define MMC35240_CHANNEL(_axis) { \ argument 146 .channel2 = IIO_MOD_ ## _axis, \ 147 .address = AXIS_ ## _axis, \
|
A D | bmc150_magn.c | 635 #define BMC150_MAGN_CHANNEL(_axis) { \ argument 638 .channel2 = IIO_MOD_##_axis, \ 643 .scan_index = AXIS_##_axis, \
|
/linux/drivers/iio/imu/ |
A 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, \
|
A D | fxos8700_core.c | 237 #define FXOS8700_CHANNEL(_type, _axis) { \ argument 240 .channel2 = IIO_MOD_##_axis, \
|
/linux/drivers/iio/gyro/ |
A D | fxas21002c_core.c | 690 #define FXAS21002C_CHANNEL(_axis) { \ argument 693 .channel2 = IIO_MOD_##_axis, \ 699 .scan_index = CHANNEL_SCAN_INDEX_##_axis, \
|
A D | bmg160_core.c | 832 #define BMG160_CHANNEL(_axis) { \ argument 835 .channel2 = IIO_MOD_##_axis, \ 840 .scan_index = AXIS_##_axis, \
|
/linux/drivers/iio/imu/bmi160/ |
A D | bmi160_core.c | 99 #define BMI160_CHANNEL(_type, _axis, _index) { \ argument 102 .channel2 = IIO_MOD_##_axis, \
|