Searched refs:vdev (Results 1 – 13 of 13) sorted by relevance
/u-boot/include/ |
A D | virtio.h | 150 int (*reset)(struct udevice *vdev); 182 int (*del_vqs)(struct udevice *vdev); 212 struct udevice *vdev; member 557 virtio_generation(vdev, &gen); in __virtio_cread_many() 565 virtio_generation(vdev, &gen); in __virtio_cread_many() 647 *(ptr) = virtio_cread8(vdev, \ 651 *(ptr) = virtio_cread16(vdev, \ 676 virtio_cwrite8(vdev, \ 681 virtio_cwrite16(vdev, \ 686 virtio_cwrite32(vdev, \ [all …]
|
A D | virtio_ring.h | 101 struct udevice *vdev; member
|
/u-boot/drivers/virtio/ |
A D | virtio-uclass.c | 38 ops = virtio_get_ops(vdev->parent); in virtio_get_config() 48 ops = virtio_get_ops(vdev->parent); in virtio_set_config() 57 ops = virtio_get_ops(vdev->parent); in virtio_generation() 68 ops = virtio_get_ops(vdev->parent); in virtio_get_status() 88 return ops->reset(vdev->parent); in virtio_reset() 151 ret = virtio_set_features(vdev); in virtio_finalize_features() 227 struct udevice *vdev; in virtio_uclass_post_probe() local 249 str, &vdev); in virtio_uclass_post_probe() 258 device_set_name_alloced(vdev); in virtio_uclass_post_probe() 286 uc_priv->vdev = vdev; in virtio_uclass_child_pre_probe() [all …]
|
A D | virtio_ring.c | 44 virtio_notify(vq->vdev, vq); in virtqueue_add() 56 i = virtio16_to_cpu(vq->vdev, desc[i].next); in virtqueue_add() 63 desc[i].addr = cpu_to_virtio64(vq->vdev, in virtqueue_add() 68 i = virtio16_to_cpu(vq->vdev, desc[i].next); in virtqueue_add() 134 virtio_notify(vq->vdev, vq); in virtqueue_kick() 170 vq->vdev->name, vq->index); in virtqueue_get_buf() 180 *len = virtio32_to_cpu(vq->vdev, in virtqueue_get_buf() 183 vq->vdev->name, vq->index, i, *len); in virtqueue_get_buf() 188 vq->vdev->name, vq->index, i); in virtqueue_get_buf() 214 struct udevice *vdev = uc_priv->vdev; in __vring_new_virtqueue() local [all …]
|
A D | virtio_sandbox.c | 171 static int virtio_sandbox_child_post_remove(struct udevice *vdev) in virtio_sandbox_child_post_remove() argument 175 virtio_get_status(vdev, &status); in virtio_sandbox_child_post_remove()
|
A D | virtio_mmio.c | 282 struct virtio_mmio_priv *priv = dev_get_priv(vq->vdev); in virtio_mmio_del_vq()
|
A D | virtio_pci_legacy.c | 230 struct virtio_pci_priv *priv = dev_get_priv(vq->vdev); in virtio_pci_del_vq()
|
A D | virtio_pci_modern.c | 318 struct virtio_pci_priv *priv = dev_get_priv(vq->vdev); in virtio_pci_del_vq()
|
/u-boot/cmd/ |
A D | zfs.c | 47 struct device_s vdev; in do_zfs_load() local 93 vdev.part_length = info.size; in do_zfs_load() 96 zfile.device = &vdev; in do_zfs_load() 140 struct device_s vdev; in do_zfs_ls() local 153 vdev.part_length = info.size; in do_zfs_ls() 155 zfs_ls(&vdev, filename, in do_zfs_ls()
|
/u-boot/common/ |
A D | stdio.c | 352 struct udevice *vdev; in stdio_add_devices() local 356 for (ret = uclass_first_device(UCLASS_VIDEO, &vdev); in stdio_add_devices() 357 vdev; in stdio_add_devices() 358 ret = uclass_next_device(&vdev)) in stdio_add_devices()
|
/u-boot/lib/efi_loader/ |
A D | efi_gop.c | 441 struct udevice *vdev; in efi_gop_register() local 445 if (uclass_first_device(UCLASS_VIDEO, &vdev) || !vdev) { in efi_gop_register() 450 priv = dev_get_uclass_priv(vdev); in efi_gop_register() 452 col = video_get_xsize(vdev); in efi_gop_register() 453 row = video_get_ysize(vdev); in efi_gop_register()
|
/u-boot/test/dm/ |
A D | virtio.c | 67 uc_priv->vdev = dev; in dm_test_virtio_all_ops()
|
/u-boot/doc/ |
A D | README.virtio | 202 int virtio_get_status(struct udevice *vdev, u8 *status) 204 So the parameter 'vdev' indicates the device should be the real virtio device. 215 static int virtio_uclass_child_pre_probe(struct udevice *vdev)
|
Completed in 21 milliseconds