Lines Matching refs:skb_dma
24 if (desc_data->skb_dma) { in xlgmac_unmap_desc_data()
26 dma_unmap_page(pdata->dev, desc_data->skb_dma, in xlgmac_unmap_desc_data()
29 dma_unmap_single(pdata->dev, desc_data->skb_dma, in xlgmac_unmap_desc_data()
32 desc_data->skb_dma = 0; in xlgmac_unmap_desc_data()
508 dma_addr_t skb_dma; in xlgmac_map_tx_skb() local
534 skb_dma = dma_map_single(pdata->dev, skb->data, in xlgmac_map_tx_skb()
536 if (dma_mapping_error(pdata->dev, skb_dma)) { in xlgmac_map_tx_skb()
540 desc_data->skb_dma = skb_dma; in xlgmac_map_tx_skb()
544 cur_index, &skb_dma, pkt_info->header_len); in xlgmac_map_tx_skb()
558 skb_dma = dma_map_single(pdata->dev, skb->data + offset, len, in xlgmac_map_tx_skb()
560 if (dma_mapping_error(pdata->dev, skb_dma)) { in xlgmac_map_tx_skb()
564 desc_data->skb_dma = skb_dma; in xlgmac_map_tx_skb()
568 cur_index, &skb_dma, len); in xlgmac_map_tx_skb()
590 skb_dma = skb_frag_dma_map(pdata->dev, frag, offset, in xlgmac_map_tx_skb()
592 if (dma_mapping_error(pdata->dev, skb_dma)) { in xlgmac_map_tx_skb()
597 desc_data->skb_dma = skb_dma; in xlgmac_map_tx_skb()
602 cur_index, &skb_dma, len); in xlgmac_map_tx_skb()