Lines Matching refs:rtw_wow
255 struct rtw_wow_param *rtw_wow = &rtwdev->wow; in rtw_wow_pattern_write() local
256 struct rtw_wow_pattern *rtw_pattern = rtw_wow->patterns; in rtw_wow_pattern_write()
259 for (i = 0; i < rtw_wow->pattern_cnt; i++) in rtw_wow_pattern_write()
265 struct rtw_wow_param *rtw_wow = &rtwdev->wow; in rtw_wow_pattern_clear() local
269 rtw_wow->pattern_cnt = 0; in rtw_wow_pattern_clear()
270 memset(rtw_wow->patterns, 0, sizeof(rtw_wow->patterns)); in rtw_wow_pattern_clear()
275 struct rtw_wow_param *rtw_wow = &rtwdev->wow; in rtw_wow_bb_stop() local
283 rtw_wow->txpause = rtw_read8(rtwdev, REG_TXPAUSE); in rtw_wow_bb_stop()
290 struct rtw_wow_param *rtw_wow = &rtwdev->wow; in rtw_wow_bb_start() local
293 rtw_write8(rtwdev, REG_TXPAUSE, rtw_wow->txpause); in rtw_wow_bb_start()
537 struct rtw_wow_param *rtw_wow = &rtwdev->wow; in rtw_wow_check_pno() local
538 struct rtw_pno_request *pno_req = &rtw_wow->pno_req; in rtw_wow_check_pno()
588 struct rtw_wow_param *rtw_wow = &rtwdev->wow; in rtw_wow_leave_no_link_ps() local
596 rtw_wow->ips_enabled = true; in rtw_wow_leave_no_link_ps()
630 struct rtw_wow_param *rtw_wow = &rtwdev->wow; in rtw_wow_enter_linked_ps() local
631 struct ieee80211_vif *wow_vif = rtw_wow->wow_vif; in rtw_wow_enter_linked_ps()
782 struct rtw_wow_param *rtw_wow = &rtwdev->wow; in rtw_wow_vif_iter() local
787 if (rtw_wow->wow_vif || vif->type != NL80211_IFTYPE_STATION) in rtw_wow_vif_iter()
792 rtw_wow->wow_vif = vif; in rtw_wow_vif_iter()
795 if (rtw_wow->pno_req.inited) in rtw_wow_vif_iter()
806 struct rtw_wow_param *rtw_wow = &rtwdev->wow; in rtw_wow_set_wakeups() local
807 struct rtw_wow_pattern *rtw_patterns = rtw_wow->patterns; in rtw_wow_set_wakeups()
812 set_bit(RTW_WOW_FLAG_EN_DISCONNECT, rtw_wow->flags); in rtw_wow_set_wakeups()
814 set_bit(RTW_WOW_FLAG_EN_MAGIC_PKT, rtw_wow->flags); in rtw_wow_set_wakeups()
816 set_bit(RTW_WOW_FLAG_EN_REKEY_PKT, rtw_wow->flags); in rtw_wow_set_wakeups()
822 if (!rtw_wow->wow_vif) in rtw_wow_set_wakeups()
825 rtwvif = (struct rtw_vif *)rtw_wow->wow_vif->drv_priv; in rtw_wow_set_wakeups()
827 rtw_wow->pattern_cnt = wowlan->n_patterns; in rtw_wow_set_wakeups()
839 struct rtw_wow_param *rtw_wow = &rtwdev->wow; in rtw_wow_clear_wakeups() local
840 struct rtw_pno_request *pno_req = &rtw_wow->pno_req; in rtw_wow_clear_wakeups()
847 memset(rtw_wow, 0, sizeof(rtwdev->wow)); in rtw_wow_clear_wakeups()