Searched refs:dma_pdev (Results 1 – 4 of 4) sorted by relevance
/linux-3.4.99/arch/powerpc/platforms/pasemi/ |
D | dma_lib.c | 45 static struct pci_dev *dma_pdev; variable 259 chan->ring_virt = dma_alloc_coherent(&dma_pdev->dev, in pasemi_dma_alloc_ring() 281 dma_free_coherent(&dma_pdev->dev, chan->ring_size * sizeof(u64), in pasemi_dma_free_ring() 365 return dma_alloc_coherent(&dma_pdev->dev, size, handle, GFP_KERNEL); in pasemi_dma_alloc_buf() 379 dma_free_coherent(&dma_pdev->dev, size, handle, GFP_KERNEL); in pasemi_dma_free_buf() 529 if (dma_pdev) in pasemi_dma_init() 541 dma_pdev = pci_get_device(PCI_VENDOR_ID_PASEMI, 0xa007, NULL); in pasemi_dma_init() 542 if (!dma_pdev) { in pasemi_dma_init() 548 dma_regs = map_onedev(dma_pdev, 0); in pasemi_dma_init() 549 base_hw_irq = virq_to_hw(dma_pdev->irq); in pasemi_dma_init() [all …]
|
/linux-3.4.99/drivers/net/ethernet/pasemi/ |
D | pasemi_mac.c | 298 struct pci_dev *pdev = mac->dma_pdev; in pasemi_mac_unmap_tx_skb() 442 ring->buffers = dma_alloc_coherent(&mac->dma_pdev->dev, in pasemi_mac_setup_rx_resources() 600 pci_unmap_single(mac->dma_pdev, in pasemi_mac_free_rx_buffers() 618 dma_free_coherent(&mac->dma_pdev->dev, RX_RING_SIZE * sizeof(u64), in pasemi_mac_free_rx_resources() 652 dma = pci_map_single(mac->dma_pdev, skb->data, in pasemi_mac_replenish_rx_ring() 656 if (unlikely(pci_dma_mapping_error(mac->dma_pdev, dma))) { in pasemi_mac_replenish_rx_ring() 747 struct pci_dev *pdev = mac->dma_pdev; in pasemi_mac_clean_rx() 1283 dev_err(&mac->dma_pdev->dev, in pasemi_mac_pause_txchan() 1304 dev_err(&mac->dma_pdev->dev, in pasemi_mac_pause_rxchan() 1323 dev_err(&mac->dma_pdev->dev, in pasemi_mac_pause_rxint() [all …]
|
D | pasemi_mac.h | 73 struct pci_dev *dma_pdev; member
|
/linux-3.4.99/sound/soc/atmel/ |
D | atmel_ssc_dai.c | 819 static struct platform_device *dma_pdev; in atmel_ssc_set_audio() local 827 if (!dma_pdev) { in atmel_ssc_set_audio() 828 dma_pdev = platform_device_alloc("atmel-pcm-audio", -1); in atmel_ssc_set_audio() 829 if (!dma_pdev) in atmel_ssc_set_audio() 832 ret = platform_device_add(dma_pdev); in atmel_ssc_set_audio() 834 platform_device_put(dma_pdev); in atmel_ssc_set_audio() 835 dma_pdev = NULL; in atmel_ssc_set_audio()
|