/openbmc/linux/drivers/net/caif/ |
H A D | caif_virtio.c | 198 virtqueue_get_vring_size(cfv->vq_tx); in cfv_release_used_buf() 208 virtqueue_get_vring_size(cfv->vq_tx)); in cfv_release_used_buf() 210 virtqueue_get_vring_size(cfv->vq_tx) / 4; in cfv_release_used_buf() 384 cfv->allocsz = (virtqueue_get_vring_size(cfv->vq_tx) * in cfv_create_genpool() 430 cfv->watermark_tx = virtqueue_get_vring_size(cfv->vq_tx); in cfv_create_genpool() 563 cfv->watermark_tx = virtqueue_get_vring_size(cfv->vq_tx) / 4; in cfv_netdev_tx()
|
/openbmc/linux/net/vmw_vsock/ |
H A D | virtio_transport.c | 139 if (val + 1 == virtqueue_get_vring_size(rx_vq)) in virtio_transport_send_pkt_work() 210 if (new_cnt + cnt >= virtqueue_get_vring_size(rx_vq) && in virtio_transport_cancel_pkt() 211 new_cnt < virtqueue_get_vring_size(rx_vq)) in virtio_transport_cancel_pkt() 293 return val < virtqueue_get_vring_size(vq); in virtio_transport_more_replies()
|
/openbmc/linux/drivers/rpmsg/ |
H A D | virtio_rpmsg_bus.c | 902 WARN_ON(virtqueue_get_vring_size(vrp->rvq) != in rpmsg_probe() 903 virtqueue_get_vring_size(vrp->svq)); in rpmsg_probe() 906 if (virtqueue_get_vring_size(vrp->rvq) < MAX_RPMSG_NUM_BUFS / 2) in rpmsg_probe() 907 vrp->num_bufs = virtqueue_get_vring_size(vrp->rvq) * 2; in rpmsg_probe()
|
/openbmc/u-boot/include/ |
H A D | virtio_ring.h | 252 unsigned int virtqueue_get_vring_size(struct virtqueue *vq);
|
/openbmc/linux/include/linux/ |
H A D | virtio.h | 92 unsigned int virtqueue_get_vring_size(const struct virtqueue *vq);
|
/openbmc/linux/sound/virtio/ |
H A D | virtio_card.c | 142 n = virtqueue_get_vring_size(vqs[VIRTIO_SND_VQ_EVENT]); in virtsnd_find_vqs()
|
/openbmc/u-boot/drivers/virtio/ |
H A D | virtio_mmio.c | 220 writel(virtqueue_get_vring_size(vq), in virtio_mmio_setup_vq()
|
H A D | virtio_ring.c | 295 unsigned int virtqueue_get_vring_size(struct virtqueue *vq) in virtqueue_get_vring_size() function
|
H A D | virtio_pci_modern.c | 290 iowrite16(virtqueue_get_vring_size(vq), &cfg->queue_size); in virtio_pci_setup_vq()
|
/openbmc/linux/drivers/virtio/ |
H A D | virtio_balloon.c | 904 if (virtqueue_get_vring_size(vb->free_page_vq) < 2) { in virtballoon_probe() 963 capacity = virtqueue_get_vring_size(vb->reporting_vq); in virtballoon_probe()
|
H A D | virtio_input.c | 209 size = virtqueue_get_vring_size(vi->evt); in virtinput_fill_evt()
|
H A D | virtio_vdpa.c | 220 ops->set_vq_num(vdpa, index, virtqueue_get_vring_size(vq)); in virtio_vdpa_setup_vq()
|
H A D | virtio_pci_modern.c | 191 vp_modern_set_queue_size(mdev, index, virtqueue_get_vring_size(vq)); in vp_active_vq()
|
H A D | virtio_mmio.c | 426 writel(virtqueue_get_vring_size(vq), vm_dev->base + VIRTIO_MMIO_QUEUE_NUM); in vm_setup_vq()
|
H A D | virtio_ring.c | 2979 unsigned int virtqueue_get_vring_size(const struct virtqueue *_vq) in virtqueue_get_vring_size() function 2986 EXPORT_SYMBOL_GPL(virtqueue_get_vring_size);
|
/openbmc/linux/drivers/crypto/virtio/ |
H A D | virtio_crypto_core.c | 149 virtqueue_get_vring_size(vqs[i])); in virtcrypto_find_vqs()
|
/openbmc/linux/drivers/firmware/arm_scmi/ |
H A D | virtio.c | 851 sz = virtqueue_get_vring_size(channels[i].vqueue); in scmi_vio_probe()
|
/openbmc/linux/drivers/net/ |
H A D | virtio_net.c | 2131 if (rq->vq->num_free > min((unsigned int)budget, virtqueue_get_vring_size(rq->vq)) / 2) { in virtnet_receive() 2900 ring->rx_pending = virtqueue_get_vring_size(vi->rq[0].vq); in virtnet_get_ringparam() 2901 ring->tx_pending = virtqueue_get_vring_size(vi->sq[0].vq); in virtnet_get_ringparam() 2921 rx_pending = virtqueue_get_vring_size(vi->rq[0].vq); in virtnet_set_ringparam() 2922 tx_pending = virtqueue_get_vring_size(vi->sq[0].vq); in virtnet_set_ringparam() 4131 unsigned int rq_size = virtqueue_get_vring_size(vq); in mergeable_min_buf_len()
|
/openbmc/linux/drivers/scsi/ |
H A D | virtio_scsi.c | 886 shost->can_queue = virtqueue_get_vring_size(vscsi->req_vqs[0].vq); in virtscsi_probe()
|
/openbmc/linux/arch/um/drivers/ |
H A D | virtio_uml.c | 966 num = virtqueue_get_vring_size(vq); in vu_setup_vq()
|
/openbmc/linux/fs/fuse/ |
H A D | virtio_fs.c | 1443 virtqueue_size = virtqueue_get_vring_size(fs->vqs[VQ_REQUEST].vq); in virtio_fs_get_tree()
|
/openbmc/linux/drivers/s390/virtio/ |
H A D | virtio_ccw.c | 554 info->num = virtqueue_get_vring_size(vq); in virtio_ccw_setup_vq()
|
/openbmc/linux/drivers/net/wireless/virtual/ |
H A D | mac80211_hwsim.c | 6428 for (i = 0; i < virtqueue_get_vring_size(vq); i++) { in fill_vq()
|