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 | 1025 HotplugHandler *plug_handler = bus->hotplug_handler; in qbus_is_hotpluggable() local 1026 bool ret = !!plug_handler; in qbus_is_hotpluggable() 1028 if (plug_handler) { in qbus_is_hotpluggable() 1031 hdc = HOTPLUG_HANDLER_GET_CLASS(plug_handler); in qbus_is_hotpluggable() 1033 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 | 1467 HotplugHandler *plug_handler = qdev_get_hotplug_handler(drc->dev); in spapr_pci_dt_populate() local 1468 SpaprPhbState *sphb = SPAPR_PCI_HOST_BRIDGE(plug_handler); in spapr_pci_dt_populate() 1534 static void spapr_pci_pre_plug(HotplugHandler *plug_handler, in spapr_pci_pre_plug() argument 1537 SpaprPhbState *phb = SPAPR_PCI_HOST_BRIDGE(DEVICE(plug_handler)); in spapr_pci_pre_plug() 1567 static void spapr_pci_plug(HotplugHandler *plug_handler, in spapr_pci_plug() argument 1570 SpaprPhbState *phb = SPAPR_PCI_HOST_BRIDGE(DEVICE(plug_handler)); in spapr_pci_plug() 1617 static void spapr_pci_unplug(HotplugHandler *plug_handler, in spapr_pci_unplug() argument 1620 SpaprPhbState *phb = SPAPR_PCI_HOST_BRIDGE(DEVICE(plug_handler)); in spapr_pci_unplug() 1642 static void spapr_pci_unplug_request(HotplugHandler *plug_handler, in spapr_pci_unplug_request() argument 1645 SpaprPhbState *phb = SPAPR_PCI_HOST_BRIDGE(DEVICE(plug_handler)); in spapr_pci_unplug_request()
|
/openbmc/qemu/hw/pci/ |
H A D | pcie_port.c | 192 static bool pcie_slot_is_hotpluggbale_bus(HotplugHandler *plug_handler, in pcie_slot_is_hotpluggbale_bus() argument
|