Searched refs:cpu_to_virtio64 (Results 1 – 11 of 11) sorted by relevance
/openbmc/linux/tools/virtio/linux/ |
H A D | virtio_config.h | 94 static inline __virtio64 cpu_to_virtio64(struct virtio_device *vdev, u64 val) in cpu_to_virtio64() function
|
/openbmc/linux/include/linux/ |
H A D | virtio_config.h | 367 static inline __virtio64 cpu_to_virtio64(struct virtio_device *vdev, u64 val) in cpu_to_virtio64() function 385 __virtio64: cpu_to_virtio64((vdev), (x)) \ 599 v = cpu_to_virtio64(vdev, val); in virtio_cwrite64()
|
/openbmc/u-boot/drivers/virtio/ |
H A D | virtio_blk.c | 30 .sector = cpu_to_virtio64(dev, sector), in virtio_blk_do_req()
|
H A D | virtio_ring.c | 49 desc[i].addr = cpu_to_virtio64(vq->vdev, (u64)(size_t)sg->addr); in virtqueue_add() 60 desc[i].addr = cpu_to_virtio64(vq->vdev, in virtqueue_add()
|
/openbmc/u-boot/include/ |
H A D | virtio.h | 539 static inline __virtio64 cpu_to_virtio64(struct udevice *vdev, u64 val) in cpu_to_virtio64() function 630 val = (__force u64)cpu_to_virtio64(vdev, val); in virtio_cwrite64()
|
/openbmc/linux/drivers/scsi/ |
H A D | virtio_scsi.c | 520 cmd->tag = cpu_to_virtio64(vdev, (unsigned long)sc); in virtio_scsi_init_hdr() 717 .tag = cpu_to_virtio64(vscsi->vdev, (unsigned long)sc), in virtscsi_abort()
|
/openbmc/linux/drivers/virtio/ |
H A D | virtio_mem.c | 1400 .u.plug.addr = cpu_to_virtio64(vm->vdev, addr), in virtio_mem_send_plug_request() 1438 .u.unplug.addr = cpu_to_virtio64(vm->vdev, addr), in virtio_mem_send_unplug_request() 2639 .u.state.addr = cpu_to_virtio64(vm->vdev, addr), in virtio_mem_send_state_request()
|
H A D | virtio_balloon.c | 309 vb->stats[idx].val = cpu_to_virtio64(vb->vdev, val); in update_stat()
|
H A D | virtio_ring.c | 528 desc[i].addr = cpu_to_virtio64(vq->vdev, addr); in virtqueue_add_desc_split()
|
/openbmc/linux/drivers/block/ |
H A D | virtio_blk.c | 314 vbr->out_hdr.sector = cpu_to_virtio64(vdev, sector); in virtblk_setup_cmd() 582 vbr->out_hdr.sector = cpu_to_virtio64(vblk->vdev, sector); in virtblk_submit_zone_report()
|
/openbmc/linux/drivers/net/ |
H A D | virtio_net.c | 3737 vi->ctrl->offloads = cpu_to_virtio64(vi->vdev, offloads); in virtnet_set_guest_offloads()
|