Home
last modified time | relevance | path

Searched refs:pdev0 (Results 1 – 2 of 2) sorted by relevance

/drivers/misc/cb710/
Dcore.c36 struct pci_dev *pdev0; in cb710_pci_configure() local
46 pdev0 = pci_get_slot(pdev->bus, devfn); in cb710_pci_configure()
47 if (!pdev0) in cb710_pci_configure()
50 if (pdev0->vendor == PCI_VENDOR_ID_ENE in cb710_pci_configure()
51 && pdev0->device == PCI_DEVICE_ID_ENE_720) { in cb710_pci_configure()
52 cb710_pci_update_config_reg(pdev0, 0x8C, in cb710_pci_configure()
54 cb710_pci_update_config_reg(pdev0, 0xB0, in cb710_pci_configure()
58 cb710_pci_update_config_reg(pdev0, 0x8C, in cb710_pci_configure()
60 cb710_pci_update_config_reg(pdev0, 0x90, in cb710_pci_configure()
63 pci_dev_put(pdev0); in cb710_pci_configure()
/drivers/dma/
Dedma.c618 static struct platform_device *pdev0, *pdev1; variable
635 pdev0 = platform_device_register_full(&edma_dev_info0); in edma_init()
636 if (IS_ERR(pdev0)) { in edma_init()
638 ret = PTR_ERR(pdev0); in edma_init()
641 pdev0->dev.dma_mask = &pdev0->dev.coherent_dma_mask; in edma_init()
642 pdev0->dev.coherent_dma_mask = DMA_BIT_MASK(32); in edma_init()
649 platform_device_unregister(pdev0); in edma_init()
663 platform_device_unregister(pdev0); in edma_exit()