Home
last modified time | relevance | path

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

/openbmc/linux/drivers/pci/hotplug/
H A Dcpqphp_pci.c161 struct pci_dev *fakedev; in cpqhp_set_irq() local
165 fakedev = kmalloc(sizeof(*fakedev), GFP_KERNEL); in cpqhp_set_irq()
167 if (!fakedev || !fakebus) { in cpqhp_set_irq()
168 kfree(fakedev); in cpqhp_set_irq()
173 fakedev->devfn = dev_num << 3; in cpqhp_set_irq()
174 fakedev->bus = fakebus; in cpqhp_set_irq()
178 rc = pcibios_set_irq_routing(fakedev, int_pin - 1, irq_num); in cpqhp_set_irq()
179 kfree(fakedev); in cpqhp_set_irq()