Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/platform/mellanox/
Dmlxbf-tmfifo.c294 if (vring->next_avail == virtio16_to_cpu(vdev, vr->avail->idx)) in mlxbf_tmfifo_get_next_desc()
301 head = virtio16_to_cpu(vdev, vr->avail->ring[idx]); in mlxbf_tmfifo_get_next_desc()
318 vr_idx = virtio16_to_cpu(vdev, vr->used->idx); in mlxbf_tmfifo_release_desc()
342 if (!(virtio16_to_cpu(vdev, desc->flags) & VRING_DESC_F_NEXT)) in mlxbf_tmfifo_get_pkt_len()
344 idx = virtio16_to_cpu(vdev, desc->next); in mlxbf_tmfifo_get_pkt_len()
439 if (!(virtio16_to_cpu(vdev, desc->flags) & VRING_DESC_F_NEXT)) in mlxbf_tmfifo_console_output_one()
441 idx = virtio16_to_cpu(vdev, desc->next); in mlxbf_tmfifo_console_output_one()
728 (virtio16_to_cpu(vdev, desc->flags) & VRING_DESC_F_NEXT)) { in mlxbf_tmfifo_rxtx_one_desc()
729 idx = virtio16_to_cpu(vdev, desc->next); in mlxbf_tmfifo_rxtx_one_desc()
/kernel/linux/linux-5.10/tools/virtio/linux/
Dvirtio_config.h64 static inline u16 virtio16_to_cpu(struct virtio_device *vdev, __virtio16 val) in virtio16_to_cpu() function
/kernel/linux/linux-5.10/include/linux/
Dvirtio_config.h279 static inline u16 virtio16_to_cpu(struct virtio_device *vdev, __virtio16 val) in virtio16_to_cpu() function
312 __virtio16: virtio16_to_cpu((vdev), (x)), \
488 return virtio16_to_cpu(vdev, ret); in virtio_cread16()
/kernel/linux/linux-5.10/drivers/virtio/
Dvirtio_ring.c375 flags = virtio16_to_cpu(vq->vq.vdev, desc->flags); in vring_unmap_one_split()
491 i = virtio16_to_cpu(_vq->vdev, desc[i].next); in virtqueue_add_split()
504 i = virtio16_to_cpu(_vq->vdev, desc[i].next); in virtqueue_add_split()
532 vq->free_head = virtio16_to_cpu(_vq->vdev, in virtqueue_add_split()
579 i = virtio16_to_cpu(_vq->vdev, desc[i].next); in virtqueue_add_split()
608 needs_kick = vring_need_event(virtio16_to_cpu(_vq->vdev, in virtqueue_kick_prepare_split()
634 i = virtio16_to_cpu(vq->vq.vdev, vq->split.vring.desc[i].next); in detach_buf_split()
674 return vq->last_used_idx != virtio16_to_cpu(vq->vq.vdev, in more_used_split()
778 return (u16)last_used_idx != virtio16_to_cpu(_vq->vdev, in virtqueue_poll_split()
808 if (unlikely((u16)(virtio16_to_cpu(_vq->vdev, vq->split.vring.used->idx) in virtqueue_enable_cb_delayed_split()
Dvirtio_mem.c861 return virtio16_to_cpu(vm->vdev, vm->resp.type); in virtio_mem_send_request()
/kernel/linux/linux-5.10/drivers/rpmsg/
Dvirtio_rpmsg_bus.c713 unsigned int msg_len = virtio16_to_cpu(vrp->vdev, msg->len); in rpmsg_recv_single()
719 virtio16_to_cpu(vrp->vdev, msg->flags), in rpmsg_recv_single()
/kernel/linux/linux-5.10/drivers/char/
Dvirtio_console.c1584 switch (virtio16_to_cpu(vdev, cpkt->event)) { in handle_control_message()
1636 port->host_connected = virtio16_to_cpu(vdev, cpkt->value); in handle_control_message()
/kernel/linux/linux-5.10/drivers/net/
Dvirtio_net.c865 u16 num_buf = virtio16_to_cpu(vi->vdev, hdr->num_buffers); in receive_mergeable()
1028 virtio16_to_cpu(vi->vdev, in receive_mergeable()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0032_linux_drivers_regulator_remoteproc_reset_rpmsg_rtc.patch2404 - unsigned int msg_len = virtio16_to_cpu(vrp->vdev, msg->len);
2412 - virtio16_to_cpu(vrp->vdev, msg->flags),