Home
last modified time | relevance | path

Searched refs:_axis (Results 1 – 19 of 19) sorted by relevance

/Linux-v6.6/drivers/iio/accel/
Dcros_ec_accel_legacy.c172 #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), \
Ddmard09.c34 #define DMARD09_CHANNEL(_axis, offset) { \ argument
40 .channel2 = IIO_MOD_##_axis, \
Dmxc6255.c81 #define MXC6255_CHANNEL(_axis, reg) { \ argument
84 .channel2 = IIO_MOD_##_axis, \
Ddmard06.c39 #define DMARD06_ACCEL_CHANNEL(_axis, _reg) { \ argument
42 .channel2 = IIO_MOD_##_axis, \
Dmxc4005.c273 #define MXC4005_CHANNEL(_axis, _addr) { \ argument
276 .channel2 = IIO_MOD_##_axis, \
280 .scan_index = AXIS_##_axis, \
Dbma180.c665 #define BMA023_ACC_CHANNEL(_axis, _bits) { \ argument
668 .channel2 = IIO_MOD_##_axis, \
672 .scan_index = AXIS_##_axis, \
694 #define BMA180_ACC_CHANNEL(_axis, _bits) { \ argument
697 .channel2 = IIO_MOD_##_axis, \
701 .scan_index = AXIS_##_axis, \
Dbmi088-accel-core.c441 #define BMI088_ACCEL_CHANNEL(_axis) { \ argument
444 .channel2 = IIO_MOD_##_axis, \
450 .scan_index = AXIS_##_axis, \
Dbmc150-accel-core.c1096 #define BMC150_ACCEL_CHANNEL(_axis, bits) { \ argument
1099 .channel2 = IIO_MOD_##_axis, \
1103 .scan_index = AXIS_##_axis, \
Dkxcjk-1013.c1160 #define KXCJK1013_CHANNEL(_axis) { \ argument
1163 .channel2 = IIO_MOD_##_axis, \
1167 .scan_index = AXIS_##_axis, \
Dbma400_core.c352 #define BMA400_ACC_CHANNEL(_index, _axis) { \ argument
355 .channel2 = IIO_MOD_##_axis, \
/Linux-v6.6/drivers/platform/x86/hp/
Dhp_accel.c165 #define AXIS_DMI_MATCH(_ident, _name, _axis) { \ argument
171 .driver_data = &lis3lv02d_axis_##_axis \
176 _axis) { \ argument
183 .driver_data = &lis3lv02d_axis_##_axis \
/Linux-v6.6/drivers/iio/magnetometer/
Dmmc35240.c143 #define MMC35240_CHANNEL(_axis) { \ argument
146 .channel2 = IIO_MOD_ ## _axis, \
147 .address = AXIS_ ## _axis, \
Dbmc150_magn.c635 #define BMC150_MAGN_CHANNEL(_axis) { \ argument
638 .channel2 = IIO_MOD_##_axis, \
643 .scan_index = AXIS_##_axis, \
/Linux-v6.6/drivers/iio/imu/
Dkmx61.c229 #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, \
Dfxos8700_core.c237 #define FXOS8700_CHANNEL(_type, _axis) { \ argument
240 .channel2 = IIO_MOD_##_axis, \
/Linux-v6.6/drivers/iio/gyro/
Dfxas21002c_core.c690 #define FXAS21002C_CHANNEL(_axis) { \ argument
693 .channel2 = IIO_MOD_##_axis, \
699 .scan_index = CHANNEL_SCAN_INDEX_##_axis, \
Dbmg160_core.c831 #define BMG160_CHANNEL(_axis) { \ argument
834 .channel2 = IIO_MOD_##_axis, \
839 .scan_index = AXIS_##_axis, \
/Linux-v6.6/drivers/iio/imu/bmi160/
Dbmi160_core.c98 #define BMI160_CHANNEL(_type, _axis, _index) { \ argument
101 .channel2 = IIO_MOD_##_axis, \
/Linux-v6.6/drivers/iio/imu/bno055/
Dbno055.c432 #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, \