Searched refs:cpu_to_virtio32 (Results 1 – 12 of 12) sorted by relevance
/openbmc/linux/tools/virtio/linux/ |
H A D | virtio_config.h | 84 static inline __virtio32 cpu_to_virtio32(struct virtio_device *vdev, u32 val) in cpu_to_virtio32() function
|
/openbmc/linux/include/linux/ |
H A D | virtio_config.h | 357 static inline __virtio32 cpu_to_virtio32(struct virtio_device *vdev, u32 val) in cpu_to_virtio32() function 384 __virtio32: cpu_to_virtio32((vdev), (x)), \ 580 v = cpu_to_virtio32(vdev, val); in virtio_cwrite32()
|
/openbmc/linux/drivers/scsi/ |
H A D | virtio_scsi.c | 383 cpu_to_virtio32(vscsi->vdev, VIRTIO_SCSI_T_EVENTS_MISSED)) { in virtscsi_handle_event() 386 event->event &= ~cpu_to_virtio32(vscsi->vdev, in virtscsi_handle_event() 542 cmd_pi->pi_bytesout = cpu_to_virtio32(vdev, in virtio_scsi_init_hdr_pi() 546 cmd_pi->pi_bytesin = cpu_to_virtio32(vdev, in virtio_scsi_init_hdr_pi() 654 .subtype = cpu_to_virtio32(vscsi->vdev, in virtscsi_device_reset()
|
/openbmc/u-boot/drivers/virtio/ |
H A D | virtio_blk.c | 29 .type = cpu_to_virtio32(dev, type), in virtio_blk_do_req()
|
H A D | virtio_ring.c | 50 desc[i].len = cpu_to_virtio32(vq->vdev, sg->length); in virtqueue_add() 62 desc[i].len = cpu_to_virtio32(vq->vdev, sg->length); in virtqueue_add()
|
/openbmc/u-boot/include/ |
H A D | virtio.h | 529 static inline __virtio32 cpu_to_virtio32(struct udevice *vdev, u32 val) in cpu_to_virtio32() function 614 val = (__force u32)cpu_to_virtio32(vdev, val); in virtio_cwrite32()
|
/openbmc/linux/drivers/virtio/ |
H A D | virtio_balloon.c | 200 pfns[i] = cpu_to_virtio32(vb->vdev, in set_page_pfns() 592 vb->cmd_id_active = cpu_to_virtio32(vb->vdev, in send_cmd_id_start() 916 vb->cmd_id_active = cpu_to_virtio32(vb->vdev, in virtballoon_probe() 918 vb->cmd_id_stop = cpu_to_virtio32(vb->vdev, in virtballoon_probe()
|
H A D | virtio_ring.c | 529 desc[i].len = cpu_to_virtio32(vq->vdev, len); in virtqueue_add_desc_split()
|
/openbmc/linux/drivers/block/ |
H A D | virtio_blk.c | 149 if (vbr->out_hdr.type & cpu_to_virtio32(vq->vdev, VIRTIO_BLK_T_OUT)) in virtblk_add_req() 252 vbr->out_hdr.ioprio = cpu_to_virtio32(vdev, req_get_ioprio(req)); in virtblk_setup_cmd() 313 vbr->out_hdr.type = cpu_to_virtio32(vdev, type); in virtblk_setup_cmd() 581 vbr->out_hdr.type = cpu_to_virtio32(vblk->vdev, VIRTIO_BLK_T_ZONE_REPORT); in virtblk_submit_zone_report() 880 vbr->out_hdr.type = cpu_to_virtio32(vblk->vdev, VIRTIO_BLK_T_GET_ID); in virtblk_get_id()
|
/openbmc/linux/drivers/platform/mellanox/ |
H A D | mlxbf-tmfifo.c | 359 vr->used->ring[idx].id = cpu_to_virtio32(vdev, desc - vr->desc); in mlxbf_tmfifo_release_desc() 360 vr->used->ring[idx].len = cpu_to_virtio32(vdev, len); in mlxbf_tmfifo_release_desc()
|
/openbmc/linux/drivers/char/ |
H A D | virtio_console.c | 555 portdev->cpkt.id = cpu_to_virtio32(portdev->vdev, port_id); in __send_control_msg()
|
/openbmc/linux/drivers/net/ |
H A D | virtio_net.c | 2727 mac_data->entries = cpu_to_virtio32(vi->vdev, uc_count); in virtnet_set_rx_mode() 2738 mac_data->entries = cpu_to_virtio32(vi->vdev, mc_count); in virtnet_set_rx_mode()
|