Home
last modified time | relevance | path

Searched refs:sgs (Results 1 – 5 of 5) sorted by relevance

/u-boot/drivers/virtio/
A Dvirtio_blk.c25 struct virtio_sg *sgs[3]; in virtio_blk_do_req() local
37 sgs[num_out++] = &hdr_sg; in virtio_blk_do_req()
40 sgs[num_out++] = &data_sg; in virtio_blk_do_req()
42 sgs[num_out + num_in++] = &data_sg; in virtio_blk_do_req()
44 sgs[num_out + num_in++] = &status_sg; in virtio_blk_do_req()
46 ret = virtqueue_add(priv->vq, sgs, num_out, num_in); in virtio_blk_do_req()
A Dvirtio_net.c55 struct virtio_sg *sgs[] = { &sg }; in virtio_net_start() local
65 virtqueue_add(priv->rx_vq, sgs, 0, 1); in virtio_net_start()
84 struct virtio_sg *sgs[] = { &hdr_sg, &data_sg }; in virtio_net_send() local
95 ret = virtqueue_add(priv->tx_vq, sgs, 2, 0); in virtio_net_send()
128 struct virtio_sg *sgs[] = { &sg }; in virtio_net_free_pkt() local
131 virtqueue_add(priv->rx_vq, sgs, 0, 1); in virtio_net_free_pkt()
A Dvirtio_rng.c27 struct virtio_sg *sgs[1]; in virtio_rng_read() local
33 sgs[0] = &sg; in virtio_rng_read()
35 ret = virtqueue_add(priv->rng_vq, sgs, 0, 1); in virtio_rng_read()
A Dvirtio_ring.c19 int virtqueue_add(struct virtqueue *vq, struct virtio_sg *sgs[], in virtqueue_add() argument
49 struct virtio_sg *sg = sgs[n]; in virtqueue_add()
59 struct virtio_sg *sg = sgs[n]; in virtqueue_add()
/u-boot/include/
A Dvirtio_ring.h178 int virtqueue_add(struct virtqueue *vq, struct virtio_sg *sgs[],

Completed in 7 milliseconds