Lines Matching refs:dma_pdev
34 static struct pci_dev *dma_pdev;
248 chan->ring_virt = dma_alloc_coherent(&dma_pdev->dev,
268 dma_free_coherent(&dma_pdev->dev, chan->ring_size * sizeof(u64),
352 return dma_alloc_coherent(&dma_pdev->dev, size, handle, GFP_KERNEL);
366 dma_free_coherent(&dma_pdev->dev, size, handle, GFP_KERNEL);
516 if (dma_pdev)
528 dma_pdev = pci_get_device(PCI_VENDOR_ID_PASEMI, 0xa007, NULL);
529 if (!dma_pdev) {
535 dma_regs = map_onedev(dma_pdev, 0);
536 base_hw_irq = virq_to_hw(dma_pdev->irq);
538 pci_read_config_dword(dma_pdev, PAS_DMA_CAP_TXCH, &tmp);
541 pci_read_config_dword(dma_pdev, PAS_DMA_CAP_RXCH, &tmp);