Searched refs:dma_pdev (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.10/arch/powerpc/platforms/pasemi/ |
D | dma_lib.c | 32 static struct pci_dev *dma_pdev; variable 246 chan->ring_virt = dma_alloc_coherent(&dma_pdev->dev, in pasemi_dma_alloc_ring() 266 dma_free_coherent(&dma_pdev->dev, chan->ring_size * sizeof(u64), in pasemi_dma_free_ring() 350 return dma_alloc_coherent(&dma_pdev->dev, size, handle, GFP_KERNEL); in pasemi_dma_alloc_buf() 364 dma_free_coherent(&dma_pdev->dev, size, handle, GFP_KERNEL); in pasemi_dma_free_buf() 514 if (dma_pdev) in pasemi_dma_init() 526 dma_pdev = pci_get_device(PCI_VENDOR_ID_PASEMI, 0xa007, NULL); in pasemi_dma_init() 527 if (!dma_pdev) { in pasemi_dma_init() 533 dma_regs = map_onedev(dma_pdev, 0); in pasemi_dma_init() 534 base_hw_irq = virq_to_hw(dma_pdev->irq); in pasemi_dma_init() [all …]
|
/Linux-v5.10/drivers/net/ethernet/pasemi/ |
D | pasemi_mac.c | 248 struct pci_dev *pdev = mac->dma_pdev; in pasemi_mac_unmap_tx_skb() 393 ring->buffers = dma_alloc_coherent(&mac->dma_pdev->dev, in pasemi_mac_setup_rx_resources() 551 pci_unmap_single(mac->dma_pdev, in pasemi_mac_free_rx_buffers() 569 dma_free_coherent(&mac->dma_pdev->dev, RX_RING_SIZE * sizeof(u64), in pasemi_mac_free_rx_resources() 603 dma = pci_map_single(mac->dma_pdev, skb->data, in pasemi_mac_replenish_rx_ring() 607 if (unlikely(pci_dma_mapping_error(mac->dma_pdev, dma))) { in pasemi_mac_replenish_rx_ring() 698 struct pci_dev *pdev = mac->dma_pdev; in pasemi_mac_clean_rx() 1232 dev_err(&mac->dma_pdev->dev, in pasemi_mac_pause_txchan() 1253 dev_err(&mac->dma_pdev->dev, in pasemi_mac_pause_rxchan() 1272 dev_err(&mac->dma_pdev->dev, in pasemi_mac_pause_rxint() [all …]
|
D | pasemi_mac.h | 60 struct pci_dev *dma_pdev; member
|
/Linux-v5.10/arch/arm/mach-omap1/ |
D | dma.c | 314 struct platform_device *pdev, *dma_pdev; in omap1_system_dma_init() local 396 dma_pdev = platform_device_register_full(&omap_dma_dev_info); in omap1_system_dma_init() 397 if (IS_ERR(dma_pdev)) { in omap1_system_dma_init() 398 ret = PTR_ERR(dma_pdev); in omap1_system_dma_init()
|