Lines Matching +full:3 +full:x

36 #define ADXL345_REG_READ(x)	((x & 0xFF) | ADXL345_READ_CMD)  argument
59 #define ADXL345_ENABLE_MEASURE_BIT (1 << 3)
62 #define ADXL345_COMPLEMENT_MASK(x) GENMASK(15, (x)) argument
72 #define ADXL345_STATUS_DOUBLE_TAP(x) (((x) >> 5) & 0x1) argument
73 #define ADXL345_STATUS_SINGLE_TAP(x) (((x) >> 6) & 0x1) argument
74 #define ADXL345_STATUS_DATA_RDY(x) (((x) >> 7) & 0x1) argument
78 #define ADXL345_INT_MAP_OVERRUN_MODE(x) (((x) & 0x1) << 0) argument
80 #define ADXL345_INT_MAP_WATERMARK_MODE(x) (((x) & 0x1) << 1) argument
82 #define ADXL345_INT_MAP_FREE_FALL_MODE(x) (((x) & 0x1) << 2) argument
83 #define ADXL345_INT_MAP_INACT_MSK BIT(3)
84 #define ADXL345_INT_MAP_INACT_MODE(x) (((x) & 0x1) << 3) argument
86 #define ADXL345_INT_MAP_ACT_MODE(x) (((x) & 0x1) << 4) argument
88 #define ADXL345_INT_MAP_DOUBLE_TAP_MODE(x) (((x) & 0x1) << 5) argument
90 #define ADXL345_INT_MAP_SINGLE_TAP_MODE(x) (((x) & 0x1) << 6) argument
92 #define ADXL345_INT_MAP_DATA_RDY_MODE(x) (((x) & 0x1) << 7) argument
96 #define ADXL345_POWER_CTL_WAKEUP_4HZ_MODE(x) (((x) & 0x1) << 0) argument
98 #define ADXL345_POWER_CTL_WAKEUP_2HZ_MODE(x) (((x) & 0x1) << 1) argument
100 #define ADXL345_POWER_CTL_SLEEP_MODE(x) (((x) & 0x1) << 2) argument
101 #define ADXL345_POWER_CTL_MEASURE_MSK GENMASK(3, 3)
102 #define ADXL345_POWER_CTL_MEASURE_MODE(x) (((x) & 0x1) << 3) argument
103 #define ADXL345_POWER_CTL_STANDBY_MODE(x) (((x) & 0x0) << 3) argument
107 #define ADXL345_FIFO_CTL_MODE_MODE(x) (((x) & 0x3) << 6) argument
109 #define ADXL345_FIFO_CTL_TRIGGER_MODE(x) (((x) & 0x1) << 5) argument
111 #define ADXL345_FIFO_CTL_SAMPLES_MODE(x) ((x) & 0x1F) argument
113 #define ADXL345_ODR_MSK GENMASK(3, 0)
114 #define ADXL345_ODR_MODE(x) ((x) & 0xF) argument
207 int16_t x; member