Home
last modified time | relevance | path

Searched refs:rfpwr_state (Results 1 – 25 of 47) sorted by relevance

12

/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dphy.c400 enum rf_pwrstate rfpwr_state) in _rtl92ce_phy_set_rf_power_state() argument
410 switch (rfpwr_state) { in _rtl92ce_phy_set_rf_power_state()
412 if ((ppsc->rfpwr_state == ERFOFF) && in _rtl92ce_phy_set_rf_power_state()
460 if (ppsc->rfpwr_state == ERFOFF) in _rtl92ce_phy_set_rf_power_state()
497 rfpwr_state); in _rtl92ce_phy_set_rf_power_state()
502 ppsc->rfpwr_state = rfpwr_state; in _rtl92ce_phy_set_rf_power_state()
507 enum rf_pwrstate rfpwr_state) in rtl92c_phy_set_rf_power_state() argument
513 if (rfpwr_state == ppsc->rfpwr_state) in rtl92c_phy_set_rf_power_state()
515 bresult = _rtl92ce_phy_set_rf_power_state(hw, rfpwr_state); in rtl92c_phy_set_rf_power_state()
Dphy.h88 enum rf_pwrstate rfpwr_state);
110 enum rf_pwrstate rfpwr_state);
Dhw.c82 *((enum rf_pwrstate *)(val)) = ppsc->rfpwr_state; in rtl92ce_get_hw_reg()
991 ppsc->rfpwr_state = ERFON; in rtl92ce_hw_init()
999 if (ppsc->rfpwr_state == ERFON) { in rtl92ce_hw_init()
1212 if (rtlpriv->psc.rfpwr_state != ERFON) in rtl92ce_set_check_bssid()
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dphy.c374 enum rf_pwrstate rfpwr_state) in _rtl92cu_phy_set_rf_power_state() argument
384 switch (rfpwr_state) { in _rtl92cu_phy_set_rf_power_state()
386 if ((ppsc->rfpwr_state == ERFOFF) && in _rtl92cu_phy_set_rf_power_state()
457 if (ppsc->rfpwr_state == ERFOFF) in _rtl92cu_phy_set_rf_power_state()
490 rfpwr_state); in _rtl92cu_phy_set_rf_power_state()
495 ppsc->rfpwr_state = rfpwr_state; in _rtl92cu_phy_set_rf_power_state()
500 enum rf_pwrstate rfpwr_state) in rtl92cu_phy_set_rf_power_state() argument
505 if (rfpwr_state == ppsc->rfpwr_state) in rtl92cu_phy_set_rf_power_state()
507 bresult = _rtl92cu_phy_set_rf_power_state(hw, rfpwr_state); in rtl92cu_phy_set_rf_power_state()
Dphy.h24 enum rf_pwrstate rfpwr_state);
Dhw.c986 ppsc->rfpwr_state = ERFON; in rtl92cu_hw_init()
988 if (ppsc->rfpwr_state == ERFON) { in rtl92cu_hw_init()
1354 if (rtlpriv->psc.rfpwr_state != ERFON) in rtl92cu_set_check_bssid()
1483 *((enum rf_pwrstate *)(val)) = ppsc->rfpwr_state; in rtl92cu_get_hw_reg()
2190 cur_rfstate = ppsc->rfpwr_state; in rtl92cu_gpio_radio_on_off_checking()
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dphy.c1551 enum rf_pwrstate rfpwr_state) in _rtl8723e_phy_set_rf_power_state() argument
1561 switch (rfpwr_state) { in _rtl8723e_phy_set_rf_power_state()
1563 if ((ppsc->rfpwr_state == ERFOFF) && in _rtl8723e_phy_set_rf_power_state()
1609 if (ppsc->rfpwr_state == ERFOFF) in _rtl8723e_phy_set_rf_power_state()
1645 "switch case %#x not processed\n", rfpwr_state); in _rtl8723e_phy_set_rf_power_state()
1650 ppsc->rfpwr_state = rfpwr_state; in _rtl8723e_phy_set_rf_power_state()
1655 enum rf_pwrstate rfpwr_state) in rtl8723e_phy_set_rf_power_state() argument
1661 if (rfpwr_state == ppsc->rfpwr_state) in rtl8723e_phy_set_rf_power_state()
1663 bresult = _rtl8723e_phy_set_rf_power_state(hw, rfpwr_state); in rtl8723e_phy_set_rf_power_state()
Dphy.h178 enum rf_pwrstate rfpwr_state);
Dhw.c86 *((enum rf_pwrstate *)(val)) = ppsc->rfpwr_state; in rtl8723e_get_hw_reg()
988 ppsc->rfpwr_state = ERFON; in rtl8723e_hw_init()
996 if (ppsc->rfpwr_state == ERFON) { in rtl8723e_hw_init()
1175 if (rtlpriv->psc.rfpwr_state != ERFON) in rtl8723e_set_check_bssid()
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Dphy.c506 enum rf_pwrstate rfpwr_state) in rtl92s_phy_set_rf_power_state() argument
516 if (rfpwr_state == ppsc->rfpwr_state) in rtl92s_phy_set_rf_power_state()
519 switch (rfpwr_state) { in rtl92s_phy_set_rf_power_state()
521 if ((ppsc->rfpwr_state == ERFOFF) && in rtl92s_phy_set_rf_power_state()
572 if (ppsc->rfpwr_state == ERFOFF) in rtl92s_phy_set_rf_power_state()
617 rfpwr_state); in rtl92s_phy_set_rf_power_state()
623 ppsc->rfpwr_state = rfpwr_state; in rtl92s_phy_set_rf_power_state()
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dphy.h112 enum rf_pwrstate rfpwr_state);
Dphy.c2507 enum rf_pwrstate rfpwr_state) in _rtl8723be_phy_set_rf_power_state() argument
2517 switch (rfpwr_state) { in _rtl8723be_phy_set_rf_power_state()
2519 if ((ppsc->rfpwr_state == ERFOFF) && in _rtl8723be_phy_set_rf_power_state()
2593 if (ppsc->rfpwr_state == ERFOFF) in _rtl8723be_phy_set_rf_power_state()
2629 "switch case %#x not processed\n", rfpwr_state); in _rtl8723be_phy_set_rf_power_state()
2634 ppsc->rfpwr_state = rfpwr_state; in _rtl8723be_phy_set_rf_power_state()
2639 enum rf_pwrstate rfpwr_state) in rtl8723be_phy_set_rf_power_state() argument
2645 if (rfpwr_state == ppsc->rfpwr_state) in rtl8723be_phy_set_rf_power_state()
2647 bresult = _rtl8723be_phy_set_rf_power_state(hw, rfpwr_state); in rtl8723be_phy_set_rf_power_state()
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dphy.h129 enum rf_pwrstate rfpwr_state);
Dphy.c3042 enum rf_pwrstate rfpwr_state) in _rtl92ee_phy_set_rf_power_state() argument
3052 switch (rfpwr_state) { in _rtl92ee_phy_set_rf_power_state()
3054 if ((ppsc->rfpwr_state == ERFOFF) && in _rtl92ee_phy_set_rf_power_state()
3122 if (ppsc->rfpwr_state == ERFOFF) in _rtl92ee_phy_set_rf_power_state()
3156 "switch case %#x not processed\n", rfpwr_state); in _rtl92ee_phy_set_rf_power_state()
3161 ppsc->rfpwr_state = rfpwr_state; in _rtl92ee_phy_set_rf_power_state()
3166 enum rf_pwrstate rfpwr_state) in rtl92ee_phy_set_rf_power_state() argument
3172 if (rfpwr_state == ppsc->rfpwr_state) in rtl92ee_phy_set_rf_power_state()
3174 bresult = _rtl92ee_phy_set_rf_power_state(hw, rfpwr_state); in rtl92ee_phy_set_rf_power_state()
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dphy.c2158 enum rf_pwrstate rfpwr_state) in _rtl88ee_phy_set_rf_power_state() argument
2168 switch (rfpwr_state) { in _rtl88ee_phy_set_rf_power_state()
2170 if ((ppsc->rfpwr_state == ERFOFF) && in _rtl88ee_phy_set_rf_power_state()
2243 if (ppsc->rfpwr_state == ERFOFF) in _rtl88ee_phy_set_rf_power_state()
2279 "switch case %#x not processed\n", rfpwr_state); in _rtl88ee_phy_set_rf_power_state()
2284 ppsc->rfpwr_state = rfpwr_state; in _rtl88ee_phy_set_rf_power_state()
2289 enum rf_pwrstate rfpwr_state) in rtl88e_phy_set_rf_power_state() argument
2295 if (rfpwr_state == ppsc->rfpwr_state) in rtl88e_phy_set_rf_power_state()
2297 bresult = _rtl88ee_phy_set_rf_power_state(hw, rfpwr_state); in rtl88e_phy_set_rf_power_state()
Dphy.h209 enum rf_pwrstate rfpwr_state);
Dhw.c306 *((enum rf_pwrstate *)(val)) = ppsc->rfpwr_state; in rtl88ee_get_hw_reg()
1116 ppsc->rfpwr_state = ERFON; in rtl88ee_hw_init()
1122 if (ppsc->rfpwr_state == ERFON) { in rtl88ee_hw_init()
1269 if (rtlpriv->psc.rfpwr_state != ERFON) in rtl88ee_set_check_bssid()
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dphy.h127 enum rf_pwrstate rfpwr_state);
Dphy.c3035 enum rf_pwrstate rfpwr_state) in rtl92d_phy_set_rf_power_state() argument
3047 if (rfpwr_state == ppsc->rfpwr_state) in rtl92d_phy_set_rf_power_state()
3049 switch (rfpwr_state) { in rtl92d_phy_set_rf_power_state()
3051 if ((ppsc->rfpwr_state == ERFOFF) && in rtl92d_phy_set_rf_power_state()
3097 if (ppsc->rfpwr_state == ERFOFF) in rtl92d_phy_set_rf_power_state()
3142 rfpwr_state); in rtl92d_phy_set_rf_power_state()
3147 ppsc->rfpwr_state = rfpwr_state; in rtl92d_phy_set_rf_power_state()
Dhw.c102 *((enum rf_pwrstate *)(val)) = ppsc->rfpwr_state; in rtl92de_get_hw_reg()
991 ppsc->rfpwr_state = ERFON; in rtl92de_hw_init()
1001 if (ppsc->rfpwr_state == ERFON) { in rtl92de_hw_init()
1113 if (rtlpriv->psc.rfpwr_state != ERFON) in rtl92de_set_check_bssid()
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dphy.h226 enum rf_pwrstate rfpwr_state);
Dphy.c4711 enum rf_pwrstate rfpwr_state) in _rtl8821ae_phy_set_rf_power_state() argument
4721 switch (rfpwr_state) { in _rtl8821ae_phy_set_rf_power_state()
4723 if ((ppsc->rfpwr_state == ERFOFF) && in _rtl8821ae_phy_set_rf_power_state()
4796 rfpwr_state); in _rtl8821ae_phy_set_rf_power_state()
4801 ppsc->rfpwr_state = rfpwr_state; in _rtl8821ae_phy_set_rf_power_state()
4806 enum rf_pwrstate rfpwr_state) in rtl8821ae_phy_set_rf_power_state() argument
4812 if (rfpwr_state == ppsc->rfpwr_state) in rtl8821ae_phy_set_rf_power_state()
4814 bresult = _rtl8821ae_phy_set_rf_power_state(hw, rfpwr_state); in rtl8821ae_phy_set_rf_power_state()
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192c/
Dphy_common.h195 enum rf_pwrstate rfpwr_state);
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/
Dps.c215 rtstate = ppsc->rfpwr_state; in rtl_ips_nic_off_wq_callback()
273 rtstate = ppsc->rfpwr_state; in rtl_ips_nic_on()
Dcore.c164 if (unlikely(ppsc->rfpwr_state == ERFOFF)) in rtl_op_stop()
196 if (unlikely(is_hal_stop(rtlhal) || ppsc->rfpwr_state != ERFON)) in rtl_op_tx()
608 if (unlikely(ppsc->rfpwr_state == ERFOFF)) in rtl_op_config()

12