Lines Matching full:bus
32 #define TYPE_VIRTIO_BUS "virtio-bus"
63 * This is called by virtio-bus just after the device is plugged.
68 * This is called by virtio-bus just before the device is unplugged.
119 void virtio_bus_reset(VirtioBusState *bus);
120 void virtio_bus_device_unplugged(VirtIODevice *bus);
122 uint16_t virtio_bus_get_vdev_id(VirtioBusState *bus);
124 size_t virtio_bus_get_vdev_config_len(VirtioBusState *bus);
126 uint32_t virtio_bus_get_vdev_bad_features(VirtioBusState *bus);
128 void virtio_bus_get_vdev_config(VirtioBusState *bus, uint8_t *config);
130 void virtio_bus_set_vdev_config(VirtioBusState *bus, uint8_t *config);
132 static inline VirtIODevice *virtio_bus_get_device(VirtioBusState *bus) in virtio_bus_get_device() argument
134 BusState *qbus = &bus->parent_obj; in virtio_bus_get_device()
145 bool virtio_bus_ioeventfd_enabled(VirtioBusState *bus);
147 int virtio_bus_start_ioeventfd(VirtioBusState *bus);
149 void virtio_bus_stop_ioeventfd(VirtioBusState *bus);
150 /* Tell the bus that vhost is grabbing the ioeventfd. */
151 int virtio_bus_grab_ioeventfd(VirtioBusState *bus);
152 /* bus that vhost is not using the ioeventfd anymore. */
153 void virtio_bus_release_ioeventfd(VirtioBusState *bus);
155 int virtio_bus_set_host_notifier(VirtioBusState *bus, int n, bool assign);
156 /* Tell the bus that the ioeventfd handler is no longer required. */
157 void virtio_bus_cleanup_host_notifier(VirtioBusState *bus, int n);