Searched refs:virtqueue (Results 1 – 13 of 13) sorted by relevance
/u-boot/include/ |
A D | virtio_ring.h | 99 struct virtqueue { struct 178 int virtqueue_add(struct virtqueue *vq, struct virtio_sg *sgs[], 192 void virtqueue_kick(struct virtqueue *vq); 211 void *virtqueue_get_buf(struct virtqueue *vq, unsigned int *len); 244 void vring_del_virtqueue(struct virtqueue *vq); 252 unsigned int virtqueue_get_vring_size(struct virtqueue *vq); 260 ulong virtqueue_get_desc_addr(struct virtqueue *vq); 268 ulong virtqueue_get_avail_addr(struct virtqueue *vq); 276 ulong virtqueue_get_used_addr(struct virtqueue *vq); 286 bool virtqueue_poll(struct virtqueue *vq, u16 last_used_idx); [all …]
|
A D | virtio.h | 94 struct virtqueue; 175 struct virtqueue *vqs[]); 190 int (*notify)(struct udevice *vdev, struct virtqueue *vq); 308 struct virtqueue *vqs[]); 325 int virtio_notify(struct udevice *vdev, struct virtqueue *vq);
|
/u-boot/drivers/virtio/ |
A D | virtio_ring.c | 19 int virtqueue_add(struct virtqueue *vq, struct virtio_sg *sgs[], in virtqueue_add() 105 static bool virtqueue_kick_prepare(struct virtqueue *vq) in virtqueue_kick_prepare() 131 void virtqueue_kick(struct virtqueue *vq) in virtqueue_kick() 157 static inline bool more_used(const struct virtqueue *vq) in more_used() 212 struct virtqueue *vq; in __vring_new_virtqueue() 250 struct virtqueue *vq; in vring_create_virtqueue() 291 void vring_del_virtqueue(struct virtqueue *vq) in vring_del_virtqueue() 303 ulong virtqueue_get_desc_addr(struct virtqueue *vq) in virtqueue_get_desc_addr() 308 ulong virtqueue_get_avail_addr(struct virtqueue *vq) in virtqueue_get_avail_addr() 314 ulong virtqueue_get_used_addr(struct virtqueue *vq) in virtqueue_get_used_addr() [all …]
|
A D | virtio_sandbox.c | 90 static struct virtqueue *virtio_sandbox_setup_vq(struct udevice *udev, in virtio_sandbox_setup_vq() 94 struct virtqueue *vq; in virtio_sandbox_setup_vq() 120 static void virtio_sandbox_del_vq(struct virtqueue *vq) in virtio_sandbox_del_vq() 128 struct virtqueue *vq, *n; in virtio_sandbox_del_vqs() 137 struct virtqueue *vqs[]) in virtio_sandbox_find_vqs() 152 static int virtio_sandbox_notify(struct udevice *udev, struct virtqueue *vq) in virtio_sandbox_notify()
|
A D | virtio_mmio.c | 191 static struct virtqueue *virtio_mmio_setup_vq(struct udevice *udev, in virtio_mmio_setup_vq() 195 struct virtqueue *vq; in virtio_mmio_setup_vq() 280 static void virtio_mmio_del_vq(struct virtqueue *vq) in virtio_mmio_del_vq() 300 struct virtqueue *vq, *n; in virtio_mmio_del_vqs() 309 struct virtqueue *vqs[]) in virtio_mmio_find_vqs() 324 static int virtio_mmio_notify(struct udevice *udev, struct virtqueue *vq) in virtio_mmio_notify()
|
A D | virtio_pci_legacy.c | 193 static struct virtqueue *virtio_pci_setup_vq(struct udevice *udev, in virtio_pci_setup_vq() 197 struct virtqueue *vq; in virtio_pci_setup_vq() 228 static void virtio_pci_del_vq(struct virtqueue *vq) in virtio_pci_del_vq() 244 struct virtqueue *vq, *n; in virtio_pci_del_vqs() 253 struct virtqueue *vqs[]) in virtio_pci_find_vqs() 268 static int virtio_pci_notify(struct udevice *udev, struct virtqueue *vq) in virtio_pci_notify()
|
A D | virtio_net.c | 26 struct virtqueue *vqs[2]; 28 struct virtqueue *rx_vq; 29 struct virtqueue *tx_vq;
|
A D | virtio_pci_modern.c | 260 static struct virtqueue *virtio_pci_setup_vq(struct udevice *udev, in virtio_pci_setup_vq() 265 struct virtqueue *vq; in virtio_pci_setup_vq() 316 static void virtio_pci_del_vq(struct virtqueue *vq) in virtio_pci_del_vq() 332 struct virtqueue *vq, *n; in virtio_pci_del_vqs() 341 struct virtqueue *vqs[]) in virtio_pci_find_vqs() 356 static int virtio_pci_notify(struct udevice *udev, struct virtqueue *vq) in virtio_pci_notify()
|
A D | virtio_rng.c | 17 struct virtqueue *rng_vq;
|
A D | virtio-uclass.c | 110 struct virtqueue *vqs[]) in virtio_find_vqs() 128 int virtio_notify(struct udevice *vdev, struct virtqueue *vq) in virtio_notify()
|
A D | virtio_blk.c | 17 struct virtqueue *vq;
|
/u-boot/test/dm/ |
A D | virtio.c | 51 struct virtqueue *vqs[2]; in dm_test_virtio_all_ops()
|
/u-boot/doc/ |
A D | README.virtio | 207 struct virtqueue *vring_create_virtqueue(unsigned int index, unsigned int num,
|
Completed in 14 milliseconds