Searched refs:affected_dev (Results 1 – 1 of 1) sorted by relevance
280 PCIDevice *affected_dev = shpc->sec_bus->devices[devfn]; in shpc_free_devices_in_slot() local281 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() argument549 int pci_slot = PCI_SLOT(affected_dev->devfn); in shpc_device_get_slot()