Searched refs:dma_pdev (Results 1 - 4 of 4) sorted by path

/linux-master/drivers/net/ethernet/pasemi/
H A Dpasemi_mac.h60 struct pci_dev *dma_pdev; member in struct:pasemi_mac
H A Dpasemi_mac.c248 struct pci_dev *pdev = mac->dma_pdev;
394 ring->buffers = dma_alloc_coherent(&mac->dma_pdev->dev,
552 dma_unmap_single(&mac->dma_pdev->dev, info->dma,
568 dma_free_coherent(&mac->dma_pdev->dev, RX_RING_SIZE * sizeof(u64),
602 dma = dma_map_single(&mac->dma_pdev->dev, skb->data,
606 if (dma_mapping_error(&mac->dma_pdev->dev, dma)) {
697 struct pci_dev *pdev = mac->dma_pdev;
1232 dev_err(&mac->dma_pdev->dev,
1253 dev_err(&mac->dma_pdev->dev,
1272 dev_err(&mac->dma_pdev
[all...]
/linux-master/arch/arm/mach-omap1/
H A Ddma.c298 struct platform_device *pdev, *dma_pdev; local
375 dma_pdev = platform_device_register_full(&omap_dma_dev_info);
376 if (IS_ERR(dma_pdev)) {
377 ret = PTR_ERR(dma_pdev);
/linux-master/arch/powerpc/platforms/pasemi/
H A Ddma_lib.c34 static struct pci_dev *dma_pdev; variable in typeref:struct:pci_dev
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
[all...]

Completed in 292 milliseconds