Home
last modified time | relevance | path

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

/openbmc/qemu/hw/pci/
H A Dshpc.c280 PCIDevice *affected_dev = shpc->sec_bus->devices[devfn]; in shpc_free_devices_in_slot() local
281 if (affected_dev) { in shpc_free_devices_in_slot()
282 hotplug_ctrl = qdev_get_hotplug_handler(DEVICE(affected_dev)); in shpc_free_devices_in_slot()
283 hotplug_handler_unplug(hotplug_ctrl, DEVICE(affected_dev), in shpc_free_devices_in_slot()
285 object_unparent(OBJECT(affected_dev)); in shpc_free_devices_in_slot()
546 static bool shpc_device_get_slot(PCIDevice *affected_dev, int *slot, in shpc_device_get_slot() argument
549 int pci_slot = PCI_SLOT(affected_dev->devfn); in shpc_device_get_slot()