Searched refs:CFGR_BLV_SHIFT (Results 1 – 2 of 2) sorted by relevance
83 #define CFGR_BLV_SHIFT 3 macro88 #define BL_CFGR_VAL(law, blv) ((((blv) & CFGR_BLV_MASK) << CFGR_BLV_SHIFT) | ((0x3 & (law)) << 1))601 ((reg_val >> CFGR_BLV_SHIFT) & CFGR_BLV_MASK) + 1); in adp8860_bl_ambient_light_zone_show()628 reg_val &= ~(CFGR_BLV_MASK << CFGR_BLV_SHIFT); in adp8860_bl_ambient_light_zone_store()629 reg_val |= (val - 1) << CFGR_BLV_SHIFT; in adp8860_bl_ambient_light_zone_store()
100 #define CFGR_BLV_SHIFT 3 macro105 #define BL_CFGR_VAL(law, blv) ((((blv) & CFGR_BLV_MASK) << CFGR_BLV_SHIFT) | ((0x3 & (law)) << 1))785 ((reg_val >> CFGR_BLV_SHIFT) & CFGR_BLV_MASK) + 1); in adp8870_bl_ambient_light_zone_show()812 reg_val &= ~(CFGR_BLV_MASK << CFGR_BLV_SHIFT); in adp8870_bl_ambient_light_zone_store()813 reg_val |= (val - 1) << CFGR_BLV_SHIFT; in adp8870_bl_ambient_light_zone_store()