Home
last modified time | relevance | path

Searched refs:tx_report (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/wireless/realtek/rtw88/
H A Dtx.c169 struct rtw_tx_report *tx_report = &rtwdev->tx_report; in rtw_tx_report_enable() local
175 pkt_info->sn = (atomic_inc_return(&tx_report->sn) << 2) & 0xfc; in rtw_tx_report_enable()
182 tx_report.purge_timer); in rtw_tx_report_purge_timer()
183 struct rtw_tx_report *tx_report = &rtwdev->tx_report; in rtw_tx_report_purge_timer() local
186 if (skb_queue_len(&tx_report->queue) == 0) in rtw_tx_report_purge_timer()
191 spin_lock_irqsave(&tx_report->q_lock, flags); in rtw_tx_report_purge_timer()
192 skb_queue_purge(&tx_report->queue); in rtw_tx_report_purge_timer()
193 spin_unlock_irqrestore(&tx_report->q_lock, flags); in rtw_tx_report_purge_timer()
198 struct rtw_tx_report *tx_report = &rtwdev->tx_report; in rtw_tx_report_enqueue() local
206 spin_lock_irqsave(&tx_report->q_lock, flags); in rtw_tx_report_enqueue()
[all …]
H A Dmain.c2118 timer_setup(&rtwdev->tx_report.purge_timer, in rtw_core_init()
2144 skb_queue_head_init(&rtwdev->tx_report.queue); in rtw_core_init()
2147 spin_lock_init(&rtwdev->tx_report.q_lock); in rtw_core_init()
2208 timer_delete_sync(&rtwdev->tx_report.purge_timer); in rtw_core_deinit()
2209 spin_lock_irqsave(&rtwdev->tx_report.q_lock, flags); in rtw_core_deinit()
2210 skb_queue_purge(&rtwdev->tx_report.queue); in rtw_core_deinit()
2211 spin_unlock_irqrestore(&rtwdev->tx_report.q_lock, flags); in rtw_core_deinit()
H A Dmain.h2096 struct rtw_tx_report tx_report; member