Home
last modified time | relevance | path

Searched refs:cpu_to_virtio64 (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/tools/virtio/linux/
H A Dvirtio_config.h94 static inline __virtio64 cpu_to_virtio64(struct virtio_device *vdev, u64 val) in cpu_to_virtio64() function
/openbmc/linux/include/linux/
H A Dvirtio_config.h367 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 Dvirtio_blk.c30 .sector = cpu_to_virtio64(dev, sector), in virtio_blk_do_req()
H A Dvirtio_ring.c49 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 Dvirtio.h539 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 Dvirtio_scsi.c520 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 Dvirtio_mem.c1400 .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 Dvirtio_balloon.c309 vb->stats[idx].val = cpu_to_virtio64(vb->vdev, val); in update_stat()
H A Dvirtio_ring.c528 desc[i].addr = cpu_to_virtio64(vq->vdev, addr); in virtqueue_add_desc_split()
/openbmc/linux/drivers/block/
H A Dvirtio_blk.c314 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 Dvirtio_net.c3737 vi->ctrl->offloads = cpu_to_virtio64(vi->vdev, offloads); in virtnet_set_guest_offloads()