Lines Matching refs:pled
10 struct rtl_led *pled, enum rtl_led_pin ledpin) in _rtl92ce_init_led() argument
12 pled->hw = hw; in _rtl92ce_init_led()
13 pled->ledpin = ledpin; in _rtl92ce_init_led()
14 pled->ledon = false; in _rtl92ce_init_led()
17 void rtl92ce_sw_led_on(struct ieee80211_hw *hw, struct rtl_led *pled) in rtl92ce_sw_led_on() argument
23 REG_LEDCFG2, pled->ledpin); in rtl92ce_sw_led_on()
27 switch (pled->ledpin) { in rtl92ce_sw_led_on()
39 pled->ledpin); in rtl92ce_sw_led_on()
42 pled->ledon = true; in rtl92ce_sw_led_on()
45 void rtl92ce_sw_led_off(struct ieee80211_hw *hw, struct rtl_led *pled) in rtl92ce_sw_led_off() argument
51 REG_LEDCFG2, pled->ledpin); in rtl92ce_sw_led_off()
55 switch (pled->ledpin) { in rtl92ce_sw_led_off()
72 pr_info("switch case %#x not processed\n", pled->ledpin); in rtl92ce_sw_led_off()
75 pled->ledon = false; in rtl92ce_sw_led_off()