Lines Matching refs:dma
682 txdr->desc = dma_alloc_coherent(&pdev->dev, txdr->size, &txdr->dma,
708 u64 tdba = adapter->tx_ring.dma;
714 * tx_ring.dma can be either a 32 or 64 bit value
772 rxdr->desc = dma_alloc_coherent(&pdev->dev, rxdr->size, &rxdr->dma,
832 u64 rdba = adapter->rx_ring.dma;
895 adapter->tx_ring.desc, adapter->tx_ring.dma);
904 if (buffer_info->dma) {
906 dma_unmap_page(&adapter->pdev->dev, buffer_info->dma,
909 dma_unmap_single(&adapter->pdev->dev, buffer_info->dma,
911 buffer_info->dma = 0;
977 rx_ring->dma);
1000 if (buffer_info->dma) {
1002 buffer_info->dma,
1005 buffer_info->dma = 0;
1214 WARN_ON(buffer_info->dma != 0);
1258 WARN_ON(buffer_info->dma != 0);
1306 WARN_ON(buffer_info->dma != 0);
1309 buffer_info->dma = dma_map_single(&pdev->dev,
1312 if (dma_mapping_error(&pdev->dev, buffer_info->dma))
1348 buffer_info->dma =
1351 if (dma_mapping_error(&pdev->dev, buffer_info->dma))
1367 buffer_info->dma = 0;
1409 tx_desc->buff_addr = cpu_to_le64(buffer_info->dma);
2000 buffer_info->dma,
2003 buffer_info->dma = 0;
2107 buffer_info->dma = dma_map_single(&pdev->dev,
2113 rx_desc->buff_addr = cpu_to_le64(buffer_info->dma);