Home
last modified time | relevance | path

Searched refs:virtio_with_feature (Results 1 – 8 of 8) sorted by relevance

/freebsd/sys/dev/virtio/block/
H A Dvirtio_blk.c355 if (virtio_with_feature(dev, VIRTIO_BLK_F_SIZE_MAX)) { in vtblk_attach()
726 if (virtio_with_feature(dev, VIRTIO_RING_F_INDIRECT_DESC)) in vtblk_setup_features()
728 if (virtio_with_feature(dev, VIRTIO_BLK_F_CONFIG_WCE)) in vtblk_setup_features()
732 if (virtio_with_feature(dev, VIRTIO_BLK_F_BARRIER)) in vtblk_setup_features()
748 if (virtio_with_feature(dev, VIRTIO_BLK_F_SEG_MAX)) { in vtblk_maximum_segments()
826 if (virtio_with_feature(dev, VIRTIO_BLK_F_RO)) in vtblk_alloc_disk()
829 if (virtio_with_feature(dev, VIRTIO_BLK_F_FLUSH)) in vtblk_alloc_disk()
837 if (virtio_with_feature(dev, VIRTIO_BLK_F_BLK_SIZE)) in vtblk_alloc_disk()
861 if (virtio_with_feature(dev, VIRTIO_BLK_F_GEOMETRY)) { in vtblk_alloc_disk()
866 if (virtio_with_feature(dev, VIRTIO_BLK_F_TOPOLOGY) && in vtblk_alloc_disk()
[all …]
/freebsd/sys/dev/virtio/network/
H A Dif_vtnet.c663 if (virtio_with_feature(dev, VIRTIO_NET_F_MTU)) { in vtnet_negotiate_features()
677 if (virtio_with_feature(dev, VIRTIO_NET_F_MQ)) { in vtnet_negotiate_features()
692 if (virtio_with_feature(dev, VTNET_LRO_FEATURES) && in vtnet_negotiate_features()
693 virtio_with_feature(dev, VIRTIO_NET_F_MRG_RXBUF) == 0) { in vtnet_negotiate_features()
703 if (!virtio_with_feature(dev, VIRTIO_RING_F_INDIRECT_DESC)) { in vtnet_negotiate_features()
732 if (virtio_with_feature(dev, VIRTIO_F_VERSION_1)) in vtnet_setup_features()
734 if (virtio_with_feature(dev, VIRTIO_RING_F_INDIRECT_DESC)) in vtnet_setup_features()
736 if (virtio_with_feature(dev, VIRTIO_RING_F_EVENT_IDX)) in vtnet_setup_features()
739 if (virtio_with_feature(dev, VIRTIO_NET_F_MAC)) { in vtnet_setup_features()
744 if (virtio_with_feature(dev, VIRTIO_NET_F_MTU)) { in vtnet_setup_features()
[all …]
/freebsd/sys/dev/virtio/scmi/
H A Dvirtio_scmi.c247 if (virtio_with_feature(dev, VIRTIO_SCMI_F_P2A_CHANNELS)) in vtscmi_setup_features()
249 if (virtio_with_feature(dev, VIRTIO_SCMI_F_SHARED_MEMORY)) in vtscmi_setup_features()
/freebsd/sys/dev/virtio/
H A Dvirtio.h111 bool virtio_with_feature(device_t dev, uint64_t feature);
H A Dvirtio.c288 virtio_with_feature(device_t dev, uint64_t feature) in virtio_with_feature() function
/freebsd/sys/dev/virtio/console/
H A Dvirtio_console.c451 if (virtio_with_feature(dev, VIRTIO_CONSOLE_F_SIZE)) in vtcon_setup_features()
453 if (virtio_with_feature(dev, VIRTIO_CONSOLE_F_MULTIPORT)) in vtcon_setup_features()
460 if (virtio_with_feature(_dev, _feature)) { \
/freebsd/sys/dev/virtio/p9fs/
H A Dvirtio_p9fs.c332 if (virtio_with_feature(dev, VIRTIO_9PNET_F_MOUNT_TAG)) in vt9p_attach()
/freebsd/sys/dev/virtio/scsi/
H A Dvirtio_scsi.c429 if (virtio_with_feature(dev, VIRTIO_RING_F_INDIRECT_DESC)) in vtscsi_setup_features()
431 if (virtio_with_feature(dev, VIRTIO_SCSI_F_INOUT)) in vtscsi_setup_features()
433 if (virtio_with_feature(dev, VIRTIO_SCSI_F_HOTPLUG)) in vtscsi_setup_features()