/openbmc/qemu/hw/core/ |
H A D | qdev-hotplug.c | 60 HotplugHandler *hotplug_ctrl = qdev_get_machine_hotplug_handler(dev); in qdev_get_hotplug_handler() local 62 if (hotplug_ctrl == NULL && dev->parent_bus) { in qdev_get_hotplug_handler() 63 hotplug_ctrl = qdev_get_bus_hotplug_handler(dev); in qdev_get_hotplug_handler() 65 return hotplug_ctrl; in qdev_get_hotplug_handler()
|
H A D | qdev.c | 458 HotplugHandler *hotplug_ctrl; in device_set_realized() local 486 hotplug_ctrl = qdev_get_hotplug_handler(dev); in device_set_realized() 487 if (hotplug_ctrl) { in device_set_realized() 488 hotplug_handler_pre_plug(hotplug_ctrl, dev, &local_err); in device_set_realized() 551 if (hotplug_ctrl) { in device_set_realized() 552 hotplug_handler_plug(hotplug_ctrl, dev, &local_err); in device_set_realized()
|
/openbmc/qemu/system/ |
H A D | qdev-monitor.c | 907 HotplugHandler *hotplug_ctrl; in qdev_unplug() local 934 hotplug_ctrl = qdev_get_hotplug_handler(dev); in qdev_unplug() 937 g_assert(hotplug_ctrl); in qdev_unplug() 941 hdc = HOTPLUG_HANDLER_GET_CLASS(hotplug_ctrl); in qdev_unplug() 943 hotplug_handler_unplug_request(hotplug_ctrl, dev, &local_err); in qdev_unplug() 945 hotplug_handler_unplug(hotplug_ctrl, dev, &local_err); in qdev_unplug()
|
/openbmc/qemu/hw/acpi/ |
H A D | pcihp.c | 184 HotplugHandler *hotplug_ctrl; in acpi_pcihp_eject_slot() local 221 hotplug_ctrl = qdev_get_hotplug_handler(qdev); in acpi_pcihp_eject_slot() 222 hotplug_handler_unplug(hotplug_ctrl, qdev, &error_abort); in acpi_pcihp_eject_slot()
|
H A D | memory_hotplug.c | 122 HotplugHandler *hotplug_ctrl = NULL; in acpi_memory_hotplug_write() local 176 hotplug_ctrl = qdev_get_hotplug_handler(dev); in acpi_memory_hotplug_write() 178 hotplug_handler_unplug(hotplug_ctrl, dev, &local_err); in acpi_memory_hotplug_write()
|
H A D | cpu.c | 135 HotplugHandler *hotplug_ctrl = NULL; in cpu_hotplug_wr() local 144 hotplug_ctrl = qdev_get_hotplug_handler(dev); in cpu_hotplug_wr() 145 hotplug_handler_unplug(hotplug_ctrl, dev, NULL); in cpu_hotplug_wr()
|
/openbmc/qemu/hw/s390x/ |
H A D | s390-pci-bus.c | 156 HotplugHandler *hotplug_ctrl; in s390_pci_perform_unplug() local 166 hotplug_ctrl = qdev_get_hotplug_handler(pdev); in s390_pci_perform_unplug() 167 hotplug_handler_unplug(hotplug_ctrl, pdev, &error_abort); in s390_pci_perform_unplug() 172 hotplug_ctrl = qdev_get_hotplug_handler(DEVICE(pbdev)); in s390_pci_perform_unplug() 173 hotplug_handler_unplug(hotplug_ctrl, DEVICE(pbdev), &error_abort); in s390_pci_perform_unplug()
|
/openbmc/qemu/hw/pci/ |
H A D | shpc.c | 274 HotplugHandler *hotplug_ctrl; in shpc_free_devices_in_slot() local 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()
|
H A D | pcie.c | 579 HotplugHandler *hotplug_ctrl = qdev_get_hotplug_handler(DEVICE(dev)); in pcie_unplug_device() local 585 hotplug_handler_unplug(hotplug_ctrl, DEVICE(dev), &error_abort); in pcie_unplug_device()
|
/openbmc/qemu/hw/net/ |
H A D | virtio-net.c | 3493 HotplugHandler *hotplug_ctrl; in failover_unplug_primary() local 3497 hotplug_ctrl = qdev_get_hotplug_handler(dev); in failover_unplug_primary() 3498 if (hotplug_ctrl) { in failover_unplug_primary() 3501 hotplug_handler_unplug_request(hotplug_ctrl, dev, &err); in failover_unplug_primary() 3516 HotplugHandler *hotplug_ctrl; in failover_replug_primary() local 3530 hotplug_ctrl = qdev_get_hotplug_handler(dev); in failover_replug_primary() 3531 if (hotplug_ctrl) { in failover_replug_primary() 3532 hotplug_handler_pre_plug(hotplug_ctrl, dev, &err); in failover_replug_primary() 3536 hotplug_handler_plug(hotplug_ctrl, dev, &err); in failover_replug_primary()
|
/openbmc/qemu/hw/ppc/ |
H A D | spapr.c | 3750 HotplugHandler *hotplug_ctrl = qdev_get_hotplug_handler(dev); in spapr_lmb_release() local 3751 SpaprMachineState *spapr = SPAPR_MACHINE(hotplug_ctrl); in spapr_lmb_release() 3771 hotplug_handler_unplug(hotplug_ctrl, dev, &error_abort); in spapr_lmb_release() 3842 HotplugHandler *hotplug_ctrl = qdev_get_hotplug_handler(dev); in spapr_core_release() local 3845 hotplug_handler_unplug(hotplug_ctrl, dev, &error_abort); in spapr_core_release() 4126 HotplugHandler *hotplug_ctrl = qdev_get_hotplug_handler(dev); in spapr_phb_release() local 4128 hotplug_handler_unplug(hotplug_ctrl, dev, &error_abort); in spapr_phb_release()
|
H A D | spapr_pci.c | 1458 HotplugHandler *hotplug_ctrl = qdev_get_hotplug_handler(dev); in spapr_phb_remove_pci_device_cb() local 1460 hotplug_handler_unplug(hotplug_ctrl, dev, &error_abort); in spapr_phb_remove_pci_device_cb()
|
/openbmc/linux/drivers/media/i2c/ |
H A D | adv7511-v4l2.c | 112 struct v4l2_ctrl *hotplug_ctrl; member 1552 v4l2_ctrl_s_ctrl(state->hotplug_ctrl, adv7511_have_hotplug(sd) ? 0x1 : 0x0); in adv7511_check_monitor_present_status() 1806 state->hotplug_ctrl = v4l2_ctrl_new_std(hdl, NULL, in adv7511_probe()
|