Searched refs:virtio32_to_cpu (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/drivers/scsi/ |
H A 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()
|
/openbmc/linux/tools/virtio/linux/ |
H A D | virtio_config.h | 79 static inline u32 virtio32_to_cpu(struct virtio_device *vdev, __virtio32 val) in virtio32_to_cpu() function
|
/openbmc/linux/include/linux/ |
H A 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()
|
/openbmc/u-boot/drivers/virtio/ |
H A D | virtio_ring.c | 175 i = virtio32_to_cpu(vq->vdev, vq->vring.used->ring[last_used].id); in virtqueue_get_buf() 177 *len = virtio32_to_cpu(vq->vdev, in virtqueue_get_buf()
|
/openbmc/u-boot/include/ |
H A D | virtio.h | 524 static inline u32 virtio32_to_cpu(struct udevice *vdev, __virtio32 val) in virtio32_to_cpu() function 608 return virtio32_to_cpu(vdev, (__force __virtio32)ret); in virtio_cread32()
|
/openbmc/linux/drivers/platform/mellanox/ |
H A 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()
|
/openbmc/linux/drivers/virtio/ |
H A 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()
|
H A 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()
|
/openbmc/linux/drivers/char/ |
H A 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()
|