Lines Matching refs:rx_info
136 struct rtw89_pci_rx_info *rx_info; in rtw89_pci_sync_skb_for_cpu() local
139 rx_info = RTW89_PCI_RX_SKB_CB(skb); in rtw89_pci_sync_skb_for_cpu()
140 dma = rx_info->dma; in rtw89_pci_sync_skb_for_cpu()
148 struct rtw89_pci_rx_info *rx_info; in rtw89_pci_sync_skb_for_device() local
151 rx_info = RTW89_PCI_RX_SKB_CB(skb); in rtw89_pci_sync_skb_for_device()
152 dma = rx_info->dma; in rtw89_pci_sync_skb_for_device()
161 struct rtw89_pci_rx_info *rx_info = RTW89_PCI_RX_SKB_CB(skb); in rtw89_pci_rxbd_info_update() local
164 rx_info->fs = le32_get_bits(rxbd_info->dword, RTW89_PCI_RXBD_FS); in rtw89_pci_rxbd_info_update()
165 rx_info->ls = le32_get_bits(rxbd_info->dword, RTW89_PCI_RXBD_LS); in rtw89_pci_rxbd_info_update()
166 rx_info->len = le32_get_bits(rxbd_info->dword, RTW89_PCI_RXBD_WRITE_SIZE); in rtw89_pci_rxbd_info_update()
167 rx_info->tag = le32_get_bits(rxbd_info->dword, RTW89_PCI_RXBD_TAG); in rtw89_pci_rxbd_info_update()
193 const struct rtw89_pci_rx_info *rx_info, in rtw89_skb_put_rx_data() argument
196 u32 copy_len = rx_info->len - offset; in rtw89_skb_put_rx_data()
201 rx_info->len, desc_info->pkt_size, offset, fs, ls); in rtw89_skb_put_rx_data()
203 skb->data, rx_info->len); in rtw89_skb_put_rx_data()
222 struct rtw89_pci_rx_info *rx_info; in rtw89_pci_rxbd_deliver_skbs() local
242 rx_info = RTW89_PCI_RX_SKB_CB(skb); in rtw89_pci_rxbd_deliver_skbs()
243 fs = rx_info->fs; in rtw89_pci_rxbd_deliver_skbs()
244 ls = rx_info->ls; in rtw89_pci_rxbd_deliver_skbs()
276 if (!rtw89_skb_put_rx_data(rtwdev, fs, ls, new, skb, offset, rx_info, desc_info)) in rtw89_pci_rxbd_deliver_skbs()
509 struct rtw89_pci_rx_info *rx_info; in rtw89_pci_release_tx_skbs() local
529 rx_info = RTW89_PCI_RX_SKB_CB(skb); in rtw89_pci_release_tx_skbs()
530 if (!rx_info->fs || !rx_info->ls) { in rtw89_pci_release_tx_skbs()
541 for (; offset + rpp_size <= rx_info->len; offset += rpp_size) { in rtw89_pci_release_tx_skbs()
2770 struct rtw89_pci_rx_info *rx_info; in rtw89_pci_free_rx_ring() local
2784 rx_info = RTW89_PCI_RX_SKB_CB(skb); in rtw89_pci_free_rx_ring()
2785 dma = rx_info->dma; in rtw89_pci_free_rx_ring()
2822 struct rtw89_pci_rx_info *rx_info; in rtw89_pci_init_rx_bd() local
2833 rx_info = RTW89_PCI_RX_SKB_CB(skb); in rtw89_pci_init_rx_bd()
2839 rx_info->dma = dma; in rtw89_pci_init_rx_bd()