Lines Matching refs:desc_info
194 const struct rtw89_rx_desc_info *desc_info) in rtw89_skb_put_rx_data() argument
201 rx_info->len, desc_info->pkt_size, offset, fs, ls); in rtw89_skb_put_rx_data()
206 copy_len = desc_info->pkt_size; in rtw89_skb_put_rx_data()
223 struct rtw89_rx_desc_info *desc_info = &rx_ring->diliver_desc; in rtw89_pci_rxbd_deliver_skbs() local
252 if (desc_info->ready) { in rtw89_pci_rxbd_deliver_skbs()
257 rtw89_core_query_rxdesc(rtwdev, desc_info, skb->data, rxinfo_size); in rtw89_pci_rxbd_deliver_skbs()
259 new = dev_alloc_skb(desc_info->pkt_size); in rtw89_pci_rxbd_deliver_skbs()
266 offset = desc_info->offset; in rtw89_pci_rxbd_deliver_skbs()
267 offset += desc_info->long_rxdesc ? sizeof(struct rtw89_rxdesc_long) : 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()
281 if (!desc_info->ready) { in rtw89_pci_rxbd_deliver_skbs()
286 rtw89_core_rx(rtwdev, desc_info, new); in rtw89_pci_rxbd_deliver_skbs()
288 desc_info->ready = false; in rtw89_pci_rxbd_deliver_skbs()
300 desc_info->ready = false; in rtw89_pci_rxbd_deliver_skbs()
511 struct rtw89_rx_desc_info desc_info = {}; in rtw89_pci_release_tx_skbs() local
535 rtw89_core_query_rxdesc(rtwdev, &desc_info, skb->data, rxinfo_size); in rtw89_pci_release_tx_skbs()
538 offset = desc_info.offset; in rtw89_pci_release_tx_skbs()
539 offset += desc_info.long_rxdesc ? sizeof(struct rtw89_rxdesc_long) : in rtw89_pci_release_tx_skbs()
1176 struct rtw89_tx_desc_info *desc_info = &tx_req->desc_info; in rtw89_pci_txwd_submit() local
1183 bool en_wd_info = desc_info->en_wd_info; in rtw89_pci_txwd_submit()
1213 dma, &desc_info->addr_info_nr); in rtw89_pci_txwd_submit()
1217 rtw89_chip_fill_txdesc(rtwdev, desc_info, txwd->vaddr); in rtw89_pci_txwd_submit()
1234 struct rtw89_tx_desc_info *desc_info = &tx_req->desc_info; in rtw89_pci_fwcmd_submit() local
1244 rtw89_chip_fill_txdesc_fwcmd(rtwdev, desc_info, txdesc); in rtw89_pci_fwcmd_submit()
1352 struct rtw89_tx_desc_info *desc_info = &tx_req->desc_info; in rtw89_pci_ops_tx_write() local
1355 ret = rtw89_pci_tx_write(rtwdev, tx_req, desc_info->ch_dma); in rtw89_pci_ops_tx_write()
1357 rtw89_err(rtwdev, "failed to TX Queue %d\n", desc_info->ch_dma); in rtw89_pci_ops_tx_write()