Home
last modified time | relevance | path

Searched refs:BusState (Results 1 – 25 of 137) sorted by relevance

123456

/qemu/include/hw/
H A Dqdev-core.h96 typedef void (*BusRealize)(BusState *bus, Error **errp);
97 typedef void (*BusUnrealize)(BusState *bus);
218 typedef QLIST_HEAD(, BusState) BusStateHead;
262 BusState *parent_bus;
323 DECLARE_OBJ_CHECKERS(BusState, BusClass,
346 bool (*check_address)(BusState *bus, DeviceState *dev, Error **errp);
367 typedef QLIST_ENTRY(BusState) BusStateEntry;
380 struct BusState { struct
489 bool qdev_realize(DeviceState *dev, BusState *bus, Error **errp);
517 bool qdev_realize_and_unref(DeviceState *dev, BusState *bus, Error **errp);
[all …]
H A Dfw-path-provider.h36 char *(*get_dev_path)(FWPathProvider *p, BusState *bus, DeviceState *dev);
39 char *fw_path_provider_get_dev_path(FWPathProvider *p, BusState *bus,
41 char *fw_path_provider_try_get_dev_path(Object *o, BusState *bus,
/qemu/hw/core/
H A Dbus.c26 void qbus_set_hotplug_handler(BusState *bus, Object *handler) in qbus_set_hotplug_handler()
32 void qbus_set_bus_hotplug_handler(BusState *bus) in qbus_set_bus_hotplug_handler()
37 int qbus_walk_children(BusState *bus, in qbus_walk_children()
73 void bus_cold_reset(BusState *bus) in bus_cold_reset()
78 bool bus_is_in_reset(BusState *bus) in bus_is_in_reset()
85 BusState *bus = BUS(obj); in bus_get_reset_state()
92 BusState *bus = BUS(obj); in bus_reset_child_foreach()
102 static void qbus_init_internal(BusState *bus, DeviceState *parent, in qbus_init_internal()
140 BusState *bus = BUS(obj); in bus_unparent()
162 BusState *qbus_new(const char *typename, DeviceState *parent, const char *name) in qbus_new()
[all …]
H A Dqdev.c58 static void bus_remove_child(BusState *bus, DeviceState *child) in bus_remove_child()
81 static void bus_add_child(BusState *bus, DeviceState *child) in bus_add_child()
102 static bool bus_check_address(BusState *bus, DeviceState *child, Error **errp) in bus_check_address()
108 bool qdev_set_parent_bus(DeviceState *dev, BusState *bus, Error **errp) in qdev_set_parent_bus()
110 BusState *old_parent_bus = dev->parent_bus; in qdev_set_parent_bus()
257 BusState *bus; in device_reset_child_foreach()
264 bool qdev_realize(DeviceState *dev, BusState *bus, Error **errp) in qdev_realize()
279 bool qdev_realize_and_unref(DeviceState *dev, BusState *bus, Error **errp) in qdev_realize_and_unref()
317 BusState *qdev_get_parent_bus(const DeviceState *dev) in qdev_get_parent_bus()
322 BusState *qdev_get_child_bus(DeviceState *dev, const char *name) in qdev_get_child_bus()
[all …]
H A Dqdev-fw.c33 static char *bus_get_fw_dev_path(BusState *bus, DeviceState *dev) in bus_get_fw_dev_path()
44 static char *qdev_get_fw_dev_path_from_handler(BusState *bus, DeviceState *dev) in qdev_get_fw_dev_path_from_handler()
56 char *qdev_get_own_fw_dev_path_from_handler(BusState *bus, DeviceState *dev) in qdev_get_own_fw_dev_path_from_handler()
H A Dfw-path-provider.c22 char *fw_path_provider_get_dev_path(FWPathProvider *p, BusState *bus, in fw_path_provider_get_dev_path()
30 char *fw_path_provider_try_get_dev_path(Object *o, BusState *bus, in fw_path_provider_try_get_dev_path()
H A Dsysbus.c301 static BusState *main_system_bus;
309 main_system_bus = g_new0(BusState, 1); in main_system_bus_create()
310 qbus_init(main_system_bus, sizeof(BusState), in main_system_bus_create()
315 BusState *sysbus_get_default(void) in sysbus_get_default()
336 .instance_size = sizeof(BusState),
H A Dqdev-hotplug.c34 static bool qdev_hotplug_unplug_allowed_common(DeviceState *dev, BusState *bus, in qdev_hotplug_unplug_allowed_common()
66 bool qdev_hotplug_allowed(DeviceState *dev, BusState *bus, Error **errp) in qdev_hotplug_allowed()
/qemu/hw/ide/
H A Dide-bus.c30 static void idebus_unrealize(BusState *qdev);
40 static void idebus_unrealize(BusState *bus) in idebus_unrealize()
86 int ide_get_geometry(BusState *bus, int unit, in ide_get_geometry()
101 int ide_get_bios_chs_trans(BusState *bus, int unit) in ide_get_bios_chs_trans()
/qemu/include/hw/ide/
H A Dide-bus.h9 BusState qbus;
38 int ide_get_geometry(BusState *bus, int unit,
40 int ide_get_bios_chs_trans(BusState *bus, int unit);
/qemu/hw/ssi/
H A Dssi.c24 BusState parent_obj;
32 BusState *b = BUS(bus); in OBJECT_DECLARE_SIMPLE_TYPE()
45 static bool ssi_bus_check_address(BusState *b, DeviceState *dev, Error **errp) in ssi_bus_check_address()
151 BusState *bus; in ssi_create_bus()
158 BusState *b = BUS(bus); in ssi_transfer()
/qemu/system/
H A Dqdev-monitor.c370 BusState *child; in qbus_error_append_bus_list_hint()
382 static void qbus_error_append_dev_list_hint(BusState *bus, in qbus_error_append_dev_list_hint()
401 static BusState *qbus_find_bus(DeviceState *dev, char *elem) in qbus_find_bus()
403 BusState *child; in qbus_find_bus()
413 static DeviceState *qbus_find_dev(BusState *bus, char *elem) in qbus_find_dev()
447 static inline bool qbus_is_full(BusState *bus) in qbus_is_full()
466 static BusState *qbus_find_recursive(BusState *bus, const char *name, in qbus_find_recursive()
470 BusState *pick, *child, *ret; in qbus_find_recursive()
503 static BusState *qbus_find(const char *path, Error **errp) in qbus_find()
506 BusState *bus; in qbus_find()
[all …]
/qemu/hw/nubus/
H A Dnubus-bus.c81 static void nubus_unrealize(BusState *bus) in nubus_unrealize()
88 static void nubus_realize(BusState *bus, Error **errp) in nubus_realize()
125 BusState *bus = qdev_get_parent_bus(dev); in nubus_get_dev_path()
137 static bool nubus_check_address(BusState *bus, DeviceState *dev, Error **errp) in nubus_check_address()
/qemu/hw/smbios/
H A Dsmbios_type_38.c85 static void smbios_add_ipmi_devices(BusState *bus) in smbios_add_ipmi_devices()
92 BusState *childbus; in smbios_add_ipmi_devices()
118 BusState *bus; in smbios_build_type_38_table()
/qemu/hw/i386/
H A Dnitro_enclave.c27 static BusState *find_free_virtio_mmio_bus(void) in find_free_virtio_mmio_bus()
30 BusState *bus = sysbus_get_default(); in find_free_virtio_mmio_bus()
37 BusState *mmio_bus = &mmio_virtio_bus->parent_obj; in find_free_virtio_mmio_bus()
51 BusState *bus; in vhost_user_vsock_init()
80 BusState *bus = find_free_virtio_mmio_bus(); in virtio_nsm_init()
/qemu/hw/scsi/
H A Dvirtio-scsi-dataplane.c29 BusState *qbus = qdev_get_parent_bus(DEVICE(vdev)); in virtio_scsi_dataplane_setup()
110 BusState *qbus = BUS(qdev_get_parent_bus(DEVICE(s))); in virtio_scsi_set_host_notifier()
148 BusState *qbus = qdev_get_parent_bus(DEVICE(vdev)); in virtio_scsi_dataplane_start()
240 BusState *qbus = qdev_get_parent_bus(DEVICE(vdev)); in virtio_scsi_dataplane_stop()
H A Dvhost-scsi-common.c33 BusState *qbus = BUS(qdev_get_parent_bus(DEVICE(vdev))); in vhost_scsi_common_start()
107 BusState *qbus = BUS(qdev_get_parent_bus(DEVICE(vdev))); in vhost_scsi_common_stop()
153 char *vhost_scsi_common_get_fw_dev_path(FWPathProvider *p, BusState *bus, in vhost_scsi_common_get_fw_dev_path()
/qemu/hw/virtio/
H A Dvirtio-bus.c46 BusState *qbus = BUS(qdev_get_parent_bus(qdev)); in virtio_bus_device_plugged()
117 BusState *qbus = BUS(qdev_get_parent_bus(qdev)); in virtio_bus_device_unplugged()
327 BusState *bus = qdev_get_parent_bus(dev); in virtio_bus_get_dev_path()
340 BusState *qbus = BUS(qdev_get_parent_bus(qdev)); in virtio_bus_device_iommu_enabled()
/qemu/include/hw/virtio/
H A Dvirtio-bus.h100 BusState parent_obj;
134 BusState *qbus = &bus->parent_obj; in virtio_bus_get_device()
/qemu/include/qemu/
H A Dtypedefs.h37 typedef struct BusState BusState; typedef
/qemu/hw/arm/
H A Dxlnx-zcu102.c177 BusState *bus; in xlnx_zcu102_init()
196 BusState *spi_bus; in xlnx_zcu102_init()
219 BusState *spi_bus; in xlnx_zcu102_init()
/qemu/stubs/
H A Dsysbus.c4 BusState *sysbus_get_default(void) in sysbus_get_default()
/qemu/backends/
H A Dvhost-user.c51 BusState *qbus = BUS(qdev_get_parent_bus(DEVICE(b->vdev))); in vhost_user_backend_start()
103 BusState *qbus = BUS(qdev_get_parent_bus(DEVICE(b->vdev))); in vhost_user_backend_stop()
/qemu/include/hw/s390x/
H A Dcss-bridge.h29 BusState parent_obj;
/qemu/include/hw/sd/
H A Dcadence_sdhci.h36 BusState *bus;

123456