Searched refs:LedCfg (Results 1 – 1 of 1) sorted by relevance
/drivers/staging/rtl8712/ |
D | rtl8712_led.c | 110 u8 LedCfg; in SwLedOn() local 114 LedCfg = r8712_read8(padapter, LEDCFG); in SwLedOn() 120 r8712_write8(padapter, LEDCFG, LedCfg & 0xf0); in SwLedOn() 124 r8712_write8(padapter, LEDCFG, LedCfg & 0x0f); in SwLedOn() 138 u8 LedCfg; in SwLedOff() local 142 LedCfg = r8712_read8(padapter, LEDCFG); in SwLedOff() 147 LedCfg &= 0xf0; /* Set to software control.*/ in SwLedOff() 148 r8712_write8(padapter, LEDCFG, (LedCfg | BIT(3))); in SwLedOff() 151 LedCfg &= 0x0f; /* Set to software control.*/ in SwLedOff() 152 r8712_write8(padapter, LEDCFG, (LedCfg | BIT(7))); in SwLedOff()
|