/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | led.c | 20 u8 ledcfg; in rtl8821ae_sw_led_on() local 30 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl8821ae_sw_led_on() 31 ledcfg &= ~BIT(6); in rtl8821ae_sw_led_on() 33 REG_LEDCFG2, (ledcfg & 0xf0) | BIT(5)); in rtl8821ae_sw_led_on() 36 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG1); in rtl8821ae_sw_led_on() 37 rtl_write_byte(rtlpriv, REG_LEDCFG1, ledcfg & 0x10); in rtl8821ae_sw_led_on() 50 u8 ledcfg = 0; in rtl8812ae_sw_led_on() local 71 ledcfg = rtl_read_byte(rtlpriv, ledreg); in rtl8812ae_sw_led_on() 72 ledcfg |= BIT(5); /*Set 0x4c[21]*/ in rtl8812ae_sw_led_on() 73 ledcfg &= ~(BIT(7) | BIT(6) | BIT(3) | BIT(2) | BIT(1) | BIT(0)); in rtl8812ae_sw_led_on() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | led.c | 19 u8 ledcfg; in rtl8723e_sw_led_on() local 29 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl8723e_sw_led_on() 30 ledcfg &= ~BIT(6); in rtl8723e_sw_led_on() 32 REG_LEDCFG2, (ledcfg & 0xf0) | BIT(5)); in rtl8723e_sw_led_on() 35 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG1); in rtl8723e_sw_led_on() 36 rtl_write_byte(rtlpriv, REG_LEDCFG1, ledcfg & 0x10); in rtl8723e_sw_led_on() 49 u8 ledcfg; in rtl8723e_sw_led_off() local 54 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl8723e_sw_led_off() 60 ledcfg &= 0xf0; in rtl8723e_sw_led_off() 62 ledcfg &= 0x90; /* Set to software control. */ in rtl8723e_sw_led_off() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
D | led.c | 19 u8 ledcfg; in rtl8723be_sw_led_on() local 29 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl8723be_sw_led_on() 30 ledcfg &= ~BIT(6); in rtl8723be_sw_led_on() 31 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg & 0xf0) | BIT(5)); in rtl8723be_sw_led_on() 34 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG1); in rtl8723be_sw_led_on() 35 rtl_write_byte(rtlpriv, REG_LEDCFG1, ledcfg & 0x10); in rtl8723be_sw_led_on() 48 u8 ledcfg; in rtl8723be_sw_led_off() local 53 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl8723be_sw_led_off() 59 ledcfg &= 0xf0; in rtl8723be_sw_led_off() 61 ledcfg &= 0x90; /* Set to software control. */ in rtl8723be_sw_led_off() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
D | led.c | 19 u8 ledcfg; in rtl88ee_sw_led_on() local 29 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl88ee_sw_led_on() 31 REG_LEDCFG2, (ledcfg & 0xf0) | BIT(5) | BIT(6)); in rtl88ee_sw_led_on() 34 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG1); in rtl88ee_sw_led_on() 35 rtl_write_byte(rtlpriv, REG_LEDCFG1, ledcfg & 0x10); in rtl88ee_sw_led_on() 48 u8 ledcfg; in rtl88ee_sw_led_off() local 57 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl88ee_sw_led_off() 58 ledcfg &= 0xf0; in rtl88ee_sw_led_off() 61 (ledcfg | BIT(3) | BIT(5) | BIT(6))); in rtl88ee_sw_led_off() 62 ledcfg = rtl_read_byte(rtlpriv, REG_MAC_PINMUX_CFG); in rtl88ee_sw_led_off() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
D | led.c | 19 u8 ledcfg; in rtl92de_sw_led_on() local 29 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl92de_sw_led_on() 35 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg & 0xf0) | in rtl92de_sw_led_on() 38 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg & 0xf0) | in rtl92de_sw_led_on() 42 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG1); in rtl92de_sw_led_on() 44 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg & 0x0f) | BIT(5)); in rtl92de_sw_led_on() 57 u8 ledcfg; in rtl92de_sw_led_off() local 62 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl92de_sw_led_off() 68 ledcfg &= 0xf0; in rtl92de_sw_led_off() 71 (ledcfg | BIT(1) | BIT(5) | BIT(6))); in rtl92de_sw_led_off() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
D | led.c | 27 u8 ledcfg; in rtl92se_sw_led_on() local 33 ledcfg = rtl_read_byte(rtlpriv, LEDCFG); in rtl92se_sw_led_on() 39 rtl_write_byte(rtlpriv, LEDCFG, ledcfg & 0xf0); in rtl92se_sw_led_on() 42 rtl_write_byte(rtlpriv, LEDCFG, ledcfg & 0x0f); in rtl92se_sw_led_on() 55 u8 ledcfg; in rtl92se_sw_led_off() local 63 ledcfg = rtl_read_byte(rtlpriv, LEDCFG); in rtl92se_sw_led_off() 69 ledcfg &= 0xf0; in rtl92se_sw_led_off() 71 rtl_write_byte(rtlpriv, LEDCFG, (ledcfg | BIT(1))); in rtl92se_sw_led_off() 73 rtl_write_byte(rtlpriv, LEDCFG, (ledcfg | BIT(3))); in rtl92se_sw_led_off() 76 ledcfg &= 0x0f; in rtl92se_sw_led_off() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
D | led.c | 23 u8 ledcfg; in rtl92cu_sw_led_on() local 28 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl92cu_sw_led_on() 34 REG_LEDCFG2, (ledcfg & 0xf0) | BIT(5) | BIT(6)); in rtl92cu_sw_led_on() 37 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg & 0x0f) | BIT(5)); in rtl92cu_sw_led_on() 50 u8 ledcfg; in rtl92cu_sw_led_off() local 54 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl92cu_sw_led_off() 59 ledcfg &= 0xf0; in rtl92cu_sw_led_off() 62 (ledcfg | BIT(1) | BIT(5) | BIT(6))); in rtl92cu_sw_led_off() 65 (ledcfg | BIT(3) | BIT(5) | BIT(6))); in rtl92cu_sw_led_off() 68 ledcfg &= 0x0f; in rtl92cu_sw_led_off() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
D | led.c | 19 u8 ledcfg; in rtl92ce_sw_led_on() local 25 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl92ce_sw_led_on() 32 REG_LEDCFG2, (ledcfg & 0xf0) | BIT(5) | BIT(6)); in rtl92ce_sw_led_on() 35 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg & 0x0f) | BIT(5)); in rtl92ce_sw_led_on() 48 u8 ledcfg; in rtl92ce_sw_led_off() local 53 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl92ce_sw_led_off() 59 ledcfg &= 0xf0; in rtl92ce_sw_led_off() 62 (ledcfg | BIT(1) | BIT(5) | BIT(6))); in rtl92ce_sw_led_off() 65 (ledcfg | BIT(3) | BIT(5) | BIT(6))); in rtl92ce_sw_led_off() 68 ledcfg &= 0x0f; in rtl92ce_sw_led_off() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
D | led.c | 19 u32 ledcfg; in rtl92ee_sw_led_on() local 29 ledcfg = rtl_read_dword(rtlpriv , REG_GPIO_PIN_CTRL); in rtl92ee_sw_led_on() 30 ledcfg &= ~BIT(13); in rtl92ee_sw_led_on() 31 ledcfg |= BIT(21); in rtl92ee_sw_led_on() 32 ledcfg &= ~BIT(29); in rtl92ee_sw_led_on() 34 rtl_write_dword(rtlpriv, REG_GPIO_PIN_CTRL, ledcfg); in rtl92ee_sw_led_on() 51 u32 ledcfg; in rtl92ee_sw_led_off() local 61 ledcfg = rtl_read_dword(rtlpriv , REG_GPIO_PIN_CTRL); in rtl92ee_sw_led_off() 62 ledcfg |= ~BIT(21); in rtl92ee_sw_led_off() 63 ledcfg &= ~BIT(29); in rtl92ee_sw_led_off() [all …]
|