Home
last modified time | relevance | path

Searched refs:vdev (Results 1 – 17 of 17) sorted by relevance

/external/u-boot/include/
Dvirtio.h103 int (*get_config)(struct udevice *vdev, unsigned int offset,
114 int (*set_config)(struct udevice *vdev, unsigned int offset,
123 int (*generation)(struct udevice *vdev, u32 *counter);
131 int (*get_status)(struct udevice *vdev, u8 *status);
139 int (*set_status)(struct udevice *vdev, u8 status);
146 int (*reset)(struct udevice *vdev);
154 int (*get_features)(struct udevice *vdev, u64 *features);
161 int (*set_features)(struct udevice *vdev);
170 int (*find_vqs)(struct udevice *vdev, unsigned int nvqs,
178 int (*del_vqs)(struct udevice *vdev);
[all …]
Dvirtio_ring.h101 struct udevice *vdev; member
/external/u-boot/drivers/virtio/
Dvirtio-uclass.c29 int virtio_get_config(struct udevice *vdev, unsigned int offset, in virtio_get_config() argument
34 ops = virtio_get_ops(vdev->parent); in virtio_get_config()
36 return ops->get_config(vdev->parent, offset, buf, len); in virtio_get_config()
39 int virtio_set_config(struct udevice *vdev, unsigned int offset, in virtio_set_config() argument
44 ops = virtio_get_ops(vdev->parent); in virtio_set_config()
46 return ops->set_config(vdev->parent, offset, buf, len); in virtio_set_config()
49 int virtio_generation(struct udevice *vdev, u32 *counter) in virtio_generation() argument
53 ops = virtio_get_ops(vdev->parent); in virtio_generation()
57 return ops->generation(vdev->parent, counter); in virtio_generation()
60 int virtio_get_status(struct udevice *vdev, u8 *status) in virtio_get_status() argument
[all …]
Dvirtio_ring.c41 virtio_notify(vq->vdev, vq); in virtqueue_add()
48 desc[i].flags = cpu_to_virtio16(vq->vdev, VRING_DESC_F_NEXT); in virtqueue_add()
49 desc[i].addr = cpu_to_virtio64(vq->vdev, (u64)(size_t)sg->addr); in virtqueue_add()
50 desc[i].len = cpu_to_virtio32(vq->vdev, sg->length); in virtqueue_add()
53 i = virtio16_to_cpu(vq->vdev, desc[i].next); in virtqueue_add()
58 desc[i].flags = cpu_to_virtio16(vq->vdev, VRING_DESC_F_NEXT | in virtqueue_add()
60 desc[i].addr = cpu_to_virtio64(vq->vdev, in virtqueue_add()
62 desc[i].len = cpu_to_virtio32(vq->vdev, sg->length); in virtqueue_add()
65 i = virtio16_to_cpu(vq->vdev, desc[i].next); in virtqueue_add()
68 desc[prev].flags &= cpu_to_virtio16(vq->vdev, ~VRING_DESC_F_NEXT); in virtqueue_add()
[all …]
Dvirtio_sandbox.c169 static int virtio_sandbox_child_post_remove(struct udevice *vdev) in virtio_sandbox_child_post_remove() argument
173 virtio_get_status(vdev, &status); in virtio_sandbox_child_post_remove()
Dvirtio_mmio.c279 struct virtio_mmio_priv *priv = dev_get_priv(vq->vdev); in virtio_mmio_del_vq()
Dvirtio_pci_legacy.c227 struct virtio_pci_priv *priv = dev_get_priv(vq->vdev); in virtio_pci_del_vq()
Dvirtio_pci_modern.c314 struct virtio_pci_priv *priv = dev_get_priv(vq->vdev); in virtio_pci_del_vq()
/external/u-boot/cmd/
Dzfs.c47 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()
/external/skia/src/opts/
DSkBlitMask_opts.h73 uint8x8x4_t vdev = vld4_u8((uint8_t*)device); in D32_A8_Opaque_Color_neon() local
75 vdev.val[NEON_A] = SkAlphaMul_neon8(vpmc.val[NEON_A], vmask256) in D32_A8_Opaque_Color_neon()
76 + SkAlphaMul_neon8(vdev.val[NEON_A], vscale); in D32_A8_Opaque_Color_neon()
77 vdev.val[NEON_R] = SkAlphaMul_neon8(vpmc.val[NEON_R], vmask256) in D32_A8_Opaque_Color_neon()
78 + SkAlphaMul_neon8(vdev.val[NEON_R], vscale); in D32_A8_Opaque_Color_neon()
79 vdev.val[NEON_G] = SkAlphaMul_neon8(vpmc.val[NEON_G], vmask256) in D32_A8_Opaque_Color_neon()
80 + SkAlphaMul_neon8(vdev.val[NEON_G], vscale); in D32_A8_Opaque_Color_neon()
81 vdev.val[NEON_B] = SkAlphaMul_neon8(vpmc.val[NEON_B], vmask256) in D32_A8_Opaque_Color_neon()
82 + SkAlphaMul_neon8(vdev.val[NEON_B], vscale); in D32_A8_Opaque_Color_neon()
84 vst4_u8((uint8_t*)device, vdev); in D32_A8_Opaque_Color_neon()
/external/skqp/src/opts/
DSkBlitMask_opts.h73 uint8x8x4_t vdev = vld4_u8((uint8_t*)device); in D32_A8_Opaque_Color_neon() local
75 vdev.val[NEON_A] = SkAlphaMul_neon8(vpmc.val[NEON_A], vmask256) in D32_A8_Opaque_Color_neon()
76 + SkAlphaMul_neon8(vdev.val[NEON_A], vscale); in D32_A8_Opaque_Color_neon()
77 vdev.val[NEON_R] = SkAlphaMul_neon8(vpmc.val[NEON_R], vmask256) in D32_A8_Opaque_Color_neon()
78 + SkAlphaMul_neon8(vdev.val[NEON_R], vscale); in D32_A8_Opaque_Color_neon()
79 vdev.val[NEON_G] = SkAlphaMul_neon8(vpmc.val[NEON_G], vmask256) in D32_A8_Opaque_Color_neon()
80 + SkAlphaMul_neon8(vdev.val[NEON_G], vscale); in D32_A8_Opaque_Color_neon()
81 vdev.val[NEON_B] = SkAlphaMul_neon8(vpmc.val[NEON_B], vmask256) in D32_A8_Opaque_Color_neon()
82 + SkAlphaMul_neon8(vdev.val[NEON_B], vscale); in D32_A8_Opaque_Color_neon()
84 vst4_u8((uint8_t*)device, vdev); in D32_A8_Opaque_Color_neon()
/external/u-boot/common/
Dstdio.c358 struct udevice *vdev; in stdio_add_devices() local
363 for (ret = uclass_first_device(UCLASS_VIDEO, &vdev); in stdio_add_devices()
364 vdev; in stdio_add_devices()
365 ret = uclass_next_device(&vdev)) in stdio_add_devices()
/external/u-boot/lib/efi_loader/
Defi_gop.c439 struct udevice *vdev; in efi_gop_register() local
443 if (uclass_first_device(UCLASS_VIDEO, &vdev) || !vdev) { in efi_gop_register()
448 priv = dev_get_uclass_priv(vdev); in efi_gop_register()
450 col = video_get_xsize(vdev); in efi_gop_register()
451 row = video_get_ysize(vdev); in efi_gop_register()
/external/kernel-headers/original/uapi/linux/
Dmic_common.h65 __le64 vdev; member
/external/u-boot/test/dm/
Dvirtio.c61 uc_priv->vdev = dev; in dm_test_virtio_all_ops()
/external/u-boot/doc/
DREADME.virtio202 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)
/external/tensorflow/tensorflow/python/eager/
Dcontext.py1292 for vdev in virtual_devices:
1293 if vdev.memory_limit is not None:
1297 for vdev in virtual_devices:
1298 if vdev.memory_limit is None: