Searched refs:virtio32_to_cpu (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/drivers/scsi/ |
D | virtio_scsi.c | 120 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/ |
D | virtio_config.h | 79 static inline u32 virtio32_to_cpu(struct virtio_device *vdev, __virtio32 val) in virtio32_to_cpu() function
|
/linux-6.6.21/include/linux/ |
D | virtio_config.h | 352 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/ |
D | mlxbf-tmfifo.c | 380 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/ |
D | virtio_balloon.c | 675 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()
|
D | virtio_ring.c | 455 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/ |
D | virtio_console.c | 1570 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()
|