virtio16_to_cpu 1586 drivers/char/virtio_console.c switch (virtio16_to_cpu(vdev, cpkt->event)) { virtio16_to_cpu 1638 drivers/char/virtio_console.c port->host_connected = virtio16_to_cpu(vdev, cpkt->value); virtio16_to_cpu 788 drivers/net/virtio_net.c u16 num_buf = virtio16_to_cpu(vi->vdev, hdr->num_buffers); virtio16_to_cpu 936 drivers/net/virtio_net.c virtio16_to_cpu(vi->vdev, virtio16_to_cpu 294 drivers/platform/mellanox/mlxbf-tmfifo.c if (vring->next_avail == virtio16_to_cpu(vdev, vr->avail->idx)) virtio16_to_cpu 298 drivers/platform/mellanox/mlxbf-tmfifo.c head = virtio16_to_cpu(vdev, vr->avail->ring[idx]); virtio16_to_cpu 315 drivers/platform/mellanox/mlxbf-tmfifo.c vr_idx = virtio16_to_cpu(vdev, vr->used->idx); virtio16_to_cpu 339 drivers/platform/mellanox/mlxbf-tmfifo.c if (!(virtio16_to_cpu(vdev, desc->flags) & VRING_DESC_F_NEXT)) virtio16_to_cpu 341 drivers/platform/mellanox/mlxbf-tmfifo.c idx = virtio16_to_cpu(vdev, desc->next); virtio16_to_cpu 436 drivers/platform/mellanox/mlxbf-tmfifo.c if (!(virtio16_to_cpu(vdev, desc->flags) & VRING_DESC_F_NEXT)) virtio16_to_cpu 438 drivers/platform/mellanox/mlxbf-tmfifo.c idx = virtio16_to_cpu(vdev, desc->next); virtio16_to_cpu 722 drivers/platform/mellanox/mlxbf-tmfifo.c (virtio16_to_cpu(vdev, desc->flags) & VRING_DESC_F_NEXT)) { virtio16_to_cpu 723 drivers/platform/mellanox/mlxbf-tmfifo.c idx = virtio16_to_cpu(vdev, desc->next); virtio16_to_cpu 375 drivers/virtio/virtio_ring.c flags = virtio16_to_cpu(vq->vq.vdev, desc->flags); virtio16_to_cpu 491 drivers/virtio/virtio_ring.c i = virtio16_to_cpu(_vq->vdev, desc[i].next); virtio16_to_cpu 504 drivers/virtio/virtio_ring.c i = virtio16_to_cpu(_vq->vdev, desc[i].next); virtio16_to_cpu 532 drivers/virtio/virtio_ring.c vq->free_head = virtio16_to_cpu(_vq->vdev, virtio16_to_cpu 579 drivers/virtio/virtio_ring.c i = virtio16_to_cpu(_vq->vdev, desc[i].next); virtio16_to_cpu 608 drivers/virtio/virtio_ring.c needs_kick = vring_need_event(virtio16_to_cpu(_vq->vdev, virtio16_to_cpu 634 drivers/virtio/virtio_ring.c i = virtio16_to_cpu(vq->vq.vdev, vq->split.vring.desc[i].next); virtio16_to_cpu 674 drivers/virtio/virtio_ring.c return vq->last_used_idx != virtio16_to_cpu(vq->vq.vdev, virtio16_to_cpu 778 drivers/virtio/virtio_ring.c return (u16)last_used_idx != virtio16_to_cpu(_vq->vdev, virtio16_to_cpu 808 drivers/virtio/virtio_ring.c if (unlikely((u16)(virtio16_to_cpu(_vq->vdev, vq->split.vring.used->idx) virtio16_to_cpu 406 include/linux/virtio_config.h return virtio16_to_cpu(vdev, (__force __virtio16)ret);