/openbmc/qemu/hw/pci-bridge/ |
H A D | pci_bridge_dev.c | 209 void pci_bridge_dev_plug_cb(HotplugHandler *hotplug_dev, DeviceState *dev, in pci_bridge_dev_plug_cb() argument 212 PCIDevice *pci_hotplug_dev = PCI_DEVICE(hotplug_dev); in pci_bridge_dev_plug_cb() 216 "this %s", object_get_typename(OBJECT(hotplug_dev))); in pci_bridge_dev_plug_cb() 219 shpc_device_plug_cb(hotplug_dev, dev, errp); in pci_bridge_dev_plug_cb() 222 void pci_bridge_dev_unplug_cb(HotplugHandler *hotplug_dev, DeviceState *dev, in pci_bridge_dev_unplug_cb() argument 225 PCIDevice *pci_hotplug_dev = PCI_DEVICE(hotplug_dev); in pci_bridge_dev_unplug_cb() 228 shpc_device_unplug_cb(hotplug_dev, dev, errp); in pci_bridge_dev_unplug_cb() 231 void pci_bridge_dev_unplug_request_cb(HotplugHandler *hotplug_dev, in pci_bridge_dev_unplug_request_cb() argument 234 PCIDevice *pci_hotplug_dev = PCI_DEVICE(hotplug_dev); in pci_bridge_dev_unplug_request_cb() 238 "this %s", object_get_typename(OBJECT(hotplug_dev))); in pci_bridge_dev_unplug_request_cb() [all …]
|
/openbmc/qemu/hw/acpi/ |
H A D | ich9.c | 447 ICH9LPCState *lpc = ICH9_LPC_DEVICE(hotplug_dev); in ich9_pm_device_pre_plug_cb() 450 acpi_pcihp_device_pre_plug_cb(hotplug_dev, dev, errp); in ich9_pm_device_pre_plug_cb() 469 ICH9LPCState *lpc = ICH9_LPC_DEVICE(hotplug_dev); in ich9_pm_device_plug_cb() 473 nvdimm_acpi_plug_cb(hotplug_dev, dev); in ich9_pm_device_plug_cb() 493 void ich9_pm_device_unplug_request_cb(HotplugHandler *hotplug_dev, in ich9_pm_device_unplug_request_cb() argument 496 ICH9LPCState *lpc = ICH9_LPC_DEVICE(hotplug_dev); in ich9_pm_device_unplug_request_cb() 499 acpi_memory_unplug_request_cb(hotplug_dev, in ich9_pm_device_unplug_request_cb() 516 acpi_cpu_unplug_request_cb(hotplug_dev, &lpc->pm.cpuhp_state, in ich9_pm_device_unplug_request_cb() 519 acpi_pcihp_device_unplug_request_cb(hotplug_dev, in ich9_pm_device_unplug_request_cb() 531 ICH9LPCState *lpc = ICH9_LPC_DEVICE(hotplug_dev); in ich9_pm_device_unplug_cb() [all …]
|
H A D | acpi-pci-hotplug-stub.c | 13 void acpi_pcihp_device_plug_cb(HotplugHandler *hotplug_dev, AcpiPciHpState *s, in acpi_pcihp_device_plug_cb() argument 19 void acpi_pcihp_device_pre_plug_cb(HotplugHandler *hotplug_dev, in acpi_pcihp_device_pre_plug_cb() argument 25 void acpi_pcihp_device_unplug_cb(HotplugHandler *hotplug_dev, AcpiPciHpState *s, in acpi_pcihp_device_unplug_cb() argument 31 void acpi_pcihp_device_unplug_request_cb(HotplugHandler *hotplug_dev, in acpi_pcihp_device_unplug_request_cb() argument
|
H A D | generic_event_device.c | 41 void build_ged_aml(Aml *table, const char *name, HotplugHandler *hotplug_dev, in build_ged_aml() argument 44 AcpiGedState *s = ACPI_GED(hotplug_dev); in build_ged_aml() 230 static void acpi_ged_device_plug_cb(HotplugHandler *hotplug_dev, in acpi_ged_device_plug_cb() argument 233 AcpiGedState *s = ACPI_GED(hotplug_dev); in acpi_ged_device_plug_cb() 237 nvdimm_acpi_plug_cb(hotplug_dev, dev); in acpi_ged_device_plug_cb() 239 acpi_memory_plug_cb(hotplug_dev, &s->memhp_state, dev, errp); in acpi_ged_device_plug_cb() 242 acpi_cpu_plug_cb(hotplug_dev, &s->cpuhp_state, dev, errp); in acpi_ged_device_plug_cb() 249 static void acpi_ged_unplug_request_cb(HotplugHandler *hotplug_dev, in acpi_ged_unplug_request_cb() argument 252 AcpiGedState *s = ACPI_GED(hotplug_dev); in acpi_ged_unplug_request_cb() 265 static void acpi_ged_unplug_cb(HotplugHandler *hotplug_dev, in acpi_ged_unplug_cb() argument [all …]
|
H A D | piix4.c | 319 static void piix4_device_pre_plug_cb(HotplugHandler *hotplug_dev, in piix4_device_pre_plug_cb() argument 322 PIIX4PMState *s = PIIX4_PM(hotplug_dev); in piix4_device_pre_plug_cb() 325 acpi_pcihp_device_pre_plug_cb(hotplug_dev, dev, errp); in piix4_device_pre_plug_cb() 339 static void piix4_device_plug_cb(HotplugHandler *hotplug_dev, in piix4_device_plug_cb() argument 342 PIIX4PMState *s = PIIX4_PM(hotplug_dev); in piix4_device_plug_cb() 346 nvdimm_acpi_plug_cb(hotplug_dev, dev); in piix4_device_plug_cb() 367 PIIX4PMState *s = PIIX4_PM(hotplug_dev); in piix4_device_unplug_request_cb() 385 static void piix4_device_unplug_cb(HotplugHandler *hotplug_dev, in piix4_device_unplug_cb() argument 388 PIIX4PMState *s = PIIX4_PM(hotplug_dev); in piix4_device_unplug_cb() 405 static bool piix4_is_hotpluggable_bus(HotplugHandler *hotplug_dev, in piix4_is_hotpluggable_bus() argument [all …]
|
H A D | acpi-cpu-hotplug-stub.c | 33 void acpi_cpu_plug_cb(HotplugHandler *hotplug_dev, in acpi_cpu_plug_cb() argument 39 void legacy_acpi_cpu_plug_cb(HotplugHandler *hotplug_dev, in legacy_acpi_cpu_plug_cb() argument 51 void acpi_cpu_unplug_request_cb(HotplugHandler *hotplug_dev, in acpi_cpu_unplug_request_cb() argument
|
H A D | acpi-mem-hotplug-stub.c | 18 void acpi_memory_plug_cb(HotplugHandler *hotplug_dev, MemHotplugState *mem_st, in acpi_memory_plug_cb() argument 30 void acpi_memory_unplug_request_cb(HotplugHandler *hotplug_dev, in acpi_memory_unplug_request_cb() argument
|
H A D | pcihp.c | 271 void acpi_pcihp_device_pre_plug_cb(HotplugHandler *hotplug_dev, in acpi_pcihp_device_pre_plug_cb() argument 285 void acpi_pcihp_device_plug_cb(HotplugHandler *hotplug_dev, AcpiPciHpState *s, in acpi_pcihp_device_plug_cb() argument 306 qbus_set_hotplug_handler(BUS(sec), OBJECT(hotplug_dev)); in acpi_pcihp_device_plug_cb() 324 acpi_send_event(DEVICE(hotplug_dev), ACPI_PCI_HOTPLUG_STATUS); in acpi_pcihp_device_plug_cb() 327 void acpi_pcihp_device_unplug_cb(HotplugHandler *hotplug_dev, AcpiPciHpState *s, in acpi_pcihp_device_unplug_cb() argument 338 void acpi_pcihp_device_unplug_request_cb(HotplugHandler *hotplug_dev, in acpi_pcihp_device_unplug_request_cb() argument 371 acpi_send_event(DEVICE(hotplug_dev), ACPI_PCI_HOTPLUG_STATUS); in acpi_pcihp_device_unplug_request_cb()
|
H A D | acpi-nvdimm-stub.c | 5 void nvdimm_acpi_plug_cb(HotplugHandler *hotplug_dev, DeviceState *dev) in nvdimm_acpi_plug_cb() argument
|
/openbmc/qemu/include/hw/acpi/ |
H A D | ich9.h | 82 void ich9_pm_device_pre_plug_cb(HotplugHandler *hotplug_dev, DeviceState *dev, 84 void ich9_pm_device_plug_cb(HotplugHandler *hotplug_dev, DeviceState *dev, 86 void ich9_pm_device_unplug_request_cb(HotplugHandler *hotplug_dev, 88 void ich9_pm_device_unplug_cb(HotplugHandler *hotplug_dev, DeviceState *dev, 90 bool ich9_pm_is_hotpluggable_bus(HotplugHandler *hotplug_dev, BusState *bus);
|
H A D | pcihp.h | 62 void acpi_pcihp_device_pre_plug_cb(HotplugHandler *hotplug_dev, 64 void acpi_pcihp_device_plug_cb(HotplugHandler *hotplug_dev, AcpiPciHpState *s, 66 void acpi_pcihp_device_unplug_cb(HotplugHandler *hotplug_dev, AcpiPciHpState *s, 68 void acpi_pcihp_device_unplug_request_cb(HotplugHandler *hotplug_dev,
|
H A D | memory_hotplug.h | 39 void acpi_memory_plug_cb(HotplugHandler *hotplug_dev, MemHotplugState *mem_st, 41 void acpi_memory_unplug_request_cb(HotplugHandler *hotplug_dev,
|
H A D | cpu.h | 42 void acpi_cpu_plug_cb(HotplugHandler *hotplug_dev, 45 void acpi_cpu_unplug_request_cb(HotplugHandler *hotplug_dev,
|
/openbmc/qemu/hw/i386/ |
H A D | pc.c | 1278 const MachineState *ms = MACHINE(hotplug_dev); in pc_memory_pre_plug() 1310 PCMachineState *pcms = PC_MACHINE(hotplug_dev); in pc_memory_plug() 1312 MachineState *ms = MACHINE(hotplug_dev); in pc_memory_plug() 1352 PCMachineState *pcms = PC_MACHINE(hotplug_dev); in pc_memory_unplug() 1385 pc_memory_pre_plug(hotplug_dev, dev, errp); in pc_machine_device_pre_plug_cb() 1387 x86_cpu_pre_plug(hotplug_dev, dev, errp); in pc_machine_device_pre_plug_cb() 1421 pc_memory_plug(hotplug_dev, dev, errp); in pc_machine_device_plug_cb() 1423 x86_cpu_plug(hotplug_dev, dev, errp); in pc_machine_device_plug_cb() 1427 pc_hv_balloon_plug(hotplug_dev, dev, errp); in pc_machine_device_plug_cb() 1451 pc_memory_unplug(hotplug_dev, dev, errp); in pc_machine_device_unplug_cb() [all …]
|
H A D | x86-common.c | 161 void x86_cpu_plug(HotplugHandler *hotplug_dev, in x86_cpu_plug() argument 167 X86MachineState *x86ms = X86_MACHINE(hotplug_dev); in x86_cpu_plug() 191 void x86_cpu_unplug_request_cb(HotplugHandler *hotplug_dev, in x86_cpu_unplug_request_cb() argument 196 X86MachineState *x86ms = X86_MACHINE(hotplug_dev); in x86_cpu_unplug_request_cb() 214 void x86_cpu_unplug_cb(HotplugHandler *hotplug_dev, in x86_cpu_unplug_cb() argument 220 X86MachineState *x86ms = X86_MACHINE(hotplug_dev); in x86_cpu_unplug_cb() 240 void x86_cpu_pre_plug(HotplugHandler *hotplug_dev, in x86_cpu_pre_plug() argument 249 MachineState *ms = MACHINE(hotplug_dev); in x86_cpu_pre_plug() 250 X86MachineState *x86ms = X86_MACHINE(hotplug_dev); in x86_cpu_pre_plug()
|
H A D | microvm.c | 417 static void microvm_device_pre_plug_cb(HotplugHandler *hotplug_dev, in microvm_device_pre_plug_cb() argument 423 x86_cpu_pre_plug(hotplug_dev, dev, errp); in microvm_device_pre_plug_cb() 426 static void microvm_device_plug_cb(HotplugHandler *hotplug_dev, in microvm_device_plug_cb() argument 429 x86_cpu_plug(hotplug_dev, dev, errp); in microvm_device_plug_cb() 432 static void microvm_device_unplug_request_cb(HotplugHandler *hotplug_dev, in microvm_device_unplug_request_cb() argument 438 static void microvm_device_unplug_cb(HotplugHandler *hotplug_dev, in microvm_device_unplug_cb() argument
|
/openbmc/qemu/include/hw/i386/ |
H A D | x86.h | 119 void x86_cpu_pre_plug(HotplugHandler *hotplug_dev, 121 void x86_cpu_plug(HotplugHandler *hotplug_dev, 123 void x86_cpu_unplug_request_cb(HotplugHandler *hotplug_dev, 125 void x86_cpu_unplug_cb(HotplugHandler *hotplug_dev,
|
/openbmc/qemu/include/hw/pci/ |
H A D | shpc.h | 48 void shpc_device_plug_cb(HotplugHandler *hotplug_dev, DeviceState *dev, 50 void shpc_device_unplug_cb(HotplugHandler *hotplug_dev, DeviceState *dev, 52 void shpc_device_unplug_request_cb(HotplugHandler *hotplug_dev,
|
H A D | pcie.h | 145 void pcie_cap_slot_pre_plug_cb(HotplugHandler *hotplug_dev, DeviceState *dev, 147 void pcie_cap_slot_plug_cb(HotplugHandler *hotplug_dev, DeviceState *dev, 149 void pcie_cap_slot_unplug_cb(HotplugHandler *hotplug_dev, DeviceState *dev, 151 void pcie_cap_slot_unplug_request_cb(HotplugHandler *hotplug_dev,
|
H A D | pci_bridge.h | 139 void pci_bridge_dev_plug_cb(HotplugHandler *hotplug_dev, DeviceState *dev, 141 void pci_bridge_dev_unplug_cb(HotplugHandler *hotplug_dev, DeviceState *dev, 143 void pci_bridge_dev_unplug_request_cb(HotplugHandler *hotplug_dev,
|
/openbmc/qemu/hw/pci/ |
H A D | pcie.c | 426 static void pcie_cap_update_power(PCIDevice *hotplug_dev) in pcie_cap_update_power() argument 428 uint8_t *exp_cap = hotplug_dev->config + hotplug_dev->exp.exp_cap; in pcie_cap_update_power() 429 PCIBus *sec_bus = pci_bridge_get_sec_bus(PCI_BRIDGE(hotplug_dev)); in pcie_cap_update_power() 463 uint8_t *exp_cap = hotplug_dev->config + hotplug_dev->exp.exp_cap; in pcie_cap_slot_plug_common() 478 PCIDevice *hotplug_pdev = PCI_DEVICE(hotplug_dev); in pcie_cap_slot_pre_plug_cb() 489 pcie_cap_slot_plug_common(PCI_DEVICE(hotplug_dev), dev, errp); in pcie_cap_slot_pre_plug_cb() 492 void pcie_cap_slot_plug_cb(HotplugHandler *hotplug_dev, DeviceState *dev, in pcie_cap_slot_plug_cb() argument 495 PCIDevice *hotplug_pdev = PCI_DEVICE(hotplug_dev); in pcie_cap_slot_plug_cb() 538 void pcie_cap_slot_unplug_cb(HotplugHandler *hotplug_dev, DeviceState *dev, in pcie_cap_slot_unplug_cb() argument 575 void pcie_cap_slot_unplug_request_cb(HotplugHandler *hotplug_dev, in pcie_cap_slot_unplug_request_cb() argument [all …]
|
/openbmc/qemu/hw/ppc/ |
H A D | spapr.c | 3934 MachineState *ms = MACHINE(hotplug_dev); in spapr_core_unplug() 4296 spapr_memory_plug(hotplug_dev, dev); in spapr_machine_device_plug() 4298 spapr_core_plug(hotplug_dev, dev); in spapr_machine_device_plug() 4300 spapr_phb_plug(hotplug_dev, dev); in spapr_machine_device_plug() 4302 spapr_tpm_proxy_plug(hotplug_dev, dev); in spapr_machine_device_plug() 4310 spapr_memory_unplug(hotplug_dev, dev); in spapr_machine_device_unplug() 4312 spapr_core_unplug(hotplug_dev, dev); in spapr_machine_device_unplug() 4314 spapr_phb_unplug(hotplug_dev, dev); in spapr_machine_device_unplug() 4316 spapr_tpm_proxy_unplug(hotplug_dev, dev); in spapr_machine_device_unplug() 4358 spapr_tpm_proxy_unplug(hotplug_dev, dev); in spapr_machine_device_unplug_request() [all …]
|
H A D | e500plat.c | 45 static void e500plat_machine_device_plug_cb(HotplugHandler *hotplug_dev, in e500plat_machine_device_plug_cb() argument 48 PPCE500MachineState *pms = PPCE500_MACHINE(hotplug_dev); in e500plat_machine_device_plug_cb()
|
/openbmc/qemu/hw/loongarch/ |
H A D | virt.c | 1247 pc_dimm_pre_plug(PC_DIMM(dev), MACHINE(hotplug_dev), errp); in virt_mem_pre_plug() 1250 static void virt_device_pre_plug(HotplugHandler *hotplug_dev, in virt_device_pre_plug() argument 1254 virt_mem_pre_plug(hotplug_dev, dev, errp); in virt_device_pre_plug() 1258 static void virt_mem_unplug_request(HotplugHandler *hotplug_dev, in virt_mem_unplug_request() argument 1272 virt_mem_unplug_request(hotplug_dev, dev, errp); in virt_device_unplug_request() 1276 static void virt_mem_unplug(HotplugHandler *hotplug_dev, in virt_mem_unplug() argument 1286 static void virt_device_unplug(HotplugHandler *hotplug_dev, in virt_device_unplug() argument 1290 virt_mem_unplug(hotplug_dev, dev, errp); in virt_device_unplug() 1294 static void virt_mem_plug(HotplugHandler *hotplug_dev, in virt_mem_plug() argument 1304 static void virt_device_plug_cb(HotplugHandler *hotplug_dev, in virt_device_plug_cb() argument [all …]
|
/openbmc/qemu/hw/s390x/ |
H A D | css-bridge.c | 29 static void ccw_device_unplug(HotplugHandler *hotplug_dev, in ccw_device_unplug() argument 38 k->unplug(hotplug_dev, dev, &err); in ccw_device_unplug()
|