Lines Matching refs:buf_desc
219 struct rtw_pci_rx_buffer_desc *buf_desc; in rtw_pci_reset_rx_desc() local
231 buf_desc = (struct rtw_pci_rx_buffer_desc *)(rx_ring->r.head + in rtw_pci_reset_rx_desc()
233 memset(buf_desc, 0, sizeof(*buf_desc)); in rtw_pci_reset_rx_desc()
234 buf_desc->buf_size = cpu_to_le16(RTK_PCI_RX_BUF_SIZE); in rtw_pci_reset_rx_desc()
235 buf_desc->dma = cpu_to_le32(dma); in rtw_pci_reset_rx_desc()
245 struct rtw_pci_rx_buffer_desc *buf_desc; in rtw_pci_sync_rx_desc_device() local
250 buf_desc = (struct rtw_pci_rx_buffer_desc *)(rx_ring->r.head + in rtw_pci_sync_rx_desc_device()
252 memset(buf_desc, 0, sizeof(*buf_desc)); in rtw_pci_sync_rx_desc_device()
253 buf_desc->buf_size = cpu_to_le16(RTK_PCI_RX_BUF_SIZE); in rtw_pci_sync_rx_desc_device()
254 buf_desc->dma = cpu_to_le32(dma); in rtw_pci_sync_rx_desc_device()
725 struct rtw_pci_rx_buffer_desc *buf_desc; in rtw_pci_dma_check() local
729 buf_desc = (struct rtw_pci_rx_buffer_desc *)(rx_ring->r.head + in rtw_pci_dma_check()
731 total_pkt_size = le16_to_cpu(buf_desc->total_pkt_size); in rtw_pci_dma_check()
846 struct rtw_pci_tx_buffer_desc *buf_desc; in rtw_pci_tx_write_data() local
867 buf_desc = get_tx_buffer_desc(ring, tx_buf_desc_sz); in rtw_pci_tx_write_data()
868 memset(buf_desc, 0, tx_buf_desc_sz); in rtw_pci_tx_write_data()
873 buf_desc[0].psb_len = cpu_to_le16(psb_len); in rtw_pci_tx_write_data()
874 buf_desc[0].buf_size = cpu_to_le16(tx_pkt_desc_sz); in rtw_pci_tx_write_data()
875 buf_desc[0].dma = cpu_to_le32(dma); in rtw_pci_tx_write_data()
876 buf_desc[1].buf_size = cpu_to_le16(size); in rtw_pci_tx_write_data()
877 buf_desc[1].dma = cpu_to_le32(dma + tx_pkt_desc_sz); in rtw_pci_tx_write_data()