Home
last modified time | relevance | path

Searched refs:pLed (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/drivers/staging/rtl8712/
Drtl8712_led.c77 static void InitLed871x(struct _adapter *padapter, struct LED_871x *pLed, in InitLed871x() argument
80 pLed->padapter = padapter; in InitLed871x()
81 pLed->LedPin = LedPin; in InitLed871x()
82 pLed->CurrLedState = LED_STATE_OFF; in InitLed871x()
83 pLed->bLedOn = false; in InitLed871x()
84 pLed->bLedBlinkInProgress = false; in InitLed871x()
85 pLed->BlinkTimes = 0; in InitLed871x()
86 pLed->BlinkingLedState = LED_UNKNOWN; in InitLed871x()
87 timer_setup(&pLed->BlinkTimer, BlinkTimerCallback, 0); in InitLed871x()
88 INIT_WORK(&pLed->BlinkWorkItem, BlinkWorkItemCallback); in InitLed871x()
[all …]
/Linux-v5.10/drivers/staging/rtl8188eu/core/
Drtw_led.c18 struct LED_871x *pLed = from_timer(pLed, t, BlinkTimer); in BlinkTimerCallback() local
19 struct adapter *padapter = pLed->padapter; in BlinkTimerCallback()
24 schedule_work(&pLed->BlinkWorkItem); in BlinkTimerCallback()
33 struct LED_871x *pLed = container_of(work, struct LED_871x, in BlinkWorkItemCallback() local
36 blink_handler(pLed); in BlinkWorkItemCallback()
43 void ResetLedStatus(struct LED_871x *pLed) in ResetLedStatus() argument
45 pLed->CurrLedState = RTW_LED_OFF; /* Current LED state. */ in ResetLedStatus()
46 pLed->bLedOn = false; /* true if LED is ON, false if LED is OFF. */ in ResetLedStatus()
48 pLed->bLedBlinkInProgress = false; /* true if it is blinking, false o.w.. */ in ResetLedStatus()
49 pLed->bLedWPSBlinkInProgress = false; in ResetLedStatus()
[all …]
/Linux-v5.10/drivers/staging/rtl8188eu/include/
Drtw_led.h87 void ResetLedStatus(struct LED_871x *pLed);
89 void InitLed871x(struct adapter *padapter, struct LED_871x *pLed);
91 void DeInitLed871x(struct LED_871x *pLed);
94 void blink_handler(struct LED_871x *pLed);
95 void sw_led_on(struct adapter *padapter, struct LED_871x *pLed);
96 void sw_led_off(struct adapter *padapter, struct LED_871x *pLed);
/Linux-v5.10/drivers/staging/rtl8188eu/hal/
Drtl8188eu_led.c13 void sw_led_on(struct adapter *padapter, struct LED_871x *pLed) in sw_led_on() argument
21 pLed->bLedOn = true; in sw_led_on()
24 void sw_led_off(struct adapter *padapter, struct LED_871x *pLed) in sw_led_off() argument
40 pLed->bLedOn = false; in sw_led_off()
/Linux-v5.10/drivers/staging/rtl8723bs/include/
Drtw_cmd.h773 void *pLed; member