Lines Matching refs:BIT

15 #define TMD2620_ENABLE_WEN BIT(3)
16 #define TMD2620_ENABLE_PEN BIT(2)
17 #define TMD2620_ENABLE_PON BIT(0)
57 #define TMD2620_PERS_PPERS (BIT(4) | BIT(5) | BIT(6) | BIT(7))
60 #define TMD2620_CFG0_WLONG BIT(2)
65 #define TMD2620_PCFG0_PPULSE_LEN_8US BIT(6)
66 #define TMD2620_PCFG0_PPULSE_LEN_16US BIT(7)
67 #define TMD2620_PCFG0_PPULSE_LEN_32US (BIT(6) | BIT(7))
70 #define TMD2620_PCFG0_PPULSE (BIT(0) | BIT(1) | BIT(2) | BIT(3) | BIT(4) | BIT(5))
75 #define TMD2620_PCFG1_PGAIN_X2 BIT(6)
76 #define TMD2620_PCFG1_PGAIN_X4 BIT(7)
77 #define TMD2620_PCFG1_PGAIN_X8 (BIT(6) | BIT(7))
78 #define TMD2620_PCFG1_PLDRIVE (BIT(0) | BIT(1) | BIT(2) | BIT(3) | BIT(4))
85 #define TMD2620_STATUS_PSAT BIT(6)
86 #define TMD2620_STATUS_PINT BIT(5)
87 #define TMD2620_STATUS_CINT BIT(3)
88 #define TMD2620_STATUS_ZINT BIT(2)
89 #define TMD2620_STATUS_PSAT_REFLECTIVE BIT(1)
90 #define TMD2620_STATUS_PSAT_AMBIENT BIT(0)
96 #define TMD2620_REVID2_AUX_ID (BIT(0) | BIT(1) | BIT(2) | BIT(3))
99 #define TMD2620_CFG3_INT_READ_CLEAR BIT(7)
100 #define TMD2620_CFG3_SAI BIT(4)
107 #define TMD2620_CALIB_ELECTRICAL BIT(5)
108 #define TMD2620_CALIB_START_OFFSET_CALIB BIT(0)
111 #define TMD2620_CALIBCFG_BINSRCH_TARGET (BIT(5) | BIT(6) | BIT(7))
112 #define TMD2620_CALIBCFG_PROX_AUTO_OFFSET_ADJUST BIT(3)
113 #define TMD2620_CALIBCFG_PRX_DATA_AVG (BIT(0) | BIT(1) | BIT(2))
116 #define TMD2620_CALIBSTAT_OFFSET_ADJUSTED BIT(2)
117 #define TMD2620_CALIBSTAT_CALIB_FINISHED BIT(0)
120 #define TMD2620_INTENAB_PSIEN BIT(6)
121 #define TMD2620_INTENAB_PIEN BIT(5)
122 #define TMD2620_INTENAB_CIEN BIT(3)
123 #define TMD2620_INTENAB_ZIEN BIT(2)