Home
last modified time | relevance | path

Searched refs:virtio32_to_cpu (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/drivers/scsi/
Dvirtio_scsi.c120 virtscsi_compute_resid(sc, virtio32_to_cpu(vscsi->vdev, resp->resid)); in virtscsi_complete_cmd()
158 WARN_ON(virtio32_to_cpu(vscsi->vdev, resp->sense_len) > in virtscsi_complete_cmd()
163 virtio32_to_cpu(vscsi->vdev, resp->sense_len), in virtscsi_complete_cmd()
284 switch (virtio32_to_cpu(vscsi->vdev, event->reason)) { in virtscsi_handle_transport_reset()
315 u8 asc = virtio32_to_cpu(vscsi->vdev, event->reason) & 255; in virtscsi_handle_param_change()
316 u8 ascq = virtio32_to_cpu(vscsi->vdev, event->reason) >> 8; in virtscsi_handle_param_change()
394 switch (virtio32_to_cpu(vscsi->vdev, event->event)) { in virtscsi_handle_event()
/linux-6.6.21/tools/virtio/linux/
Dvirtio_config.h79 static inline u32 virtio32_to_cpu(struct virtio_device *vdev, __virtio32 val) in virtio32_to_cpu() function
/linux-6.6.21/include/linux/
Dvirtio_config.h352 static inline u32 virtio32_to_cpu(struct virtio_device *vdev, __virtio32 val) in virtio32_to_cpu() function
376 __virtio32: virtio32_to_cpu((vdev), (x)), \
571 return virtio32_to_cpu(vdev, ret); in virtio_cread32()
/linux-6.6.21/drivers/platform/mellanox/
Dmlxbf-tmfifo.c380 len += virtio32_to_cpu(vdev, desc->len); in mlxbf_tmfifo_get_pkt_len()
464 len = virtio32_to_cpu(vdev, desc->len); in mlxbf_tmfifo_console_output_one()
775 len = virtio32_to_cpu(vdev, desc->len); in mlxbf_tmfifo_rxtx_one_desc()
/linux-6.6.21/drivers/virtio/
Dvirtio_balloon.c675 cmd_id_active = virtio32_to_cpu(vb->vdev, vb->cmd_id_active); in send_free_pages()
726 virtio32_to_cpu(vb->vdev, vb->cmd_id_active)) { in report_free_page_func()
Dvirtio_ring.c455 virtio32_to_cpu(vq->vq.vdev, desc->len), in vring_unmap_one_split_indirect()
849 i = virtio32_to_cpu(_vq->vdev, in virtqueue_get_buf_ctx_split()
851 *len = virtio32_to_cpu(_vq->vdev, in virtqueue_get_buf_ctx_split()
/linux-6.6.21/drivers/char/
Dvirtio_console.c1570 port = find_port_by_id(portdev, virtio32_to_cpu(vdev, cpkt->id)); in handle_control_message()
1587 if (virtio32_to_cpu(vdev, cpkt->id) >= in handle_control_message()
1595 add_port(portdev, virtio32_to_cpu(vdev, cpkt->id)); in handle_control_message()