/linux-6.3-rc2/drivers/virtio/ |
A D | virtio_balloon.c | 239 if (!virtio_has_feature(vb->vdev, in fill_balloon() 260 if (!virtio_has_feature(vb->vdev, in release_pages_balloon() 512 if (virtio_has_feature(vb->vdev, VIRTIO_BALLOON_F_STATS_VQ)) { in init_vqs() 522 if (virtio_has_feature(vb->vdev, VIRTIO_BALLOON_F_REPORTING)) { in init_vqs() 534 if (virtio_has_feature(vb->vdev, VIRTIO_BALLOON_F_STATS_VQ)) { in init_vqs() 559 if (virtio_has_feature(vb->vdev, VIRTIO_BALLOON_F_REPORTING)) in init_vqs() 895 if (virtio_has_feature(vdev, VIRTIO_BALLOON_F_FREE_PAGE_HINT)) { in virtballoon_probe() 935 if (virtio_has_feature(vdev, VIRTIO_BALLOON_F_PAGE_POISON)) { in virtballoon_probe() 956 if (virtio_has_feature(vb->vdev, VIRTIO_BALLOON_F_REPORTING)) { in virtballoon_probe() 1000 if (virtio_has_feature(vdev, VIRTIO_BALLOON_F_FREE_PAGE_HINT)) in virtballoon_probe() [all …]
|
A D | virtio.c | 178 if (!virtio_has_feature(dev, VIRTIO_F_VERSION_1)) { in virtio_features_ok() 184 if (!virtio_has_feature(dev, VIRTIO_F_ACCESS_PLATFORM)) { in virtio_features_ok() 191 if (!virtio_has_feature(dev, VIRTIO_F_VERSION_1)) in virtio_features_ok()
|
A D | virtio_ring.c | 2040 vq->indirect = virtio_has_feature(vdev, VIRTIO_RING_F_INDIRECT_DESC) && in vring_create_virtqueue_packed() 2042 vq->event = virtio_has_feature(vdev, VIRTIO_RING_F_EVENT_IDX); in vring_create_virtqueue_packed() 2044 if (virtio_has_feature(vdev, VIRTIO_F_ORDER_PLATFORM)) in vring_create_virtqueue_packed() 2511 if (virtio_has_feature(vdev, VIRTIO_F_RING_PACKED)) in __vring_new_virtqueue() 2535 vq->indirect = virtio_has_feature(vdev, VIRTIO_RING_F_INDIRECT_DESC) && in __vring_new_virtqueue() 2537 vq->event = virtio_has_feature(vdev, VIRTIO_RING_F_EVENT_IDX); in __vring_new_virtqueue() 2539 if (virtio_has_feature(vdev, VIRTIO_F_ORDER_PLATFORM)) in __vring_new_virtqueue() 2572 if (virtio_has_feature(vdev, VIRTIO_F_RING_PACKED)) in vring_create_virtqueue() 2597 if (virtio_has_feature(vdev, VIRTIO_F_RING_PACKED)) in vring_create_virtqueue_dma() 2691 if (virtio_has_feature(vdev, VIRTIO_F_RING_PACKED)) in vring_new_virtqueue()
|
A D | virtio_vdpa.c | 213 if (virtio_has_feature(vdev, VIRTIO_F_RING_PACKED)) { in virtio_vdpa_setup_vq()
|
A D | virtio_input.c | 225 if (!virtio_has_feature(vdev, VIRTIO_F_VERSION_1)) in virtinput_probe()
|
A D | virtio_pci_modern.c | 212 if (!virtio_has_feature(vq->vdev, VIRTIO_F_RING_RESET)) in vp_modern_disable_vq_and_reset()
|
A D | virtio_mem.c | 800 if (virtio_has_feature(vm->vdev, VIRTIO_MEM_F_ACPI_PXM)) in virtio_mem_translate_node_id()
|
/linux-6.3-rc2/drivers/gpu/drm/virtio/ |
A D | virtgpu_kms.c | 128 if (!virtio_has_feature(vdev, VIRTIO_F_VERSION_1)) in virtio_gpu_init() 161 if (virtio_has_feature(vgdev->vdev, VIRTIO_GPU_F_VIRGL)) in virtio_gpu_init() 164 if (virtio_has_feature(vgdev->vdev, VIRTIO_GPU_F_EDID)) { in virtio_gpu_init() 167 if (virtio_has_feature(vgdev->vdev, VIRTIO_RING_F_INDIRECT_DESC)) { in virtio_gpu_init() 170 if (virtio_has_feature(vgdev->vdev, VIRTIO_GPU_F_RESOURCE_UUID)) { in virtio_gpu_init() 173 if (virtio_has_feature(vgdev->vdev, VIRTIO_GPU_F_RESOURCE_BLOB)) { in virtio_gpu_init() 195 if (virtio_has_feature(vgdev->vdev, VIRTIO_GPU_F_CONTEXT_INIT)) { in virtio_gpu_init()
|
/linux-6.3-rc2/tools/virtio/linux/ |
A D | virtio_config.h | 46 #define virtio_has_feature(dev, feature) \ macro 59 return !virtio_has_feature(vdev, VIRTIO_F_ACCESS_PLATFORM); in virtio_has_dma_quirk() 64 return virtio_has_feature(vdev, VIRTIO_F_VERSION_1) || in virtio_is_little_endian()
|
/linux-6.3-rc2/drivers/net/ |
A D | virtio_net.c | 3764 if (!virtio_has_feature(vdev, fbit)) in virtnet_fail_on_feature() 3814 if (virtio_has_feature(vdev, VIRTIO_NET_F_MTU)) { in virtnet_validate() 3823 !virtio_has_feature(vdev, VIRTIO_NET_F_MAC)) { in virtnet_validate() 3865 if (virtio_has_feature(vdev, VIRTIO_NET_F_MQ) || virtio_has_feature(vdev, VIRTIO_NET_F_RSS)) in virtnet_probe() 3890 if (virtio_has_feature(vdev, VIRTIO_NET_F_CSUM)) { in virtnet_probe() 3896 if (virtio_has_feature(vdev, VIRTIO_NET_F_GSO)) { in virtnet_probe() 3932 if (virtio_has_feature(vdev, VIRTIO_NET_F_MAC)) { in virtnet_probe() 3969 if (virtio_has_feature(vdev, VIRTIO_NET_F_RSS)) in virtnet_probe() 3992 virtio_has_feature(vdev, VIRTIO_F_VERSION_1)) in virtnet_probe() 3998 virtio_has_feature(vdev, VIRTIO_F_VERSION_1)) in virtnet_probe() [all …]
|
/linux-6.3-rc2/drivers/bluetooth/ |
A D | virtio_bt.c | 269 if (!virtio_has_feature(vdev, VIRTIO_F_VERSION_1)) in virtbt_probe() 313 if (virtio_has_feature(vdev, VIRTIO_BT_F_VND_HCI)) { in virtbt_probe() 316 if (virtio_has_feature(vdev, VIRTIO_BT_F_CONFIG_V2)) in virtbt_probe() 351 if (virtio_has_feature(vdev, VIRTIO_BT_F_MSFT_EXT)) { in virtbt_probe() 354 if (virtio_has_feature(vdev, VIRTIO_BT_F_CONFIG_V2)) in virtbt_probe() 364 if (virtio_has_feature(vdev, VIRTIO_BT_F_AOSP_EXT)) in virtbt_probe()
|
/linux-6.3-rc2/include/linux/ |
A D | virtio_config.h | 187 static inline bool virtio_has_feature(const struct virtio_device *vdev, in virtio_has_feature() function 206 return !virtio_has_feature(vdev, VIRTIO_F_ACCESS_PLATFORM); in virtio_has_dma_quirk() 337 return virtio_has_feature(vdev, VIRTIO_F_VERSION_1) || in virtio_is_little_endian() 607 if (!virtio_has_feature(vdev, fbit)) \ 618 if (!virtio_has_feature(vdev, fbit)) \
|
/linux-6.3-rc2/drivers/block/ |
A D | virtio_blk.c | 772 if (virtio_has_feature(vdev, VIRTIO_BLK_F_DISCARD)) { in virtblk_probe_zoned_device() 795 return virtio_has_feature(vdev, VIRTIO_BLK_F_ZONED); in virtblk_has_zoned_feature() 863 if (virtio_has_feature(vblk->vdev, VIRTIO_BLK_F_GEOMETRY)) { in virtblk_getgeo() 1100 writeback = virtio_has_feature(vdev, VIRTIO_BLK_F_FLUSH); in virtblk_get_cache_mode() 1164 !virtio_has_feature(vdev, VIRTIO_BLK_F_CONFIG_WCE)) in virtblk_attrs_are_visible() 1338 if (virtio_has_feature(vdev, VIRTIO_BLK_F_RO)) in virtblk_probe() 1401 if (virtio_has_feature(vdev, VIRTIO_BLK_F_DISCARD)) { in virtblk_probe() 1413 if (virtio_has_feature(vdev, VIRTIO_BLK_F_WRITE_ZEROES)) { in virtblk_probe() 1431 if (virtio_has_feature(vdev, VIRTIO_BLK_F_SECURE_ERASE)) { in virtblk_probe() 1479 if (virtio_has_feature(vdev, VIRTIO_BLK_F_DISCARD) || in virtblk_probe() [all …]
|
/linux-6.3-rc2/drivers/scsi/ |
A D | virtio_scsi.c | 587 if (virtio_has_feature(vscsi->vdev, VIRTIO_SCSI_F_T10_PI)) { in virtscsi_queuecommand() 904 if (virtio_has_feature(vdev, VIRTIO_SCSI_F_T10_PI)) { in virtscsi_probe() 922 if (virtio_has_feature(vdev, VIRTIO_SCSI_F_HOTPLUG)) in virtscsi_probe() 940 if (virtio_has_feature(vdev, VIRTIO_SCSI_F_HOTPLUG)) in virtscsi_remove() 967 if (virtio_has_feature(vdev, VIRTIO_SCSI_F_HOTPLUG)) in virtscsi_restore()
|
/linux-6.3-rc2/drivers/iommu/ |
A D | virtio-iommu.c | 690 if (virtio_has_feature(viommu->vdev, in viommu_domain_finalise() 1085 if (!virtio_has_feature(vdev, VIRTIO_F_VERSION_1) || in viommu_probe() 1086 !virtio_has_feature(vdev, VIRTIO_IOMMU_F_MAP_UNMAP)) in viommu_probe() 1141 if (virtio_has_feature(vdev, VIRTIO_IOMMU_F_MMIO)) in viommu_probe()
|
/linux-6.3-rc2/drivers/rpmsg/ |
A D | virtio_rpmsg_bus.c | 329 virtio_has_feature(vrp->vdev, VIRTIO_RPMSG_F_NS)) { in virtio_rpmsg_announce_create() 353 virtio_has_feature(vrp->vdev, VIRTIO_RPMSG_F_NS)) { in virtio_rpmsg_announce_destroy() 956 if (virtio_has_feature(vdev, VIRTIO_RPMSG_F_NS)) { in rpmsg_probe()
|
/linux-6.3-rc2/drivers/i2c/busses/ |
A D | i2c-virtio.c | 195 if (!virtio_has_feature(vdev, VIRTIO_I2C_F_ZERO_LENGTH_REQUEST)) { in virtio_i2c_probe()
|
/linux-6.3-rc2/drivers/firmware/arm_scmi/ |
A D | virtio.c | 223 return virtio_has_feature(vdev, VIRTIO_SCMI_F_P2A_CHANNELS); in scmi_vio_have_vq_rx() 891 if (!virtio_has_feature(vdev, VIRTIO_F_VERSION_1)) { in scmi_vio_validate()
|
/linux-6.3-rc2/sound/virtio/ |
A D | virtio_card.c | 273 if (!virtio_has_feature(vdev, VIRTIO_F_VERSION_1)) { in virtsnd_validate()
|
/linux-6.3-rc2/drivers/char/ |
A D | virtio_console.c | 1170 virtio_has_feature(vdev, VIRTIO_CONSOLE_F_SIZE)) in resize_console() 2004 (virtio_has_feature(vdev, VIRTIO_CONSOLE_F_SIZE) in virtcons_probe() 2005 || virtio_has_feature(vdev, VIRTIO_CONSOLE_F_MULTIPORT))) { in virtcons_probe()
|
/linux-6.3-rc2/drivers/crypto/virtio/ |
A D | virtio_crypto_core.c | 354 if (!virtio_has_feature(vdev, VIRTIO_F_VERSION_1)) in virtcrypto_probe()
|
/linux-6.3-rc2/drivers/gpio/ |
A D | gpio-virtio.c | 589 if (virtio_has_feature(vdev, VIRTIO_GPIO_F_IRQ)) { in virtio_gpio_probe()
|
/linux-6.3-rc2/net/9p/ |
A D | trans_virtio.c | 626 if (virtio_has_feature(vdev, VIRTIO_9P_MOUNT_TAG)) { in p9_virtio_probe()
|
/linux-6.3-rc2/net/vmw_vsock/ |
A D | virtio_transport.c | 655 if (virtio_has_feature(vdev, VIRTIO_VSOCK_F_SEQPACKET)) in virtio_vsock_probe()
|