Home
last modified time | relevance | path

Searched refs:cpu_to_virtio32 (Results 1 – 9 of 9) sorted by relevance

/linux-6.3-rc2/tools/virtio/linux/
A Dvirtio_config.h84 static inline __virtio32 cpu_to_virtio32(struct virtio_device *vdev, u32 val) in cpu_to_virtio32() function
/linux-6.3-rc2/include/linux/
A Dvirtio_config.h357 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()
/linux-6.3-rc2/drivers/scsi/
A Dvirtio_scsi.c385 cpu_to_virtio32(vscsi->vdev, VIRTIO_SCSI_T_EVENTS_MISSED)) { in virtscsi_handle_event()
388 event->event &= ~cpu_to_virtio32(vscsi->vdev, in virtscsi_handle_event()
544 cmd_pi->pi_bytesout = cpu_to_virtio32(vdev, in virtio_scsi_init_hdr_pi()
548 cmd_pi->pi_bytesin = cpu_to_virtio32(vdev, in virtio_scsi_init_hdr_pi()
656 .subtype = cpu_to_virtio32(vscsi->vdev, in virtscsi_device_reset()
/linux-6.3-rc2/drivers/virtio/
A Dvirtio_balloon.c200 pfns[i] = cpu_to_virtio32(vb->vdev, in set_page_pfns()
588 vb->cmd_id_active = cpu_to_virtio32(vb->vdev, in send_cmd_id_start()
912 vb->cmd_id_active = cpu_to_virtio32(vb->vdev, in virtballoon_probe()
914 vb->cmd_id_stop = cpu_to_virtio32(vb->vdev, in virtballoon_probe()
A Dvirtio_ring.c508 desc[i].len = cpu_to_virtio32(vq->vdev, len); in virtqueue_add_desc_split()
/linux-6.3-rc2/drivers/block/
A Dvirtio_blk.c151 if (vbr->out_hdr.type & cpu_to_virtio32(vq->vdev, VIRTIO_BLK_T_OUT)) in virtblk_add_req()
251 vbr->out_hdr.ioprio = cpu_to_virtio32(vdev, req_get_ioprio(req)); in virtblk_setup_cmd()
309 vbr->out_hdr.type = cpu_to_virtio32(vdev, type); in virtblk_setup_cmd()
596 vbr->out_hdr.type = cpu_to_virtio32(vblk->vdev, VIRTIO_BLK_T_ZONE_REPORT); in virtblk_submit_zone_report()
835 vbr->out_hdr.type = cpu_to_virtio32(vblk->vdev, VIRTIO_BLK_T_GET_ID); in virtblk_get_id()
/linux-6.3-rc2/drivers/platform/mellanox/
A Dmlxbf-tmfifo.c339 vr->used->ring[idx].id = cpu_to_virtio32(vdev, desc - vr->desc); in mlxbf_tmfifo_release_desc()
340 vr->used->ring[idx].len = cpu_to_virtio32(vdev, len); in mlxbf_tmfifo_release_desc()
/linux-6.3-rc2/drivers/char/
A Dvirtio_console.c554 portdev->cpkt.id = cpu_to_virtio32(portdev->vdev, port_id); in __send_control_msg()
/linux-6.3-rc2/drivers/net/
A Dvirtio_net.c2337 mac_data->entries = cpu_to_virtio32(vi->vdev, uc_count); in virtnet_set_rx_mode()
2348 mac_data->entries = cpu_to_virtio32(vi->vdev, mc_count); in virtnet_set_rx_mode()

Completed in 36 milliseconds