Searched refs:__virtio16 (Results 1 – 5 of 5) sorted by relevance
115 __virtio16 hdr_len; /* Ethernet + IP + tcp/udp hdrs */116 __virtio16 gso_size; /* Bytes to append to hdr_len per frame */117 __virtio16 csum_start; /* Position to start checksumming from */118 __virtio16 csum_offset; /* Offset after that to place checksum */119 __virtio16 num_buffers; /* Number of merged rx buffers */135 __virtio16 hdr_len; /* Ethernet + IP + tcp/udp hdrs */136 __virtio16 gso_size; /* Bytes to append to hdr_len per frame */137 __virtio16 csum_start; /* Position to start checksumming from */138 __virtio16 csum_offset; /* Offset after that to place checksum */147 __virtio16 num_buffers; /* Number of merged rx buffers */[all …]
137 __virtio16 nextflag = cpu_to_virtio16(vq->vdev, VRING_DESC_F_NEXT); in detach_buf()
53 __virtio16 flags;55 __virtio16 next;59 __virtio16 flags;60 __virtio16 idx;61 __virtio16 ring[];72 __virtio16 flags;73 __virtio16 idx;126 #define vring_avail_event(vr) (*(__virtio16 *)&(vr)->used->ring[(vr)->num])135 sizeof(__virtio16) + align - 1) & ~(align - 1)); in vring_init()141 sizeof(__virtio16) * (3 + num) + align - 1) & ~(align - 1)) + in vring_size()[all …]
368 static inline u16 __virtio16_to_cpu(bool little_endian, __virtio16 val) in __virtio16_to_cpu()376 static inline __virtio16 __cpu_to_virtio16(bool little_endian, u16 val) in __cpu_to_virtio16()379 return (__force __virtio16)cpu_to_le16(val); in __cpu_to_virtio16()381 return (__force __virtio16)cpu_to_be16(val); in __cpu_to_virtio16()514 static inline u16 virtio16_to_cpu(struct udevice *vdev, __virtio16 val) in virtio16_to_cpu()519 static inline __virtio16 cpu_to_virtio16(struct udevice *vdev, u16 val) in cpu_to_virtio16()592 return virtio16_to_cpu(vdev, (__force __virtio16)ret); in virtio_cread16()
20 typedef __u16 __bitwise __virtio16; typedef