Home
last modified time | relevance | path

Searched refs:ledctl (Results 1 – 22 of 22) sorted by relevance

/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
A Dled.c60 if (rtlpriv->ledctl.led_opendrain) in rtl92cu_sw_led_off()
83 _rtl92cu_init_led(hw, &rtlpriv->ledctl.sw_led0, LED_PIN_LED0); in rtl92cu_init_sw_leds()
84 _rtl92cu_init_led(hw, &rtlpriv->ledctl.sw_led1, LED_PIN_LED1); in rtl92cu_init_sw_leds()
91 rtl92cu_deinit_led(&rtlpriv->ledctl.sw_led0); in rtl92cu_deinit_sw_leds()
92 rtl92cu_deinit_led(&rtlpriv->ledctl.sw_led1); in rtl92cu_deinit_sw_leds()
A Dhw.c378 rtlpriv->ledctl.led_opendrain = true; in _rtl92cu_hal_customized_behavior()
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
A Dled.c60 if (rtlpriv->ledctl.led_opendrain) in rtl92ce_sw_led_off()
82 _rtl92ce_init_led(hw, &rtlpriv->ledctl.sw_led0, LED_PIN_LED0); in rtl92ce_init_sw_leds()
83 _rtl92ce_init_led(hw, &rtlpriv->ledctl.sw_led1, LED_PIN_LED1); in rtl92ce_init_sw_leds()
90 struct rtl_led *pled0 = &rtlpriv->ledctl.sw_led0; in _rtl92ce_sw_led_control()
A Dhw.c642 struct rtl_led *pled0 = &rtlpriv->ledctl.sw_led0; in _rtl92ce_gen_refresh_led_state()
1706 rtlpriv->ledctl.led_opendrain = true; in _rtl92ce_hal_customized_behavior()
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
A Dled.c21 _rtl92se_init_led(hw, &rtlpriv->ledctl.sw_led0, LED_PIN_LED0); in rtl92se_init_sw_leds()
22 _rtl92se_init_led(hw, &rtlpriv->ledctl.sw_led1, LED_PIN_LED1); in rtl92se_init_sw_leds()
70 if (rtlpriv->ledctl.led_opendrain) in rtl92se_sw_led_off()
91 struct rtl_led *pled0 = &rtlpriv->ledctl.sw_led0; in _rtl92se_sw_led_control()
A Dhw.c734 struct rtl_led *pled0 = &rtlpriv->ledctl.sw_led0; in _rtl92se_macconfig_before_fwdownload()
1374 struct rtl_led *pled0 = &rtlpriv->ledctl.sw_led0; in _rtl92se_gen_refreshledstate()
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
A Dled.c61 if (rtlpriv->ledctl.led_opendrain) { in rtl8723e_sw_led_off()
91 _rtl8723e_init_led(hw, &rtlpriv->ledctl.sw_led0, LED_PIN_LED0); in rtl8723e_init_sw_leds()
92 _rtl8723e_init_led(hw, &rtlpriv->ledctl.sw_led1, LED_PIN_LED1); in rtl8723e_init_sw_leds()
99 struct rtl_led *pled0 = &rtlpriv->ledctl.sw_led0; in _rtl8723e_sw_led_control()
A Dhw.c646 struct rtl_led *pled0 = &rtlpriv->ledctl.sw_led0; in _rtl8723e_gen_refresh_led_state()
1770 rtlpriv->ledctl.led_opendrain = true; in _rtl8723e_hal_customized_behavior()
1773 rtlpriv->ledctl.led_opendrain = true; in _rtl8723e_hal_customized_behavior()
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
A Dled.c60 if (rtlpriv->ledctl.led_opendrain) { in rtl8723be_sw_led_off()
90 _rtl8723be_init_led(hw, &rtlpriv->ledctl.sw_led0, LED_PIN_LED0); in rtl8723be_init_sw_leds()
91 _rtl8723be_init_led(hw, &rtlpriv->ledctl.sw_led1, LED_PIN_LED1); in rtl8723be_init_sw_leds()
98 struct rtl_led *pled0 = &rtlpriv->ledctl.sw_led0; in _rtl8723be_sw_led_control()
A Dhw.c796 struct rtl_led *pled0 = &rtlpriv->ledctl.sw_led0; in _rtl8723be_gen_refresh_led_state()
2229 rtlpriv->ledctl.led_opendrain = true; in _rtl8723be_hal_customized_behavior()
2232 rtlpriv->ledctl.led_opendrain = true; in _rtl8723be_hal_customized_behavior()
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
A Dled.c69 if (rtlpriv->ledctl.led_opendrain) in rtl92de_sw_led_off()
92 _rtl92ce_init_led(hw, &rtlpriv->ledctl.sw_led0, LED_PIN_LED0); in rtl92de_init_sw_leds()
93 _rtl92ce_init_led(hw, &rtlpriv->ledctl.sw_led1, LED_PIN_LED1); in rtl92de_init_sw_leds()
100 struct rtl_led *pled0 = &rtlpriv->ledctl.sw_led0; in _rtl92ce_sw_led_control()
A Dhw.c598 struct rtl_led *pled0 = &rtlpriv->ledctl.sw_led0; in _rtl92de_gen_refresh_led_state()
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
A Dled.c94 if (rtlpriv->ledctl.led_opendrain) { in rtl8821ae_sw_led_off()
142 if (rtlpriv->ledctl.led_opendrain) { in rtl8812ae_sw_led_off()
163 _rtl8821ae_init_led(hw, &rtlpriv->ledctl.sw_led0, LED_PIN_LED0); in rtl8821ae_init_sw_leds()
164 _rtl8821ae_init_led(hw, &rtlpriv->ledctl.sw_led1, LED_PIN_LED1); in rtl8821ae_init_sw_leds()
171 struct rtl_led *pled0 = &rtlpriv->ledctl.sw_led0; in _rtl8821ae_sw_led_control()
A Dhw.c872 struct rtl_led *pled0 = &rtlpriv->ledctl.sw_led0; in _rtl8821ae_gen_refresh_led_state()
3207 rtlpriv->ledctl.led_opendrain = true; in _rtl8821ae_read_adapter_info()
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
A Dled.c59 if (rtlpriv->ledctl.led_opendrain) { in rtl88ee_sw_led_off()
86 _rtl88ee_init_led(hw, &rtlpriv->ledctl.sw_led0, LED_PIN_LED0); in rtl88ee_init_sw_leds()
87 _rtl88ee_init_led(hw, &rtlpriv->ledctl.sw_led1, LED_PIN_LED1); in rtl88ee_init_sw_leds()
94 struct rtl_led *pled0 = &rtlpriv->ledctl.sw_led0; in _rtl88ee_sw_led_control()
A Dhw.c806 struct rtl_led *pled0 = &rtlpriv->ledctl.sw_led0; in _rtl88ee_gen_refresh_led_state()
1915 rtlpriv->ledctl.led_opendrain = true; in _rtl88ee_hal_customized_behavior()
1919 rtlpriv->ledctl.led_opendrain = true; in _rtl88ee_hal_customized_behavior()
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
A Dled.c82 _rtl92ee_init_led(hw, &rtlpriv->ledctl.sw_led0, LED_PIN_LED0); in rtl92ee_init_sw_leds()
83 _rtl92ee_init_led(hw, &rtlpriv->ledctl.sw_led1, LED_PIN_LED1); in rtl92ee_init_sw_leds()
90 struct rtl_led *pled0 = &rtlpriv->ledctl.sw_led0; in _rtl92ee_sw_led_control()
A Dhw.c717 struct rtl_led *pled0 = &rtlpriv->ledctl.sw_led0; in _rtl92ee_gen_refresh_led_state()
2173 rtlpriv->ledctl.led_opendrain = true; in _rtl92ee_hal_customized_behavior()
/linux-6.3-rc2/drivers/net/ethernet/intel/e1000e/
A Dmac.c1534 u32 ledctl; in e1000e_setup_led_generic() local
1540 ledctl = er32(LEDCTL); in e1000e_setup_led_generic()
1541 hw->mac.ledctl_default = ledctl; in e1000e_setup_led_generic()
1543 ledctl &= ~(E1000_LEDCTL_LED0_IVRT | E1000_LEDCTL_LED0_BLINK | in e1000e_setup_led_generic()
1545 ledctl |= (E1000_LEDCTL_MODE_LED_OFF << in e1000e_setup_led_generic()
1547 ew32(LEDCTL, ledctl); in e1000e_setup_led_generic()
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/
A Dpci.h249 struct rtl_led_ctl ledctl; member
A Dwifi.h2762 struct rtl_led_ctl ledctl; member
/linux-6.3-rc2/drivers/net/ethernet/intel/e1000/
A De1000_hw.c4414 u32 ledctl; in e1000_id_led_init() local
4426 ledctl = er32(LEDCTL); in e1000_id_led_init()
4427 hw->ledctl_default = ledctl; in e1000_id_led_init()
4489 u32 ledctl; in e1000_setup_led() local
4516 ledctl = er32(LEDCTL); in e1000_setup_led()
4518 hw->ledctl_default = ledctl; in e1000_setup_led()
4520 ledctl &= ~(E1000_LEDCTL_LED0_IVRT | in e1000_setup_led()
4523 ledctl |= (E1000_LEDCTL_MODE_LED_OFF << in e1000_setup_led()
4525 ew32(LEDCTL, ledctl); in e1000_setup_led()

Completed in 80 milliseconds