Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/intel/igc/
Digc_leds.c77 u32 shift, mask, blink_bit, ledctl; in igc_led_set() local
86 ledctl = rd32(IGC_LEDCTL); in igc_led_set()
87 ledctl &= ~mask; in igc_led_set()
88 ledctl |= mode << shift; in igc_led_set()
92 ledctl |= blink_bit; in igc_led_set()
94 ledctl &= ~blink_bit; in igc_led_set()
95 wr32(IGC_LEDCTL, ledctl); in igc_led_set()
103 u32 shift, mask, blink_bit, ledctl; in igc_led_get() local
110 ledctl = rd32(IGC_LEDCTL); in igc_led_get()
114 return (ledctl & mask) >> shift; in igc_led_get()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dled.c83 if (rtlpriv->ledctl.led_opendrain) { in rtl8821ae_sw_led_off()
130 if (rtlpriv->ledctl.led_opendrain) { in rtl8812ae_sw_led_off()
149 enum rtl_led_pin pin0 = rtlpriv->ledctl.sw_led0; in _rtl8821ae_sw_led_control()
Dhw.c867 enum rtl_led_pin pin0 = rtlpriv->ledctl.sw_led0; in _rtl8821ae_gen_refresh_led_state()
3162 rtlpriv->ledctl.led_opendrain = true; in _rtl8821ae_read_adapter_info()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Dled.c52 if (rtlpriv->ledctl.led_opendrain) in rtl92se_sw_led_off()
71 enum rtl_led_pin pin0 = rtlpriv->ledctl.sw_led0; in _rtl92se_sw_led_control()
Dhw.c734 enum rtl_led_pin pin0 = rtlpriv->ledctl.sw_led0; in _rtl92se_macconfig_before_fwdownload()
1374 enum rtl_led_pin pin0 = rtlpriv->ledctl.sw_led0; in _rtl92se_gen_refreshledstate()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dled.c50 if (rtlpriv->ledctl.led_opendrain) in rtl92ce_sw_led_off()
71 enum rtl_led_pin pin0 = rtlpriv->ledctl.sw_led0; in _rtl92ce_sw_led_control()
Dhw.c637 enum rtl_led_pin pin0 = rtlpriv->ledctl.sw_led0; in _rtl92ce_gen_refresh_led_state()
1710 rtlpriv->ledctl.led_opendrain = true; in _rtl92ce_hal_customized_behavior()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dled.c59 if (rtlpriv->ledctl.led_opendrain) in rtl92de_sw_led_off()
80 enum rtl_led_pin pin0 = rtlpriv->ledctl.sw_led0; in _rtl92ce_sw_led_control()
Dhw.c331 enum rtl_led_pin pin0 = rtlpriv->ledctl.sw_led0; in _rtl92de_gen_refresh_led_state()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dled.c51 if (rtlpriv->ledctl.led_opendrain) { in rtl8723e_sw_led_off()
79 enum rtl_led_pin pin0 = rtlpriv->ledctl.sw_led0; in _rtl8723e_sw_led_control()
Dhw.c641 enum rtl_led_pin pin0 = rtlpriv->ledctl.sw_led0; in _rtl8723e_gen_refresh_led_state()
1765 rtlpriv->ledctl.led_opendrain = true; in _rtl8723e_hal_customized_behavior()
1768 rtlpriv->ledctl.led_opendrain = true; in _rtl8723e_hal_customized_behavior()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dled.c50 if (rtlpriv->ledctl.led_opendrain) { in rtl88ee_sw_led_off()
76 enum rtl_led_pin pin0 = rtlpriv->ledctl.sw_led0; in _rtl88ee_sw_led_control()
Dhw.c801 enum rtl_led_pin pin0 = rtlpriv->ledctl.sw_led0; in _rtl88ee_gen_refresh_led_state()
1910 rtlpriv->ledctl.led_opendrain = true; in _rtl88ee_hal_customized_behavior()
1914 rtlpriv->ledctl.led_opendrain = true; in _rtl88ee_hal_customized_behavior()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dled.c50 if (rtlpriv->ledctl.led_opendrain) { in rtl8723be_sw_led_off()
78 enum rtl_led_pin pin0 = rtlpriv->ledctl.sw_led0; in _rtl8723be_sw_led_control()
Dhw.c790 enum rtl_led_pin pin0 = rtlpriv->ledctl.sw_led0; in _rtl8723be_gen_refresh_led_state()
2223 rtlpriv->ledctl.led_opendrain = true; in _rtl8723be_hal_customized_behavior()
2226 rtlpriv->ledctl.led_opendrain = true; in _rtl8723be_hal_customized_behavior()
/linux-6.12.1/drivers/net/ethernet/intel/e1000e/
Dmac.c1532 u32 ledctl; in e1000e_setup_led_generic() local
1538 ledctl = er32(LEDCTL); in e1000e_setup_led_generic()
1539 hw->mac.ledctl_default = ledctl; in e1000e_setup_led_generic()
1541 ledctl &= ~(E1000_LEDCTL_LED0_IVRT | E1000_LEDCTL_LED0_BLINK | in e1000e_setup_led_generic()
1543 ledctl |= (E1000_LEDCTL_MODE_LED_OFF << in e1000e_setup_led_generic()
1545 ew32(LEDCTL, ledctl); in e1000e_setup_led_generic()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dled.c46 if (rtlpriv->ledctl.led_opendrain) in rtl92cu_sw_led_off()
Dhw.c378 rtlpriv->ledctl.led_opendrain = true; in _rtl92cu_hal_customized_behavior()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dled.c72 enum rtl_led_pin pin0 = rtlpriv->ledctl.sw_led0; in _rtl92ee_sw_led_control()
Dhw.c717 enum rtl_led_pin pin0 = rtlpriv->ledctl.sw_led0; in _rtl92ee_gen_refresh_led_state()
2172 rtlpriv->ledctl.led_opendrain = true; in _rtl92ee_hal_customized_behavior()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/
Dpci.h224 struct rtl_led_ctl ledctl; member
Dcore.c1885 rtlpriv->ledctl.sw_led0 = LED_PIN_LED0; in rtl_init_sw_leds()
1886 rtlpriv->ledctl.sw_led1 = LED_PIN_LED1; in rtl_init_sw_leds()
Dwifi.h2685 struct rtl_led_ctl ledctl; member
/linux-6.12.1/drivers/net/ethernet/intel/e1000/
De1000_hw.c4410 u32 ledctl; in e1000_id_led_init() local
4422 ledctl = er32(LEDCTL); in e1000_id_led_init()
4423 hw->ledctl_default = ledctl; in e1000_id_led_init()
4485 u32 ledctl; in e1000_setup_led() local
4512 ledctl = er32(LEDCTL); in e1000_setup_led()
4514 hw->ledctl_default = ledctl; in e1000_setup_led()
4516 ledctl &= ~(E1000_LEDCTL_LED0_IVRT | in e1000_setup_led()
4519 ledctl |= (E1000_LEDCTL_MODE_LED_OFF << in e1000_setup_led()
4521 ew32(LEDCTL, ledctl); in e1000_setup_led()