Home
last modified time | relevance | path

Searched refs:virtio_tswap32 (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/include/hw/virtio/
H A Dvirtio-access.h216 static inline uint32_t virtio_tswap32(VirtIODevice *vdev, uint32_t s) in virtio_tswap32() function
227 *s = virtio_tswap32(vdev, *s); in virtio_tswap32s()
/openbmc/qemu/hw/scsi/
H A Dvirtio-scsi.c448 virtio_tswap32(VIRTIO_DEVICE(s), req->req.tmf.subtype); in virtio_scsi_do_tmf()
588 virtio_tswap32(VIRTIO_DEVICE(s), req->req.an.event_requested); in virtio_scsi_handle_ctrl_req()
720 req->resp.cmd.resid = virtio_tswap32(vdev, resid); in virtio_scsi_command_complete()
727 req->resp.cmd.sense_len = virtio_tswap32(vdev, sense_len); in virtio_scsi_command_complete()
995 evt->event = virtio_tswap32(vdev, event); in virtio_scsi_push_event()
996 evt->reason = virtio_tswap32(vdev, reason); in virtio_scsi_push_event()
/openbmc/qemu/hw/char/
H A Dvirtio-serial-bus.c576 config->max_nr_ports = virtio_tswap32(vdev, in get_config()