| /openbmc/qemu/hw/virtio/ |
| H A D | virtio.c | 212 if (!virtio_vdev_has_feature(vdev, VIRTIO_RING_F_INDIRECT_DESC)) { in virtio_check_indirect_feature() 256 packed = virtio_vdev_has_feature(vq->vdev, VIRTIO_F_RING_PACKED) ? in virtio_init_region_cache() 533 if (virtio_vdev_has_feature(vq->vdev, VIRTIO_RING_F_EVENT_IDX)) { in virtio_queue_split_set_notification() 562 } else if (virtio_vdev_has_feature(vq->vdev, VIRTIO_RING_F_EVENT_IDX)) { in virtio_queue_packed_set_notification() 592 if (virtio_vdev_has_feature(vq->vdev, VIRTIO_F_RING_PACKED)) { 760 if (virtio_vdev_has_feature(vq->vdev, VIRTIO_F_RING_PACKED)) { in virtio_queue_split_poll() 802 if (virtio_vdev_has_feature(vq->vdev, VIRTIO_F_RING_PACKED)) { in virtio_queue_enable_notification_and_check() 889 if (virtio_vdev_has_feature(vq->vdev, VIRTIO_F_RING_PACKED)) { 917 if (virtio_vdev_has_feature(vq->vdev, VIRTIO_F_RING_PACKED)) { in virtqueue_split_fill() 1049 if (virtio_vdev_has_feature(v in virtqueue_split_flush() [all...] |
| H A D | vhost-shadow-virtqueue.c | 249 if (virtio_vdev_has_feature(svq->vdev, VIRTIO_RING_F_EVENT_IDX)) { in vhost_svq_kick() 407 if (virtio_vdev_has_feature(svq->vdev, VIRTIO_RING_F_EVENT_IDX)) { in vhost_svq_enable_notification() 425 if (!virtio_vdev_has_feature(svq->vdev, VIRTIO_RING_F_EVENT_IDX)) { in vhost_svq_disable_notification()
|
| H A D | virtio-balloon.c | 216 return virtio_vdev_has_feature(vdev, VIRTIO_BALLOON_F_STATS_VQ); in balloon_stats_supported() 593 return virtio_vdev_has_feature(vdev, VIRTIO_BALLOON_F_FREE_PAGE_HINT); in virtio_balloon_free_page_support() 762 return virtio_vdev_has_feature(vdev, VIRTIO_BALLOON_F_PAGE_POISON); in virtio_balloon_page_poison_support()
|
| H A D | virtio-mmio.c | 414 if (virtio_vdev_has_feature(vdev, VIRTIO_F_NOTIFICATION_DATA)) { in virtio_mmio_write()
|
| H A D | virtio-pci.c | 457 if (virtio_vdev_has_feature(vdev, VIRTIO_F_NOTIFICATION_DATA)) { in virtio_ioport_write() 1452 if (virtio_vdev_has_feature(vdev, VIRTIO_F_VERSION_1)) { in virtio_pci_set_vector()
|
| H A D | virtio-iommu.c | 1294 if (!virtio_vdev_has_feature(vdev, VIRTIO_IOMMU_F_BYPASS_CONFIG)) { in virtio_iommu_set_config()
|
| H A D | virtio-mem.c | 894 !virtio_vdev_has_feature(vdev, VIRTIO_MEM_F_UNPLUGGED_INACCESSIBLE)) { in virtio_mem_prepare_mr()
|
| H A D | vhost.c | 1168 if (virtio_vdev_has_feature(vdev, VIRTIO_F_VERSION_1)) { in vhost_virtqueue_set_vring_endian_legacy()
|
| /openbmc/qemu/hw/s390x/ |
| H A D | s390-hypercall.c | 65 if (virtio_vdev_has_feature(vdev, VIRTIO_F_NOTIFICATION_DATA)) { in handle_storage_limit()
|
| /openbmc/qemu/net/ |
| H A D | vhost-vdpa.c | 357 cvq = virtio_vdev_has_feature(vdev, VIRTIO_NET_F_CTRL_VQ) ? in vhost_vdpa_net_log_global_enable() 781 if (virtio_vdev_has_feature(&n->parent_obj, VIRTIO_NET_F_CTRL_MAC_ADDR)) { in vhost_vdpa_net_load_mac() 806 if (!virtio_vdev_has_feature(&n->parent_obj, VIRTIO_NET_F_CTRL_RX) || in vhost_vdpa_net_load_mac() 952 if (!virtio_vdev_has_feature(&n->parent_obj, VIRTIO_NET_F_MQ)) { in vhost_vdpa_net_load_mq() 971 if (virtio_vdev_has_feature(&n->parent_obj, VIRTIO_NET_F_RSS)) { in vhost_vdpa_net_load_mq() 977 } else if (virtio_vdev_has_feature(&n->parent_obj, in vhost_vdpa_net_load_mq() 997 if (!virtio_vdev_has_feature(&n->parent_obj, in vhost_vdpa_net_load_offloads() 1062 if (!virtio_vdev_has_feature(&n->parent_obj, VIRTIO_NET_F_CTRL_RX)) { in vhost_vdpa_net_load_rx() 1117 if (!virtio_vdev_has_feature(&n->parent_obj, VIRTIO_NET_F_CTRL_RX_EXTRA)) { in vhost_vdpa_net_load_rx() 1224 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 D | virtio-net.c | 219 if (!virtio_vdev_has_feature(vdev, VIRTIO_NET_F_CTRL_MAC_ADDR) && in virtio_net_started() 220 !virtio_vdev_has_feature(vdev, VIRTIO_F_VERSION_1) && in virtio_net_started() 276 if (virtio_vdev_has_feature(vdev, VIRTIO_NET_F_GUEST_ANNOUNCE) && in virtio_net_vhost_status() 277 virtio_vdev_has_feature(vdev, VIRTIO_NET_F_CTRL_VQ)) { in virtio_net_vhost_status() 287 int cvq = virtio_vdev_has_feature(vdev, VIRTIO_NET_F_CTRL_VQ) ? in virtio_net_vhost_status() 559 if (!virtio_vdev_has_feature(vdev, VIRTIO_NET_F_CTRL_VLAN)) { in virtio_net_queue_reset() 1046 if (!virtio_vdev_has_feature(vdev, VIRTIO_NET_F_CTRL_GUEST_OFFLOADS)) { in virtio_net_handle_mac() 1394 if (do_rss && !virtio_vdev_has_feature(vdev, VIRTIO_NET_F_RSS)) { in virtio_net_handle_rss() 1398 if (!do_rss && !virtio_vdev_has_feature(vdev, VIRTIO_NET_F_HASH_REPORT)) { in virtio_net_handle_rss() 1515 if (!virtio_vdev_has_feature(vde in virtio_net_handle_ctrl_iov() [all...] |
| /openbmc/qemu/include/hw/virtio/ |
| H A D | virtio-access.h | 32 if (virtio_vdev_has_feature(vdev, VIRTIO_F_VERSION_1)) { in virtio_access_is_big_endian()
|
| H A D | virtio.h | 459 static inline bool virtio_vdev_has_feature(const VirtIODevice *vdev, in virtio_vdev_has_feature() 473 if (!virtio_vdev_has_feature(vdev, VIRTIO_F_VERSION_1)) { in virtio_is_big_endian() 455 static inline bool virtio_vdev_has_feature(const VirtIODevice *vdev, virtio_vdev_has_feature() function
|
| /openbmc/qemu/hw/scsi/ |
| H A D | virtio-scsi.c | 201 if (!virtio_vdev_has_feature(vdev, VIRTIO_F_ANY_LAYOUT)) { in virtio_scsi_parse_req() 1122 if (virtio_vdev_has_feature(vdev, VIRTIO_SCSI_F_CHANGE) && in virtio_scsi_change() 1161 if (virtio_vdev_has_feature(vdev, VIRTIO_SCSI_F_HOTPLUG)) { in virtio_scsi_hotplug() 1198 if (virtio_vdev_has_feature(vdev, VIRTIO_SCSI_F_HOTPLUG)) { in virtio_scsi_hotunplug()
|
| /openbmc/qemu/hw/block/ |
| H A D | virtio-blk.c | 1296 if (!virtio_vdev_has_feature(vdev, VIRTIO_BLK_F_CONFIG_WCE)) { in virtio_blk_set_status() 1298 virtio_vdev_has_feature(vdev, in virtio_blk_set_status()
|
| /openbmc/qemu/hw/char/ |
| H A D | virtio-serial-bus.c | 97 return virtio_vdev_has_feature(vdev, VIRTIO_CONSOLE_F_MULTIPORT); in use_multiport()
|