Searched refs:hc_dev (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/pci/hotplug/
H A Dcpcihp_zt5550.c70 static struct pci_dev *hc_dev; variable in typeref:struct:pci_dev
85 if (hc_dev) { zt5550_hc_config()
96 hc_dev = pdev; zt5550_hc_config()
97 dbg("hc_dev = %p", hc_dev); zt5550_hc_config()
98 dbg("pci resource start %llx", (unsigned long long)pci_resource_start(hc_dev, 1)); zt5550_hc_config()
99 dbg("pci resource len %llx", (unsigned long long)pci_resource_len(hc_dev, 1)); zt5550_hc_config()
101 if (!request_mem_region(pci_resource_start(hc_dev, 1), zt5550_hc_config()
102 pci_resource_len(hc_dev, 1), MY_NAME)) { zt5550_hc_config()
109 ioremap(pci_resource_start(hc_dev, 1), pci_resource_len(hc_dev, 1)); zt5550_hc_config()
112 (unsigned long long)pci_resource_len(hc_dev, 1), zt5550_hc_config()
113 (unsigned long long)pci_resource_start(hc_dev, 1)); zt5550_hc_config()
140 release_mem_region(pci_resource_start(hc_dev, 1), zt5550_hc_config()
141 pci_resource_len(hc_dev, 1)); zt5550_hc_config()
143 pci_disable_device(hc_dev); zt5550_hc_config()
149 if (!hc_dev) zt5550_hc_cleanup()
153 release_mem_region(pci_resource_start(hc_dev, 1), zt5550_hc_cleanup()
154 pci_resource_len(hc_dev, 1)); zt5550_hc_cleanup()
155 pci_disable_device(hc_dev); zt5550_hc_cleanup()
185 if (hc_dev == NULL) zt5550_hc_enable_irq()
198 if (hc_dev == NULL) zt5550_hc_disable_irq()
221 zt5550_hpc.irq = hc_dev->irq; zt5550_hc_init_one()
223 zt5550_hpc.dev_id = hc_dev; zt5550_hc_init_one()

Completed in 95 milliseconds