Lines Matching +full:12 +full:- +full:bit
1 /* SPDX-License-Identifier: GPL-2.0 */
3 * IIO driver for Bosch BMI323 6-Axis IMU
25 #define BMI323_STATUS_POR_MSK BIT(0)
36 #define BMI323_STATUS_NOMOTION_MSK BIT(0)
37 #define BMI323_STATUS_MOTION_MSK BIT(1)
38 #define BMI323_STATUS_STP_WTR_MSK BIT(5)
39 #define BMI323_STATUS_TAP_MSK BIT(8)
40 #define BMI323_STATUS_ERROR_MSK BIT(10)
41 #define BMI323_STATUS_TMP_DRDY_MSK BIT(11)
42 #define BMI323_STATUS_GYR_DRDY_MSK BIT(12)
43 #define BMI323_STATUS_ACC_DRDY_MSK BIT(13)
44 #define BMI323_STATUS_ACC_GYR_DRDY_MSK GENMASK(13, 12)
45 #define BMI323_STATUS_FIFO_WTRMRK_MSK BIT(14)
46 #define BMI323_STATUS_FIFO_FULL_MSK BIT(15)
53 #define BMI323_FEAT_IO0_STP_CNT_MSK BIT(9)
54 #define BMI323_FEAT_IO0_S_TAP_MSK BIT(12)
55 #define BMI323_FEAT_IO0_D_TAP_MSK BIT(13)
60 #define BMI323_FEAT_IO_STATUS_MSK BIT(0)
71 #define BMI323_ACC_GYRO_CONF_MODE_MSK GENMASK(14, 12)
74 #define BMI323_ACC_GYRO_CONF_BW_MSK BIT(7)
80 #define BMI323_FIFO_CONF_STP_FUL_MSK BIT(0)
84 #define BMI323_FIFO_FLUSH_MSK BIT(0)
88 #define BMI323_IO_INT1_LVL_MSK BIT(0)
89 #define BMI323_IO_INT1_OD_MSK BIT(1)
90 #define BMI323_IO_INT1_OP_EN_MSK BIT(2)
92 #define BMI323_IO_INT2_LVL_MSK BIT(8)
93 #define BMI323_IO_INT2_OD_MSK BIT(9)
94 #define BMI323_IO_INT2_OP_EN_MSK BIT(10)
97 #define BMI323_IO_INT_LTCH_MSK BIT(0)
107 #define BMI323_FIFO_WTRMRK_MSK GENMASK(13, 12)
112 #define BMI323_FEAT_ENG_EN_MSK BIT(0)
116 #define BMI323_FEAT_DATA_TX_RDY_MSK BIT(1)
118 #define BMI323_FEAT_EVNT_EXT_S_MSK BIT(3)
119 #define BMI323_FEAT_EVNT_EXT_D_MSK BIT(4)
127 #define BMI323_GEN_SET1_MODE_MSK BIT(0)
135 #define BMI323_MO1_REF_UP_MSK BIT(12)
138 #define BMI323_MO3_DURA_MSK GENMASK(12, 0)
143 #define BMI323_STEP_SC1_RST_CNT_MSK BIT(10)
151 #define BMI323_TAP1_TIMOUT_MSK BIT(2)
158 #define BMI323_TAP3_QUIET_TIM_MSK GENMASK(15, 12)
160 #define BMI323_TAP3_QT_AFT_GES_MSK GENMASK(15, 12)
182 * totaling 6 words or 12 bytes. The FIFO buffer can hold a total of
196 (BMI323_BYTES_PER_SAMPLE * BMI323_FIFO_FRAME_LENGTH)) - 1)