Searched refs:dma_pdev (Results 1 – 4 of 4) sorted by relevance
/linux/arch/powerpc/platforms/pasemi/ |
H A D | dma_lib.c | 34 static struct pci_dev *dma_pdev; variable 248 chan->ring_virt = dma_alloc_coherent(&dma_pdev->dev, in pasemi_dma_alloc_ring() 268 dma_free_coherent(&dma_pdev->dev, chan->ring_size * sizeof(u64), in pasemi_dma_free_ring() 352 return dma_alloc_coherent(&dma_pdev->dev, size, handle, GFP_KERNEL); in pasemi_dma_alloc_buf() 366 dma_free_coherent(&dma_pdev->dev, size, handle, GFP_KERNEL); in pasemi_dma_free_buf() 516 if (dma_pdev) in pasemi_dma_init() 528 dma_pdev = pci_get_device(PCI_VENDOR_ID_PASEMI, 0xa007, NULL); in pasemi_dma_init() 529 if (!dma_pdev) { in pasemi_dma_init() 535 dma_regs = map_onedev(dma_pdev, 0); in pasemi_dma_init() 536 base_hw_irq = virq_to_hw(dma_pdev->irq); in pasemi_dma_init() [all …]
|
/linux/drivers/net/ethernet/pasemi/ |
H A D | pasemi_mac.c | 248 struct pci_dev *pdev = mac->dma_pdev; in pasemi_mac_unmap_tx_skb() 394 ring->buffers = dma_alloc_coherent(&mac->dma_pdev->dev, in pasemi_mac_setup_rx_resources() 552 dma_unmap_single(&mac->dma_pdev->dev, info->dma, in pasemi_mac_free_rx_buffers() 568 dma_free_coherent(&mac->dma_pdev->dev, RX_RING_SIZE * sizeof(u64), in pasemi_mac_free_rx_resources() 602 dma = dma_map_single(&mac->dma_pdev->dev, skb->data, in pasemi_mac_replenish_rx_ring() 606 if (dma_mapping_error(&mac->dma_pdev->dev, dma)) { in pasemi_mac_replenish_rx_ring() 697 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 …]
|
H A D | pasemi_mac.h | 60 struct pci_dev *dma_pdev; member
|
/linux/arch/arm/mach-omap1/ |
H A D | dma.c | 298 struct platform_device *pdev, *dma_pdev; in omap1_system_dma_init() local 375 dma_pdev = platform_device_register_full(&omap_dma_dev_info); in omap1_system_dma_init() 376 if (IS_ERR(dma_pdev)) { in omap1_system_dma_init() 377 ret = PTR_ERR(dma_pdev); in omap1_system_dma_init()
|