Home
last modified time | relevance | path

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

/linux/drivers/iio/accel/
A 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), \
A Ddmard09.c34 #define DMARD09_CHANNEL(_axis, offset) { \ argument
40 .channel2 = IIO_MOD_##_axis, \
A Dmxc6255.c81 #define MXC6255_CHANNEL(_axis, reg) { \ argument
84 .channel2 = IIO_MOD_##_axis, \
A Ddmard06.c39 #define DMARD06_ACCEL_CHANNEL(_axis, _reg) { \ argument
42 .channel2 = IIO_MOD_##_axis, \
A Dmxc4005.c273 #define MXC4005_CHANNEL(_axis, _addr) { \ argument
276 .channel2 = IIO_MOD_##_axis, \
280 .scan_index = AXIS_##_axis, \
A Dbmi088-accel-core.c404 #define BMI088_ACCEL_CHANNEL(_axis) { \ argument
407 .channel2 = IIO_MOD_##_axis, \
412 .scan_index = AXIS_##_axis, \
A Dbma180.c666 #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 Dbma400_core.c155 #define BMA400_ACC_CHANNEL(_axis) { \ argument
158 .channel2 = IIO_MOD_##_axis, \
A Dkxcjk-1013.c1160 #define KXCJK1013_CHANNEL(_axis) { \ argument
1163 .channel2 = IIO_MOD_##_axis, \
1167 .scan_index = AXIS_##_axis, \
A Dbmc150-accel-core.c1096 #define BMC150_ACCEL_CHANNEL(_axis, bits) { \ argument
1099 .channel2 = IIO_MOD_##_axis, \
1103 .scan_index = AXIS_##_axis, \
/linux/drivers/platform/x86/
A 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/drivers/iio/magnetometer/
A Dmmc35240.c143 #define MMC35240_CHANNEL(_axis) { \ argument
146 .channel2 = IIO_MOD_ ## _axis, \
147 .address = AXIS_ ## _axis, \
A Dbmc150_magn.c635 #define BMC150_MAGN_CHANNEL(_axis) { \ argument
638 .channel2 = IIO_MOD_##_axis, \
643 .scan_index = AXIS_##_axis, \
/linux/drivers/iio/imu/
A 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, \
A Dfxos8700_core.c237 #define FXOS8700_CHANNEL(_type, _axis) { \ argument
240 .channel2 = IIO_MOD_##_axis, \
/linux/drivers/iio/gyro/
A Dfxas21002c_core.c690 #define FXAS21002C_CHANNEL(_axis) { \ argument
693 .channel2 = IIO_MOD_##_axis, \
699 .scan_index = CHANNEL_SCAN_INDEX_##_axis, \
A Dbmg160_core.c832 #define BMG160_CHANNEL(_axis) { \ argument
835 .channel2 = IIO_MOD_##_axis, \
840 .scan_index = AXIS_##_axis, \
/linux/drivers/iio/imu/bmi160/
A Dbmi160_core.c99 #define BMI160_CHANNEL(_type, _axis, _index) { \ argument
102 .channel2 = IIO_MOD_##_axis, \

Completed in 54 milliseconds