Home
last modified time | relevance | path

Searched refs:virtio_vdev_has_feature (Results 1 – 14 of 14) sorted by relevance

/openbmc/qemu/hw/virtio/
H A Dvirtio.c1882 if (virtio_vdev_has_feature(vdev, VIRTIO_F_RING_PACKED)) { in virtqueue_drop_all()
2031 if (virtio_vdev_has_feature(vdev, VIRTIO_F_VERSION_1)) { in virtio_set_status()
2242 if (virtio_vdev_has_feature(vdev, VIRTIO_F_VERSION_1)) { in virtio_queue_set_align()
2442 if (virtio_vdev_has_feature(vdev, VIRTIO_F_RING_PACKED)) { in virtio_should_notify()
2521 if (!virtio_vdev_has_feature(vdev, VIRTIO_F_VERSION_1)) { in virtio_device_endian_needed()
3107 !virtio_vdev_has_feature(vdev, VIRTIO_F_VERSION_1)) { in virtio_load()
3329 if (virtio_vdev_has_feature(vdev, VIRTIO_F_RING_PACKED)) { in virtio_queue_get_avail_size()
3342 if (virtio_vdev_has_feature(vdev, VIRTIO_F_RING_PACKED)) { in virtio_queue_get_used_size()
3373 if (virtio_vdev_has_feature(vdev, VIRTIO_F_RING_PACKED)) { in virtio_queue_get_last_avail_idx()
3403 if (virtio_vdev_has_feature(vdev, VIRTIO_F_RING_PACKED)) { in virtio_queue_set_last_avail_idx()
[all …]
H A Dvhost-shadow-virtqueue.c230 if (virtio_vdev_has_feature(svq->vdev, VIRTIO_RING_F_EVENT_IDX)) { in vhost_svq_kick()
384 if (virtio_vdev_has_feature(svq->vdev, VIRTIO_RING_F_EVENT_IDX)) { in vhost_svq_enable_notification()
402 if (!virtio_vdev_has_feature(svq->vdev, VIRTIO_RING_F_EVENT_IDX)) { in vhost_svq_disable_notification()
H A Dvirtio-balloon.c203 return virtio_vdev_has_feature(vdev, VIRTIO_BALLOON_F_STATS_VQ); in balloon_stats_supported()
580 return virtio_vdev_has_feature(vdev, VIRTIO_BALLOON_F_FREE_PAGE_HINT); in virtio_balloon_free_page_support()
748 return virtio_vdev_has_feature(vdev, VIRTIO_BALLOON_F_PAGE_POISON); in virtio_balloon_page_poison_support()
H A Dvirtio-iommu.c1028 if (!virtio_vdev_has_feature(vdev, VIRTIO_IOMMU_F_BYPASS_CONFIG)) { in virtio_iommu_set_config()
H A Dvirtio-mem.c893 !virtio_vdev_has_feature(vdev, VIRTIO_MEM_F_UNPLUGGED_INACCESSIBLE)) { in virtio_mem_validate_features()
H A Dvhost.c1088 if (virtio_vdev_has_feature(vdev, VIRTIO_F_VERSION_1)) { in vhost_needs_vring_endian()
H A Dvirtio-pci.c1404 if (virtio_vdev_has_feature(vdev, VIRTIO_F_VERSION_1)) { in virtio_pci_queue_enabled()
/openbmc/qemu/net/
H A Dvhost-vdpa.c317 cvq = virtio_vdev_has_feature(vdev, VIRTIO_NET_F_CTRL_VQ) ? in vhost_vdpa_net_log_global_enable()
764 if (virtio_vdev_has_feature(&n->parent_obj, VIRTIO_NET_F_CTRL_MAC_ADDR)) { in vhost_vdpa_net_load_mac()
789 if (!virtio_vdev_has_feature(&n->parent_obj, VIRTIO_NET_F_CTRL_RX) || in vhost_vdpa_net_load_mac()
935 if (!virtio_vdev_has_feature(&n->parent_obj, VIRTIO_NET_F_MQ)) { in vhost_vdpa_net_load_mq()
952 if (virtio_vdev_has_feature(&n->parent_obj, VIRTIO_NET_F_RSS)) { in vhost_vdpa_net_load_mq()
958 } else if (virtio_vdev_has_feature(&n->parent_obj, in vhost_vdpa_net_load_mq()
978 if (!virtio_vdev_has_feature(&n->parent_obj, in vhost_vdpa_net_load_offloads()
1043 if (!virtio_vdev_has_feature(&n->parent_obj, VIRTIO_NET_F_CTRL_RX)) { in vhost_vdpa_net_load_rx()
1098 if (!virtio_vdev_has_feature(&n->parent_obj, VIRTIO_NET_F_CTRL_RX_EXTRA)) { in vhost_vdpa_net_load_rx()
1205 if (!virtio_vdev_has_feature(&n->parent_obj, VIRTIO_NET_F_CTRL_VLAN)) { in vhost_vdpa_net_load_vlan()
/openbmc/qemu/hw/net/
H A Dvirtio-net.c198 if (!virtio_vdev_has_feature(vdev, VIRTIO_NET_F_CTRL_MAC_ADDR) && in virtio_net_set_config()
199 !virtio_vdev_has_feature(vdev, VIRTIO_F_VERSION_1) && in virtio_net_set_config()
256 virtio_vdev_has_feature(vdev, VIRTIO_NET_F_CTRL_VQ)) { in virtio_net_announce()
266 int cvq = virtio_vdev_has_feature(vdev, VIRTIO_NET_F_CTRL_VQ) ? in virtio_net_vhost_status()
536 if (!virtio_vdev_has_feature(vdev, VIRTIO_NET_F_CTRL_VLAN)) { in virtio_net_query_rxfilter()
1505 if (!virtio_vdev_has_feature(vdev, VIRTIO_NET_F_MQ)) { in virtio_net_handle_mq()
3027 virtio_vdev_has_feature(vdev, in virtio_net_post_load_device()
3029 virtio_vdev_has_feature(vdev, in virtio_net_post_load_device()
3067 virtio_vdev_has_feature(vdev, VIRTIO_NET_F_CTRL_VQ)) { in virtio_net_post_load_device()
3134 return virtio_vdev_has_feature(VIRTIO_DEVICE(opaque), in has_ctrl_guest_offloads()
[all …]
/openbmc/qemu/include/hw/virtio/
H A Dvirtio.h426 static inline bool virtio_vdev_has_feature(const VirtIODevice *vdev, in virtio_vdev_has_feature() function
440 if (!virtio_vdev_has_feature(vdev, VIRTIO_F_VERSION_1)) { in virtio_is_big_endian()
H A Dvirtio-access.h32 if (virtio_vdev_has_feature(vdev, VIRTIO_F_VERSION_1)) { in virtio_access_is_big_endian()
/openbmc/qemu/hw/scsi/
H A Dvirtio-scsi.c185 if (!virtio_vdev_has_feature(vdev, VIRTIO_F_ANY_LAYOUT)) { in virtio_scsi_parse_req()
1026 if (virtio_vdev_has_feature(vdev, VIRTIO_SCSI_F_CHANGE) && in virtio_scsi_change()
1072 if (virtio_vdev_has_feature(vdev, VIRTIO_SCSI_F_HOTPLUG)) { in virtio_scsi_hotplug()
1113 if (virtio_vdev_has_feature(vdev, VIRTIO_SCSI_F_HOTPLUG)) { in virtio_scsi_hotunplug()
/openbmc/qemu/hw/block/
H A Dvirtio-blk.c1434 if (!virtio_vdev_has_feature(vdev, VIRTIO_BLK_F_CONFIG_WCE)) { in virtio_blk_set_status()
1437 virtio_vdev_has_feature(vdev, in virtio_blk_set_status()
/openbmc/qemu/hw/char/
H A Dvirtio-serial-bus.c97 return virtio_vdev_has_feature(vdev, VIRTIO_CONSOLE_F_MULTIPORT); in use_multiport()