Lines Matching refs:pled
10 struct rtl_led *pled, in _rtl8821ae_init_led() argument
13 pled->hw = hw; in _rtl8821ae_init_led()
14 pled->ledpin = ledpin; in _rtl8821ae_init_led()
15 pled->ledon = false; in _rtl8821ae_init_led()
18 void rtl8821ae_sw_led_on(struct ieee80211_hw *hw, struct rtl_led *pled) in rtl8821ae_sw_led_on() argument
24 "LedAddr:%X ledpin=%d\n", REG_LEDCFG2, pled->ledpin); in rtl8821ae_sw_led_on()
26 switch (pled->ledpin) { in rtl8821ae_sw_led_on()
41 "switch case %#x not processed\n", pled->ledpin); in rtl8821ae_sw_led_on()
44 pled->ledon = true; in rtl8821ae_sw_led_on()
47 void rtl8812ae_sw_led_on(struct ieee80211_hw *hw, struct rtl_led *pled) in rtl8812ae_sw_led_on() argument
53 switch (pled->ledpin) { in rtl8812ae_sw_led_on()
69 ledreg, pled->ledpin); in rtl8812ae_sw_led_on()
76 pled->ledon = true; in rtl8812ae_sw_led_on()
79 void rtl8821ae_sw_led_off(struct ieee80211_hw *hw, struct rtl_led *pled) in rtl8821ae_sw_led_off() argument
85 "LedAddr:%X ledpin=%d\n", REG_LEDCFG2, pled->ledpin); in rtl8821ae_sw_led_off()
89 switch (pled->ledpin) { in rtl8821ae_sw_led_off()
113 "switch case %#x not processed\n", pled->ledpin); in rtl8821ae_sw_led_off()
116 pled->ledon = false; in rtl8821ae_sw_led_off()
119 void rtl8812ae_sw_led_off(struct ieee80211_hw *hw, struct rtl_led *pled) in rtl8812ae_sw_led_off() argument
124 switch (pled->ledpin) { in rtl8812ae_sw_led_off()
140 ledreg, pled->ledpin); in rtl8812ae_sw_led_off()
156 pled->ledon = false; in rtl8812ae_sw_led_off()