Searched refs:LedCfg (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/drivers/staging/rtl8188eu/hal/ |
D | rtl8188eu_led.c | 20 u8 LedCfg; in SwLedOn() local 24 LedCfg = usb_read8(padapter, REG_LEDCFG2); in SwLedOn() 25 usb_write8(padapter, REG_LEDCFG2, (LedCfg&0xf0) | BIT(5) | BIT(6)); /* SW control led0 on. */ in SwLedOn() 33 u8 LedCfg; in SwLedOff() local 38 LedCfg = usb_read8(padapter, REG_LEDCFG2);/* 0x4E */ in SwLedOff() 41 LedCfg &= 0x90; /* Set to software control. */ in SwLedOff() 42 usb_write8(padapter, REG_LEDCFG2, (LedCfg | BIT(3))); in SwLedOff() 43 LedCfg = usb_read8(padapter, REG_MAC_PINMUX_CFG); in SwLedOff() 44 LedCfg &= 0xFE; in SwLedOff() 45 usb_write8(padapter, REG_MAC_PINMUX_CFG, LedCfg); in SwLedOff()
|
/Linux-v4.19/drivers/staging/rtl8712/ |
D | rtl8712_led.c | 122 u8 LedCfg; in SwLedOn() local 126 LedCfg = r8712_read8(padapter, LEDCFG); in SwLedOn() 132 r8712_write8(padapter, LEDCFG, LedCfg & 0xf0); in SwLedOn() 136 r8712_write8(padapter, LEDCFG, LedCfg & 0x0f); in SwLedOn() 150 u8 LedCfg; in SwLedOff() local 154 LedCfg = r8712_read8(padapter, LEDCFG); in SwLedOff() 159 LedCfg &= 0xf0; /* Set to software control.*/ in SwLedOff() 160 r8712_write8(padapter, LEDCFG, (LedCfg | BIT(3))); in SwLedOff() 163 LedCfg &= 0x0f; /* Set to software control.*/ in SwLedOff() 164 r8712_write8(padapter, LEDCFG, (LedCfg | BIT(7))); in SwLedOff()
|