Searched refs:skb_paddr (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/net/wireless/quantenna/qtnfmac/pcie/ |
H A D | pearl_pcie.c | 539 dma_addr_t txbd_paddr, skb_paddr; in qtnf_pcie_skb_send() local 562 skb_paddr = dma_map_single(&priv->pdev->dev, skb->data, skb->len, in qtnf_pcie_skb_send() 564 if (dma_mapping_error(&priv->pdev->dev, skb_paddr)) { in qtnf_pcie_skb_send() 565 pr_err("skb DMA mapping error: %pad\n", &skb_paddr); in qtnf_pcie_skb_send() 571 txbd->addr = cpu_to_le32(QTN_HOST_LO32(skb_paddr)); in qtnf_pcie_skb_send() 572 txbd->addr_h = cpu_to_le32(QTN_HOST_HI32(skb_paddr)); in qtnf_pcie_skb_send() 712 dma_addr_t skb_paddr; in qtnf_pcie_pearl_rx_poll() local 749 skb_paddr = QTN_HOST_ADDR(le32_to_cpu(rxbd->addr_h), in qtnf_pcie_pearl_rx_poll() 751 dma_unmap_single(&priv->pdev->dev, skb_paddr, in qtnf_pcie_pearl_rx_poll()
|
H A D | topaz_pcie.c | 507 dma_addr_t skb_paddr; in qtnf_pcie_data_tx() local 525 skb_paddr = dma_map_single(&priv->pdev->dev, skb->data, skb->len, in qtnf_pcie_data_tx() 527 if (dma_mapping_error(&priv->pdev->dev, skb_paddr)) { in qtnf_pcie_data_tx() 533 txbd->addr = cpu_to_le32(QTN_HOST_LO32(skb_paddr)); in qtnf_pcie_data_tx() 535 writel(QTN_HOST_LO32(skb_paddr), &bda->request[i].addr); in qtnf_pcie_data_tx() 616 dma_addr_t skb_paddr; in qtnf_topaz_rx_poll() local 655 skb_paddr = QTN_HOST_ADDR(0x0, le32_to_cpu(rxbd->addr)); in qtnf_topaz_rx_poll() 656 dma_unmap_single(&priv->pdev->dev, skb_paddr, in qtnf_topaz_rx_poll()
|