Home
last modified time | relevance | path

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

/Linux-v4.19/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 …]
/Linux-v4.19/drivers/net/ethernet/pasemi/
Dpasemi_mac.c259 struct pci_dev *pdev = mac->dma_pdev; in pasemi_mac_unmap_tx_skb()
404 ring->buffers = dma_zalloc_coherent(&mac->dma_pdev->dev, in pasemi_mac_setup_rx_resources()
562 pci_unmap_single(mac->dma_pdev, in pasemi_mac_free_rx_buffers()
580 dma_free_coherent(&mac->dma_pdev->dev, RX_RING_SIZE * sizeof(u64), in pasemi_mac_free_rx_resources()
614 dma = pci_map_single(mac->dma_pdev, skb->data, in pasemi_mac_replenish_rx_ring()
618 if (unlikely(pci_dma_mapping_error(mac->dma_pdev, dma))) { in pasemi_mac_replenish_rx_ring()
709 struct pci_dev *pdev = mac->dma_pdev; in pasemi_mac_clean_rx()
1239 dev_err(&mac->dma_pdev->dev, in pasemi_mac_pause_txchan()
1260 dev_err(&mac->dma_pdev->dev, in pasemi_mac_pause_rxchan()
1279 dev_err(&mac->dma_pdev->dev, in pasemi_mac_pause_rxint()
[all …]
Dpasemi_mac.h71 struct pci_dev *dma_pdev; member
/Linux-v4.19/arch/arm/mach-omap1/
Ddma.c317 struct platform_device *pdev, *dma_pdev; in omap1_system_dma_init() local
399 dma_pdev = platform_device_register_full(&omap_dma_dev_info); in omap1_system_dma_init()
400 if (IS_ERR(dma_pdev)) { in omap1_system_dma_init()
401 ret = PTR_ERR(dma_pdev); in omap1_system_dma_init()