Lines Matching full:bit
15 #define APDS9253_MAIN_CTRL_SAI_LS BIT(5)
16 #define APDS9253_MAIN_CTRL_SW_RESET BIT(4)
17 #define APDS9253_MAIN_CTRL_RGB_MODE BIT(2)
18 #define APDS9253_MAIN_CTRL_LS_EN BIT(1)
23 #define APDS9253_LS_MEAS_RATE_RES_19BIT_200MS BIT(4)
24 #define APDS9253_LS_MEAS_RATE_RES_18BIT_100MS BIT(5) /* default */
25 #define APDS9253_LS_MEAS_RATE_RES_17BIT_50MS (BIT(5) | BIT(4))
26 #define APDS9253_LS_MEAS_RATE_RES_16BIT_25MS BIT(6)
27 #define APDS9253_LS_MEAS_RATE_RES_13_3MS (BIT(6) | BIT(4))
29 #define APDS9253_LS_MEAS_RATE_MES_2000MS (BIT(2) | BIT(1) | BIT(0))
30 #define APDS9253_LS_MEAS_RATE_MES_1000MS (BIT(2) | BIT(0))
31 #define APDS9253_LS_MEAS_RATE_MES_500MS BIT(2)
32 #define APDS9253_LS_MEAS_RATE_MES_200MS (BIT(1) | BIT(0))
33 #define APDS9253_LS_MEAS_RATE_MES_100MS BIT(1) /* default */
34 #define APDS9253_LS_MEAS_RATE_MES_50MS BIT(0)
39 #define APDS9253_LS_GAIN_RANGE_18 BIT(2)
40 #define APDS9253_LS_GAIN_RANGE_9 (BIT(1) | BIT(0))
41 #define APDS9253_LS_GAIN_RANGE_6 BIT(1)
42 #define APDS9253_LS_GAIN_RANGE_3 BIT(0) /* default */
51 #define APDS9253_MAIN_STATUS_POWER_ON BIT(5)
52 #define APDS9253_MAIN_STATUS_LS_INTERRUPT BIT(4)
53 #define APDS9253_MAIN_STATUS_LS_STATUS BIT(3)
72 #define APDS9253_INT_CFG_LS_INT_SEL_ALS BIT(4) /* default */
73 #define APDS9253_INT_CFG_LS_INT_SEL_RED BIT(5)
74 #define APDS9253_INT_CFG_LS_INT_SEL_BLUE (BIT(5) | BIT(4))
75 #define APDS9253_INT_CFG_LS_VAR_MODE_EN BIT(3)
76 #define APDS9253_INT_CFG_LS_INT_MODE_EN BIT(3)