Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/staging/rtl8712/
Drtl8712_led.c122 u8 LedCfg; in SwLedOn() local
127 LedCfg = r8712_read8(padapter, LEDCFG); in SwLedOn()
133 r8712_write8(padapter, LEDCFG, LedCfg&0xf0); in SwLedOn()
137 r8712_write8(padapter, LEDCFG, LedCfg&0x0f); in SwLedOn()
151 u8 LedCfg; in SwLedOff() local
156 LedCfg = r8712_read8(padapter, LEDCFG); in SwLedOff()
161 LedCfg &= 0xf0; /* Set to software control.*/ in SwLedOff()
162 r8712_write8(padapter, LEDCFG, (LedCfg|BIT(3))); in SwLedOff()
165 LedCfg &= 0x0f; /* Set to software control.*/ in SwLedOff()
166 r8712_write8(padapter, LEDCFG, (LedCfg|BIT(7))); in SwLedOff()
/linux-2.6.39/drivers/staging/rt2860/common/
Dmlme.c621 LED_CFG_STRUC LedCfg; in MlmeHalt() local
622 RTMP_IO_READ32(pAd, LED_CFG, &LedCfg.word); in MlmeHalt()
623 LedCfg.field.LedPolar = 0; in MlmeHalt()
624 LedCfg.field.RLedMode = 0; in MlmeHalt()
625 LedCfg.field.GLedMode = 0; in MlmeHalt()
626 LedCfg.field.YLedMode = 0; in MlmeHalt()
627 RTMP_IO_WRITE32(pAd, LED_CFG, LedCfg.word); in MlmeHalt()