Home
last modified time | relevance | path

Searched refs:virtio_has_feature (Results 1 – 9 of 9) sorted by relevance

/linux-3.4.99/drivers/net/
Dvirtio_net.c679 if (virtio_has_feature(vdev, VIRTIO_NET_F_MAC)) in virtnet_set_mac_address()
756 BUG_ON(!virtio_has_feature(vi->vdev, VIRTIO_NET_F_CTRL_VQ) || in virtnet_send_command()
810 if (!virtio_has_feature(vi->vdev, VIRTIO_NET_F_CTRL_RX)) in virtnet_set_rx_mode()
999 nvqs = virtio_has_feature(vi->vdev, VIRTIO_NET_F_CTRL_VQ) ? 3 : 2; in init_vqs()
1008 if (virtio_has_feature(vi->vdev, VIRTIO_NET_F_CTRL_VQ)) { in init_vqs()
1011 if (virtio_has_feature(vi->vdev, VIRTIO_NET_F_CTRL_VLAN)) in init_vqs()
1037 if (virtio_has_feature(vdev, VIRTIO_NET_F_CSUM)) { in virtnet_probe()
1043 if (virtio_has_feature(vdev, VIRTIO_NET_F_GSO)) { in virtnet_probe()
1048 if (virtio_has_feature(vdev, VIRTIO_NET_F_HOST_TSO4)) in virtnet_probe()
1050 if (virtio_has_feature(vdev, VIRTIO_NET_F_HOST_TSO6)) in virtnet_probe()
[all …]
/linux-3.4.99/include/linux/
Dvirtio_config.h139 static inline bool virtio_has_feature(const struct virtio_device *vdev, in virtio_has_feature() function
174 if (!virtio_has_feature(vdev, fbit)) in virtio_config_buf()
/linux-3.4.99/drivers/block/
Dvirtio_blk.c242 if (!virtio_has_feature(vblk->vdev, VIRTIO_BLK_F_SCSI)) in virtblk_ioctl()
474 if (virtio_has_feature(vdev, VIRTIO_BLK_F_FLUSH)) in virtblk_probe()
478 if (virtio_has_feature(vdev, VIRTIO_BLK_F_RO)) in virtblk_probe()
/linux-3.4.99/drivers/virtio/
Dvirtio_balloon.c329 nvqs = virtio_has_feature(vb->vdev, VIRTIO_BALLOON_F_STATS_VQ) ? 3 : 2; in init_vqs()
336 if (virtio_has_feature(vb->vdev, VIRTIO_BALLOON_F_STATS_VQ)) { in init_vqs()
Dvirtio_ring.c695 vq->indirect = virtio_has_feature(vdev, VIRTIO_RING_F_INDIRECT_DESC); in vring_new_virtqueue()
696 vq->event = virtio_has_feature(vdev, VIRTIO_RING_F_EVENT_IDX); in vring_new_virtqueue()
/linux-3.4.99/drivers/rpmsg/
Dvirtio_rpmsg_bus.c389 virtio_has_feature(vrp->vdev, VIRTIO_RPMSG_F_NS)) { in rpmsg_dev_probe()
414 virtio_has_feature(vrp->vdev, VIRTIO_RPMSG_F_NS)) { in rpmsg_dev_remove()
991 if (virtio_has_feature(vdev, VIRTIO_RPMSG_F_NS)) { in rpmsg_probe()
/linux-3.4.99/tools/virtio/linux/
Dvirtio.h150 #define virtio_has_feature(dev, feature) \ macro
/linux-3.4.99/net/9p/
Dtrans_virtio.c516 if (virtio_has_feature(vdev, VIRTIO_9P_MOUNT_TAG)) { in p9_virtio_probe()
/linux-3.4.99/drivers/char/
Dvirtio_console.c932 if (virtio_has_feature(vdev, VIRTIO_CONSOLE_F_SIZE)) in resize_console()