Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/video/backlight/
Dadp8860_bl.c84 #define CFGR_BLV_MASK 0x3 macro
88 #define BL_CFGR_VAL(law, blv) ((((blv) & CFGR_BLV_MASK) << CFGR_BLV_SHIFT) | ((0x3 & (law)) << 1))
599 ((reg_val >> CFGR_BLV_SHIFT) & CFGR_BLV_MASK) + 1); in adp8860_bl_ambient_light_zone_show()
625 reg_val &= ~(CFGR_BLV_MASK << CFGR_BLV_SHIFT); in adp8860_bl_ambient_light_zone_store()
Dadp8870_bl.c101 #define CFGR_BLV_MASK 0x7 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()
811 reg_val &= ~(CFGR_BLV_MASK << CFGR_BLV_SHIFT); in adp8870_bl_ambient_light_zone_store()