Home
last modified time | relevance | path

Searched refs:hotplug_dev (Results 1 – 25 of 46) sorted by relevance

12

/openbmc/qemu/hw/pci-bridge/
H A Dpci_bridge_dev.c209 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 Dich9.c447 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 Dacpi-pci-hotplug-stub.c13 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 Dgeneric_event_device.c41 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 Dpiix4.c319 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 Dacpi-cpu-hotplug-stub.c33 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 Dacpi-mem-hotplug-stub.c18 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 Dpcihp.c271 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 Dacpi-nvdimm-stub.c5 void nvdimm_acpi_plug_cb(HotplugHandler *hotplug_dev, DeviceState *dev) in nvdimm_acpi_plug_cb() argument
/openbmc/qemu/include/hw/acpi/
H A Dich9.h82 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 Dpcihp.h62 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 Dmemory_hotplug.h39 void acpi_memory_plug_cb(HotplugHandler *hotplug_dev, MemHotplugState *mem_st,
41 void acpi_memory_unplug_request_cb(HotplugHandler *hotplug_dev,
H A Dcpu.h42 void acpi_cpu_plug_cb(HotplugHandler *hotplug_dev,
45 void acpi_cpu_unplug_request_cb(HotplugHandler *hotplug_dev,
/openbmc/qemu/hw/i386/
H A Dpc.c1278 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 Dx86-common.c161 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 Dmicrovm.c417 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 Dx86.h119 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 Dshpc.h48 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 Dpcie.h145 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 Dpci_bridge.h139 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 Dpcie.c426 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 Dspapr.c3934 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 De500plat.c45 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 Dvirt.c1247 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 Dcss-bridge.c29 static void ccw_device_unplug(HotplugHandler *hotplug_dev, in ccw_device_unplug() argument
38 k->unplug(hotplug_dev, dev, &err); in ccw_device_unplug()

12