58 ledcfg = rtl_read_byte(rtlpriv,
LEDCFG);
64 rtl_write_byte(rtlpriv,
LEDCFG, ledcfg & 0xf0);
67 rtl_write_byte(rtlpriv,
LEDCFG, ledcfg & 0x0f);
71 "switch case not processed\n");
89 ledcfg = rtl_read_byte(rtlpriv,
LEDCFG);
96 if (pcipriv->
ledctl.led_opendrain)
97 rtl_write_byte(rtlpriv,
LEDCFG, (ledcfg |
BIT(1)));
99 rtl_write_byte(rtlpriv,
LEDCFG, (ledcfg |
BIT(3)));
103 rtl_write_byte(rtlpriv,
LEDCFG, (ledcfg |
BIT(3)));
107 "switch case not processed\n");
149 _rtl92se_sw_led_control(hw, ledaction);