Home
last modified time | relevance | path

Searched refs:CFGR_BLV_SHIFT (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/video/backlight/
Dadp8860_bl.c83 #define CFGR_BLV_SHIFT 3 macro
88 #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()
Dadp8870_bl.c100 #define CFGR_BLV_SHIFT 3 macro
105 #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()