Home
last modified time | relevance | path

Searched full:vrings (Results 1 – 25 of 33) sorted by relevance

12

/openbmc/qemu/include/hw/virtio/
H A Dvhost.h217 * @vrings: true to have vrings enabled in this call
224 int vhost_dev_start(struct vhost_dev *hdev, VirtIODevice *vdev, bool vrings);
230 * @vrings: true to have vrings disabled in this call
236 void vhost_dev_stop(struct vhost_dev *hdev, VirtIODevice *vdev, bool vrings);
397 * STOPPED (device and all vrings are stopped), in the future,
442 * Must only be called while the device and all its vrings are stopped
459 * Must only be called while the device and all its vrings are stopped
H A Dvhost-backend.h37 /* The device (and all its vrings) is stopped */
/openbmc/linux/include/linux/
H A Dvringh.h65 * @find_vrhs: find the host vrings and instantiate them
67 * nhvrs: the number of host vrings to find
68 * hvrs: on success, includes new host vrings
72 * @del_vrhs: free the host vrings found by find_vrhs().
125 /* Helpers for userspace vrings. */
187 /* Helpers for kernelspace vrings. */
H A Dremoteproc.h278 * @num_of_vrings: indicates how many vrings are described in this vdev header
609 /* we currently support only two vrings per rvdev */
640 * @vring: the vrings for this vdev
H A Dvirtio.h117 * @vringh_config: configuration ops for host vrings.
/openbmc/linux/drivers/platform/mellanox/
H A Dmlxbf-tmfifo.c128 * @vrings: array of tmfifo vrings of this device
140 struct mlxbf_tmfifo_vring vrings[MLXBF_TMFIFO_VRING_MAX]; member
245 /* Free vrings of the FIFO device. */
252 for (i = 0; i < ARRAY_SIZE(tm_vdev->vrings); i++) { in mlxbf_tmfifo_free_vrings()
253 vring = &tm_vdev->vrings[i]; in mlxbf_tmfifo_free_vrings()
267 /* Allocate vrings for the FIFO. */
277 for (i = 0; i < ARRAY_SIZE(tm_vdev->vrings); i++) { in mlxbf_tmfifo_alloc_vrings()
278 vring = &tm_vdev->vrings[i]; in mlxbf_tmfifo_alloc_vrings()
699 vring = &tm_dev2->vrings[MLXBF_TMFIFO_VRING_RX]; in mlxbf_tmfifo_rxtx_header()
947 vring = &tm_vdev->vrings[queue_id]; in mlxbf_tmfifo_work_rxtx()
[all …]
/openbmc/qemu/pc-bios/s390-ccw/
H A Dvirtio-net.c50 VRing *rxvq = &vdev->vrings[VQ_RX]; in virtio_net_init()
81 VRing *txvq = &vdev->vrings[VQ_TX]; in send()
102 VRing *rxvq = &vdev->vrings[VQ_RX]; in recv()
H A Dvirtio.c28 .vrings = block,
192 r += vr_poll(&vdev.vrings[i]); in vring_wait_reply()
205 VRing *vr = &vdev->vrings[vqid]; in virtio_run()
313 vring_init(&vdev->vrings[i], &info); in virtio_setup_ccw()
314 vdev->vrings[i].schid = vdev->schid; in virtio_setup_ccw()
H A Dvirtio-blkdev.c24 VRing *vr = &vdev->vrings[vdev->cmd_vr_idx]; in virtio_blk_read_many()
H A Dvirtio.h235 VRing *vrings; member
/openbmc/qemu/hw/virtio/
H A Dtrace-events12 vhost_dev_start(void *dev, const char *name, bool vrings) "%p:%s vrings:%d"
13 vhost_dev_stop(void *dev, const char *name, bool vrings) "%p:%s vrings:%d"
H A Dvhost.c1156 /* The vhost driver natively knows how to handle the vrings of non
2009 * If @vrings is true, this function will enable all vrings before starting the
2013 int vhost_dev_start(struct vhost_dev *hdev, VirtIODevice *vdev, bool vrings) in vhost_dev_start() argument
2020 trace_vhost_dev_start(hdev, vdev->name, vrings); in vhost_dev_start()
2078 if (vrings) { in vhost_dev_start()
2115 if (vrings) { in vhost_dev_start()
2139 void vhost_dev_stop(struct vhost_dev *hdev, VirtIODevice *vdev, bool vrings) in vhost_dev_stop() argument
2151 trace_vhost_dev_stop(hdev, vdev->name, vrings); in vhost_dev_stop()
2156 if (vrings) { in vhost_dev_stop()
/openbmc/linux/Documentation/devicetree/bindings/remoteproc/
H A Drenesas,rcar-rproc.yaml33 vrings, ...).
H A Dxlnx,zynqmp-r5fss.yaml92 vrings, ...). This reserved memory region will be allocated in DDR memory.
H A Dst,stm32-rproc.yaml102 vrings, ...).
H A Dti,k3-dsp-rproc.yaml72 - description: region used for dynamic DMA allocations like vrings and
H A Dti,k3-r5f-rproc.yaml165 - description: region used for dynamic DMA allocations like vrings and
/openbmc/linux/drivers/net/wireless/ath/wil6210/
H A Dtxrx.c63 /* returns true when all tx vrings are empty */
131 * HW has limitation that all vrings addresses must share the same in wil_vring_alloc()
1485 * duplicate skb and send it to other active vrings;
1582 wil_dbg_txrx(wil, "Tx while no vrings active?\n"); in wil_find_tx_bcast_2()
1590 /* find other active vrings and duplicate skb for each */ in wil_find_tx_bcast_2()
2210 /* Check status of tx vrings and stop/wake net queues if needed
2223 * descriptor availability. Wake if all vrings are not in low descriptor
2344 * all stations VRINGs in wil_start_xmit()
2352 * the skb in all stations VRINGs in wil_start_xmit()
H A Dpmc.c103 * HW has limitation that all vrings addresses must share the same in wil_pmc_alloc()
/openbmc/linux/drivers/remoteproc/
H A Dremoteproc_core.c457 * device features, vrings information, virtio config space, etc...
459 * Before registering the vdev, the vrings are allocated from non-cacheable
460 * physically contiguous memory. Currently we only support two vrings per
498 dev_dbg(dev, "vdev rsc: id %d, dfeatures 0x%x, cfg len %d, %d vrings\n", in rproc_handle_vdev()
501 /* we currently support only two vrings per rvdev */ in rproc_handle_vdev()
503 dev_err(dev, "too many vrings: %d\n", rsc->num_of_vrings); in rproc_handle_vdev()
H A Dda8xx_remoteproc.c89 /* Process incoming buffers on all our vrings */ in handle_event()
H A Dkeystone_remoteproc.c139 * only 2 vrings, but this can be changed if needed.
H A Dremoteproc_debugfs.c335 seq_printf(seq, " Number of vrings %d\n", v->num_of_vrings); in rproc_rsc_table_show()
/openbmc/linux/Documentation/staging/
H A Dremoteproc.rst349 virtio config space, vrings information, etc.
/openbmc/linux/drivers/rpmsg/
H A Dvirtio_rpmsg_bus.c901 /* we expect symmetric tx/rx vrings */ in rpmsg_probe()
905 /* we need less buffers if vrings are small */ in rpmsg_probe()

12