Home
last modified time | relevance | path

Searched refs:dma_pdev (Results 1 – 2 of 2) sorted by relevance

/arch/powerpc/platforms/pasemi/
Ddma_lib.c44 static struct pci_dev *dma_pdev; variable
258 chan->ring_virt = dma_alloc_coherent(&dma_pdev->dev, in pasemi_dma_alloc_ring()
280 dma_free_coherent(&dma_pdev->dev, chan->ring_size * sizeof(u64), in pasemi_dma_free_ring()
364 return dma_alloc_coherent(&dma_pdev->dev, size, handle, GFP_KERNEL); in pasemi_dma_alloc_buf()
378 dma_free_coherent(&dma_pdev->dev, size, handle, GFP_KERNEL); in pasemi_dma_free_buf()
528 if (dma_pdev) in pasemi_dma_init()
540 dma_pdev = pci_get_device(PCI_VENDOR_ID_PASEMI, 0xa007, NULL); in pasemi_dma_init()
541 if (!dma_pdev) { in pasemi_dma_init()
547 dma_regs = map_onedev(dma_pdev, 0); in pasemi_dma_init()
548 base_hw_irq = virq_to_hw(dma_pdev->irq); in pasemi_dma_init()
[all …]
/arch/arm/mach-omap1/
Ddma.c281 struct platform_device *pdev, *dma_pdev; in omap1_system_dma_init() local
357 dma_pdev = platform_device_register_full(&omap_dma_dev_info); in omap1_system_dma_init()
358 if (IS_ERR(dma_pdev)) { in omap1_system_dma_init()
359 ret = PTR_ERR(dma_pdev); in omap1_system_dma_init()