/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | led.c | 42 u8 ledcfg; in rtl8821ae_sw_led_on() local 52 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl8821ae_sw_led_on() 53 ledcfg &= ~BIT(6); in rtl8821ae_sw_led_on() 55 REG_LEDCFG2, (ledcfg & 0xf0) | BIT(5)); in rtl8821ae_sw_led_on() 58 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG1); in rtl8821ae_sw_led_on() 59 rtl_write_byte(rtlpriv, REG_LEDCFG1, ledcfg & 0x10); in rtl8821ae_sw_led_on() 72 u8 ledcfg = 0; in rtl8812ae_sw_led_on() local 93 ledcfg = rtl_read_byte(rtlpriv, ledreg); in rtl8812ae_sw_led_on() 94 ledcfg |= BIT(5); /*Set 0x4c[21]*/ in rtl8812ae_sw_led_on() 95 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 | 45 u8 ledcfg; in rtl8723e_sw_led_on() local 55 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl8723e_sw_led_on() 56 ledcfg &= ~BIT(6); in rtl8723e_sw_led_on() 58 REG_LEDCFG2, (ledcfg & 0xf0) | BIT(5)); in rtl8723e_sw_led_on() 61 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG1); in rtl8723e_sw_led_on() 62 rtl_write_byte(rtlpriv, REG_LEDCFG1, ledcfg & 0x10); in rtl8723e_sw_led_on() 76 u8 ledcfg; in rtl8723e_sw_led_off() local 81 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl8723e_sw_led_off() 87 ledcfg &= 0xf0; in rtl8723e_sw_led_off() 89 ledcfg &= 0x90; /* Set to software control. */ in rtl8723e_sw_led_off() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
D | led.c | 41 u8 ledcfg; in rtl8723be_sw_led_on() local 51 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl8723be_sw_led_on() 52 ledcfg &= ~BIT(6); in rtl8723be_sw_led_on() 53 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg & 0xf0) | BIT(5)); in rtl8723be_sw_led_on() 56 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG1); in rtl8723be_sw_led_on() 57 rtl_write_byte(rtlpriv, REG_LEDCFG1, ledcfg & 0x10); in rtl8723be_sw_led_on() 71 u8 ledcfg; in rtl8723be_sw_led_off() local 76 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl8723be_sw_led_off() 82 ledcfg &= 0xf0; in rtl8723be_sw_led_off() 84 ledcfg &= 0x90; /* Set to software control. */ in rtl8723be_sw_led_off() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
D | led.c | 45 u8 ledcfg; in rtl88ee_sw_led_on() local 55 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl88ee_sw_led_on() 57 REG_LEDCFG2, (ledcfg & 0xf0) | BIT(5) | BIT(6)); in rtl88ee_sw_led_on() 60 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG1); in rtl88ee_sw_led_on() 61 rtl_write_byte(rtlpriv, REG_LEDCFG1, ledcfg & 0x10); in rtl88ee_sw_led_on() 75 u8 ledcfg; in rtl88ee_sw_led_off() local 84 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl88ee_sw_led_off() 85 ledcfg &= 0xf0; in rtl88ee_sw_led_off() 88 (ledcfg | BIT(3) | BIT(5) | BIT(6))); in rtl88ee_sw_led_off() 89 ledcfg = rtl_read_byte(rtlpriv, REG_MAC_PINMUX_CFG); in rtl88ee_sw_led_off() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
D | led.c | 45 u8 ledcfg; in rtl92de_sw_led_on() local 55 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl92de_sw_led_on() 61 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg & 0xf0) | in rtl92de_sw_led_on() 64 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg & 0xf0) | in rtl92de_sw_led_on() 68 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG1); in rtl92de_sw_led_on() 70 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg & 0x0f) | BIT(5)); in rtl92de_sw_led_on() 84 u8 ledcfg; in rtl92de_sw_led_off() local 89 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl92de_sw_led_off() 95 ledcfg &= 0xf0; in rtl92de_sw_led_off() 98 (ledcfg | BIT(1) | BIT(5) | BIT(6))); in rtl92de_sw_led_off() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
D | led.c | 41 u32 ledcfg; in rtl92ee_sw_led_on() local 51 ledcfg = rtl_read_dword(rtlpriv , REG_GPIO_PIN_CTRL); in rtl92ee_sw_led_on() 52 ledcfg &= ~BIT(13); in rtl92ee_sw_led_on() 53 ledcfg |= BIT(21); in rtl92ee_sw_led_on() 54 ledcfg &= ~BIT(29); in rtl92ee_sw_led_on() 56 rtl_write_dword(rtlpriv, REG_GPIO_PIN_CTRL, ledcfg); in rtl92ee_sw_led_on() 73 u32 ledcfg; in rtl92ee_sw_led_off() local 83 ledcfg = rtl_read_dword(rtlpriv , REG_GPIO_PIN_CTRL); in rtl92ee_sw_led_off() 84 ledcfg |= ~BIT(21); in rtl92ee_sw_led_off() 85 ledcfg &= ~BIT(29); in rtl92ee_sw_led_off() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
D | led.c | 47 u8 ledcfg; in rtl92cu_sw_led_on() local 52 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl92cu_sw_led_on() 58 REG_LEDCFG2, (ledcfg & 0xf0) | BIT(5) | BIT(6)); in rtl92cu_sw_led_on() 61 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg & 0x0f) | BIT(5)); in rtl92cu_sw_led_on() 75 u8 ledcfg; in rtl92cu_sw_led_off() local 79 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl92cu_sw_led_off() 84 ledcfg &= 0xf0; in rtl92cu_sw_led_off() 87 (ledcfg | BIT(1) | BIT(5) | BIT(6))); in rtl92cu_sw_led_off() 90 (ledcfg | BIT(3) | BIT(5) | BIT(6))); in rtl92cu_sw_led_off() 93 ledcfg &= 0x0f; in rtl92cu_sw_led_off() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
D | led.c | 52 u8 ledcfg; in rtl92se_sw_led_on() local 58 ledcfg = rtl_read_byte(rtlpriv, LEDCFG); in rtl92se_sw_led_on() 64 rtl_write_byte(rtlpriv, LEDCFG, ledcfg & 0xf0); in rtl92se_sw_led_on() 67 rtl_write_byte(rtlpriv, LEDCFG, ledcfg & 0x0f); in rtl92se_sw_led_on() 81 u8 ledcfg; in rtl92se_sw_led_off() local 89 ledcfg = rtl_read_byte(rtlpriv, LEDCFG); in rtl92se_sw_led_off() 95 ledcfg &= 0xf0; in rtl92se_sw_led_off() 97 rtl_write_byte(rtlpriv, LEDCFG, (ledcfg | BIT(1))); in rtl92se_sw_led_off() 99 rtl_write_byte(rtlpriv, LEDCFG, (ledcfg | BIT(3))); in rtl92se_sw_led_off() 102 ledcfg &= 0x0f; in rtl92se_sw_led_off() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
D | led.c | 45 u8 ledcfg; in rtl92ce_sw_led_on() local 51 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl92ce_sw_led_on() 58 REG_LEDCFG2, (ledcfg & 0xf0) | BIT(5) | BIT(6)); in rtl92ce_sw_led_on() 61 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg & 0x0f) | BIT(5)); in rtl92ce_sw_led_on() 75 u8 ledcfg; in rtl92ce_sw_led_off() local 80 ledcfg = rtl_read_byte(rtlpriv, REG_LEDCFG2); in rtl92ce_sw_led_off() 86 ledcfg &= 0xf0; in rtl92ce_sw_led_off() 89 (ledcfg | BIT(1) | BIT(5) | BIT(6))); in rtl92ce_sw_led_off() 92 (ledcfg | BIT(3) | BIT(5) | BIT(6))); in rtl92ce_sw_led_off() 95 ledcfg &= 0x0f; in rtl92ce_sw_led_off() [all …]
|