Lines Matching refs:skb_dma
473 if (rdata->skb_dma) { in xgbe_unmap_rdata()
475 dma_unmap_page(pdata->dev, rdata->skb_dma, in xgbe_unmap_rdata()
478 dma_unmap_single(pdata->dev, rdata->skb_dma, in xgbe_unmap_rdata()
481 rdata->skb_dma = 0; in xgbe_unmap_rdata()
530 dma_addr_t skb_dma; in xgbe_map_tx_skb() local
558 skb_dma = dma_map_single(pdata->dev, skb->data, in xgbe_map_tx_skb()
560 if (dma_mapping_error(pdata->dev, skb_dma)) { in xgbe_map_tx_skb()
564 rdata->skb_dma = skb_dma; in xgbe_map_tx_skb()
568 cur_index, &skb_dma, packet->header_len); in xgbe_map_tx_skb()
582 skb_dma = dma_map_single(pdata->dev, skb->data + offset, len, in xgbe_map_tx_skb()
584 if (dma_mapping_error(pdata->dev, skb_dma)) { in xgbe_map_tx_skb()
588 rdata->skb_dma = skb_dma; in xgbe_map_tx_skb()
592 cur_index, &skb_dma, len); in xgbe_map_tx_skb()
614 skb_dma = skb_frag_dma_map(pdata->dev, frag, offset, in xgbe_map_tx_skb()
616 if (dma_mapping_error(pdata->dev, skb_dma)) { in xgbe_map_tx_skb()
621 rdata->skb_dma = skb_dma; in xgbe_map_tx_skb()
626 cur_index, &skb_dma, len); in xgbe_map_tx_skb()