Lines Matching refs:skb_dma
1547 rd_info->skb_dma = dma_map_single(vptr->dev, rd_info->skb->data, in velocity_alloc_rx_buf()
1556 rd->pa_low = cpu_to_le32(rd_info->skb_dma); in velocity_alloc_rx_buf()
1611 dma_unmap_single(vptr->dev, rd_info->skb_dma, vptr->rx.buf_sz, in velocity_free_rd_ring()
1613 rd_info->skb_dma = 0; in velocity_free_rd_ring()
1748 dma_unmap_single(vptr->dev, tdinfo->skb_dma[i], in velocity_free_tx_buf()
1769 if (td_info->skb_dma[i]) { in velocity_free_td_ring_entry()
1770 dma_unmap_single(vptr->dev, td_info->skb_dma[i], in velocity_free_td_ring_entry()
1772 td_info->skb_dma[i] = 0; in velocity_free_td_ring_entry()
2067 dma_sync_single_for_cpu(vptr->dev, rd_info->skb_dma, in velocity_receive_frame()
2075 dma_unmap_single(vptr->dev, rd_info->skb_dma, vptr->rx.buf_sz, in velocity_receive_frame()
2078 dma_sync_single_for_device(vptr->dev, rd_info->skb_dma, in velocity_receive_frame()
2571 tdinfo->skb_dma[0] = dma_map_single(vptr->dev, skb->data, pktlen, in velocity_xmit()
2574 td_ptr->td_buf[0].pa_low = cpu_to_le32(tdinfo->skb_dma[0]); in velocity_xmit()
2582 tdinfo->skb_dma[i + 1] = skb_frag_dma_map(vptr->dev, in velocity_xmit()
2587 td_ptr->td_buf[i + 1].pa_low = cpu_to_le32(tdinfo->skb_dma[i + 1]); in velocity_xmit()