Searched refs:cpu_to_virtio32 (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/tools/virtio/linux/ |
D | virtio_config.h | 84 static inline __virtio32 cpu_to_virtio32(struct virtio_device *vdev, u32 val) in cpu_to_virtio32() function
|
/linux-6.1.9/include/linux/ |
D | virtio_config.h | 355 static inline __virtio32 cpu_to_virtio32(struct virtio_device *vdev, u32 val) in cpu_to_virtio32() function 382 __virtio32: cpu_to_virtio32((vdev), (x)), \ 578 v = cpu_to_virtio32(vdev, val); in virtio_cwrite32()
|
/linux-6.1.9/drivers/scsi/ |
D | virtio_scsi.c | 379 cpu_to_virtio32(vscsi->vdev, VIRTIO_SCSI_T_EVENTS_MISSED)) { in virtscsi_handle_event() 380 event->event &= ~cpu_to_virtio32(vscsi->vdev, in virtscsi_handle_event() 534 cmd_pi->pi_bytesout = cpu_to_virtio32(vdev, in virtio_scsi_init_hdr_pi() 538 cmd_pi->pi_bytesin = cpu_to_virtio32(vdev, in virtio_scsi_init_hdr_pi() 646 .subtype = cpu_to_virtio32(vscsi->vdev, in virtscsi_device_reset()
|
/linux-6.1.9/drivers/virtio/ |
D | virtio_balloon.c | 200 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()
|
D | virtio_ring.c | 502 desc[i].len = cpu_to_virtio32(vq->vdev, len); in virtqueue_add_desc_split()
|
/linux-6.1.9/drivers/block/ |
D | virtio_blk.c | 121 if (vbr->out_hdr.type & cpu_to_virtio32(vq->vdev, VIRTIO_BLK_T_OUT)) in virtblk_add_req() 254 vbr->out_hdr.type = cpu_to_virtio32(vdev, type); in virtblk_setup_cmd() 255 vbr->out_hdr.ioprio = cpu_to_virtio32(vdev, req_get_ioprio(req)); in virtblk_setup_cmd()
|
/linux-6.1.9/drivers/platform/mellanox/ |
D | mlxbf-tmfifo.c | 320 vr->used->ring[idx].id = cpu_to_virtio32(vdev, desc - vr->desc); in mlxbf_tmfifo_release_desc() 321 vr->used->ring[idx].len = cpu_to_virtio32(vdev, len); in mlxbf_tmfifo_release_desc()
|
/linux-6.1.9/drivers/char/ |
D | virtio_console.c | 562 portdev->cpkt.id = cpu_to_virtio32(portdev->vdev, port_id); in __send_control_msg()
|
/linux-6.1.9/drivers/net/ |
D | virtio_net.c | 2209 mac_data->entries = cpu_to_virtio32(vi->vdev, uc_count); in virtnet_set_rx_mode() 2220 mac_data->entries = cpu_to_virtio32(vi->vdev, mc_count); in virtnet_set_rx_mode()
|