Lines Matching +full:10 +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)
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)
74 #define BMI323_ACC_GYRO_CONF_BW_MSK BIT(7)
75 #define BMI323_ACC_GYRO_CONF_AVG_MSK GENMASK(10, 8)
80 #define BMI323_FIFO_CONF_STP_FUL_MSK BIT(0)
81 #define BMI323_FIFO_CONF_ACC_GYR_EN_MSK GENMASK(10, 9)
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)
95 #define BMI323_IO_INT2_LVL_OD_OP_MSK GENMASK(10, 8)
97 #define BMI323_IO_INT_LTCH_MSK BIT(0)
102 #define BMI323_STEP_CNT_MSK GENMASK(11, 10)
106 #define BMI323_ACC_DRDY_MSK GENMASK(11, 10)
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)
143 #define BMI323_STEP_SC1_RST_CNT_MSK BIT(10)
151 #define BMI323_TAP1_TIMOUT_MSK BIT(2)
156 #define BMI323_TAP2_MAX_DUR_MSK GENMASK(15, 10)
196 (BMI323_BYTES_PER_SAMPLE * BMI323_FIFO_FRAME_LENGTH)) - 1)