Searched refs:plug_handler (Results 1 – 6 of 6) sorted by relevance
| /openbmc/qemu/hw/core/ |
| H A D | hotplug.c | 16 void hotplug_handler_pre_plug(HotplugHandler *plug_handler, in hotplug_handler_pre_plug() argument 20 HotplugHandlerClass *hdc = HOTPLUG_HANDLER_GET_CLASS(plug_handler); in hotplug_handler_pre_plug() 23 hdc->pre_plug(plug_handler, plugged_dev, errp); in hotplug_handler_pre_plug() 27 void hotplug_handler_plug(HotplugHandler *plug_handler, in hotplug_handler_plug() argument 31 HotplugHandlerClass *hdc = HOTPLUG_HANDLER_GET_CLASS(plug_handler); in hotplug_handler_plug() 34 hdc->plug(plug_handler, plugged_dev, errp); in hotplug_handler_plug() 38 void hotplug_handler_unplug_request(HotplugHandler *plug_handler, in hotplug_handler_unplug_request() argument 42 HotplugHandlerClass *hdc = HOTPLUG_HANDLER_GET_CLASS(plug_handler); in hotplug_handler_unplug_request() 45 hdc->unplug_request(plug_handler, plugged_dev, errp); in hotplug_handler_unplug_request() 49 void hotplug_handler_unplug(HotplugHandler *plug_handler, in hotplug_handler_unplug() argument [all …]
|
| /openbmc/qemu/include/hw/ |
| H A D | hotplug.h | 33 typedef void (*hotplug_fn)(HotplugHandler *plug_handler, 62 bool (*is_hotpluggable_bus)(HotplugHandler *plug_handler, BusState *bus); 70 void hotplug_handler_plug(HotplugHandler *plug_handler, 79 void hotplug_handler_pre_plug(HotplugHandler *plug_handler, 88 void hotplug_handler_unplug_request(HotplugHandler *plug_handler, 96 void hotplug_handler_unplug(HotplugHandler *plug_handler,
|
| H A D | qdev-core.h | 1073 HotplugHandler *plug_handler = bus->hotplug_handler; in qbus_is_hotpluggable() local 1074 bool ret = !!plug_handler; in qbus_is_hotpluggable() 1076 if (plug_handler) { in qbus_is_hotpluggable() 1079 hdc = HOTPLUG_HANDLER_GET_CLASS(plug_handler); in qbus_is_hotpluggable() 1081 ret = hdc->is_hotpluggable_bus(plug_handler, bus); in qbus_is_hotpluggable()
|
| /openbmc/qemu/stubs/ |
| H A D | hotplug-stubs.c | 22 void hotplug_handler_pre_plug(HotplugHandler *plug_handler, in hotplug_handler_pre_plug() argument 29 void hotplug_handler_plug(HotplugHandler *plug_handler, in hotplug_handler_plug() argument
|
| /openbmc/qemu/hw/ppc/ |
| H A D | spapr_pci.c | 1466 HotplugHandler *plug_handler = qdev_get_hotplug_handler(drc->dev); in spapr_pci_dt_populate() local 1467 SpaprPhbState *sphb = SPAPR_PCI_HOST_BRIDGE(plug_handler); in spapr_pci_dt_populate() 1533 static void spapr_pci_pre_plug(HotplugHandler *plug_handler, in spapr_pci_pre_plug() argument 1536 SpaprPhbState *phb = SPAPR_PCI_HOST_BRIDGE(DEVICE(plug_handler)); in spapr_pci_pre_plug() 1568 static void spapr_pci_plug(HotplugHandler *plug_handler, in spapr_pci_plug() argument 1571 SpaprPhbState *phb = SPAPR_PCI_HOST_BRIDGE(DEVICE(plug_handler)); in spapr_pci_plug() 1626 static void spapr_pci_unplug(HotplugHandler *plug_handler, in spapr_pci_unplug() argument 1629 SpaprPhbState *phb = SPAPR_PCI_HOST_BRIDGE(DEVICE(plug_handler)); in spapr_pci_unplug() 1651 static void spapr_pci_unplug_request(HotplugHandler *plug_handler, in spapr_pci_unplug_request() argument 1654 SpaprPhbState *phb = SPAPR_PCI_HOST_BRIDGE(DEVICE(plug_handler)); in spapr_pci_unplug_request()
|
| /openbmc/qemu/hw/pci/ |
| H A D | pcie_port.c | 191 static bool pcie_slot_is_hotpluggable_bus(HotplugHandler *plug_handler, in pcie_slot_is_hotpluggable_bus() argument
|