Lines Matching refs:pled
10 struct rtl_led *pled, enum rtl_led_pin ledpin) in _rtl92cu_init_led() argument
12 pled->hw = hw; in _rtl92cu_init_led()
13 pled->ledpin = ledpin; in _rtl92cu_init_led()
14 pled->ledon = false; in _rtl92cu_init_led()
17 static void rtl92cu_deinit_led(struct rtl_led *pled) in rtl92cu_deinit_led() argument
21 void rtl92cu_sw_led_on(struct ieee80211_hw *hw, struct rtl_led *pled) in rtl92cu_sw_led_on() argument
27 REG_LEDCFG2, pled->ledpin); in rtl92cu_sw_led_on()
29 switch (pled->ledpin) { in rtl92cu_sw_led_on()
41 pled->ledpin); in rtl92cu_sw_led_on()
44 pled->ledon = true; in rtl92cu_sw_led_on()
47 void rtl92cu_sw_led_off(struct ieee80211_hw *hw, struct rtl_led *pled) in rtl92cu_sw_led_off() argument
53 REG_LEDCFG2, pled->ledpin); in rtl92cu_sw_led_off()
55 switch (pled->ledpin) { in rtl92cu_sw_led_off()
73 pled->ledpin); in rtl92cu_sw_led_off()
76 pled->ledon = false; in rtl92cu_sw_led_off()