Home
last modified time | relevance | path

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

123456

/openbmc/qemu/include/hw/
H A Dqdev-core.h96 typedef void (*BusRealize)(BusState *bus, Error **errp);
97 typedef void (*BusUnrealize)(BusState *bus);
212 typedef QLIST_HEAD(, BusState) BusStateHead;
260 BusState *parent_bus;
321 DECLARE_OBJ_CHECKERS(BusState, BusClass,
344 bool (*check_address)(BusState *bus, DeviceState *dev, Error **errp);
365 typedef QLIST_ENTRY(BusState) BusStateEntry;
378 struct BusState { struct
487 bool qdev_realize(DeviceState *dev, BusState *bus, Error **errp);
515 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,
/openbmc/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.c86 .instance_size = sizeof(BusState),
318 static BusState *main_system_bus;
332 BusState *sysbus_get_default(void) in sysbus_get_default()
/openbmc/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()
/openbmc/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);
/openbmc/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()
152 BusState *bus; in ssi_create_bus()
159 BusState *b = BUS(bus); in ssi_transfer()
/openbmc/qemu/system/
H A Dqdev-monitor.c371 BusState *child; in qbus_error_append_bus_list_hint()
383 static void qbus_error_append_dev_list_hint(BusState *bus, in qbus_error_append_dev_list_hint()
402 static BusState *qbus_find_bus(DeviceState *dev, char *elem) in qbus_find_bus()
404 BusState *child; in qbus_find_bus()
414 static DeviceState *qbus_find_dev(BusState *bus, char *elem) in qbus_find_dev()
448 static inline bool qbus_is_full(BusState *bus) in qbus_is_full()
467 static BusState *qbus_find_recursive(BusState *bus, const char *name, in qbus_find_recursive()
471 BusState *pick, *child, *ret; in qbus_find_recursive()
504 static BusState *qbus_find(const char *path, Error **errp) in qbus_find()
507 BusState *bus; in qbus_find()
[all …]
/openbmc/qemu/hw/smbios/
H A Dsmbios_type_38.c80 static void smbios_add_ipmi_devices(BusState *bus) in smbios_add_ipmi_devices()
87 BusState *childbus; in smbios_add_ipmi_devices()
113 BusState *bus; in smbios_build_type_38_table()
/openbmc/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()
/openbmc/qemu/hw/scsi/
H A Dvirtio-scsi-dataplane.c28 BusState *qbus = qdev_get_parent_bus(DEVICE(vdev)); in virtio_scsi_dataplane_setup()
53 BusState *qbus = BUS(qdev_get_parent_bus(DEVICE(s))); in virtio_scsi_set_host_notifier()
102 BusState *qbus = qdev_get_parent_bus(DEVICE(vdev)); in virtio_scsi_dataplane_start()
191 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()
152 char *vhost_scsi_common_get_fw_dev_path(FWPathProvider *p, BusState *bus, in vhost_scsi_common_get_fw_dev_path()
/openbmc/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()
/openbmc/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()
/openbmc/qemu/include/qemu/
H A Dtypedefs.h36 typedef struct BusState BusState; typedef
/openbmc/qemu/include/hw/virtio/
H A Dvirtio-bus.h100 BusState parent_obj;
134 BusState *qbus = &bus->parent_obj; in virtio_bus_get_device()
/openbmc/qemu/stubs/
H A Dsysbus.c4 BusState *sysbus_get_default(void) in sysbus_get_default()
/openbmc/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()
/openbmc/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()
/openbmc/qemu/include/hw/s390x/
H A Dcss-bridge.h30 BusState parent_obj;
/openbmc/qemu/include/hw/sd/
H A Dcadence_sdhci.h36 BusState *bus;
/openbmc/qemu/include/hw/fsi/
H A Dfsi.h22 BusState bus;

123456