Searched refs:__be16 (Results 1 – 14 of 14) sorted by relevance
21 __be16 h_vlan_proto;22 __be16 h_vlan_TCI;23 __be16 h_vlan_encapsulated_proto;
17 typedef __be16 fdt16_t;
142 typedef __u16 __bitwise __be16; typedef
338 __be16 psrc;339 __be16 pdst;
18 #define __constant_htons(x) ((__force __be16)(__u16)(x))19 #define __constant_ntohs(x) ((__force __u16)(__be16)(x))30 #define __constant_cpu_to_be16(x) ((__force __be16)(__u16)(x))31 #define __constant_be16_to_cpu(x) ((__force __u16)(__be16)(x))42 #define __cpu_to_be16(x) ((__force __be16)(__u16)(x))43 #define __be16_to_cpu(x) ((__force __u16)(__be16)(x))85 static inline __be16 __cpu_to_be16p(const __u16 *p) in __cpu_to_be16p()87 return (__force __be16)*p; in __cpu_to_be16p()89 static inline __u16 __be16_to_cpup(const __be16 *p) in __be16_to_cpup()
18 #define __constant_htons(x) ((__force __be16)___constant_swab16((x)))19 #define __constant_ntohs(x) ___constant_swab16((__force __be16)(x))30 #define __constant_cpu_to_be16(x) ((__force __be16)___constant_swab16((x)))31 #define __constant_be16_to_cpu(x) ___constant_swab16((__force __u16)(__be16)(x))42 #define __cpu_to_be16(x) ((__force __be16)__swab16((x)))43 #define __be16_to_cpu(x) __swab16((__force __u16)(__be16)(x))85 static inline __be16 __cpu_to_be16p(const __u16 *p) in __cpu_to_be16p()87 return (__force __be16)__swab16p(p); in __cpu_to_be16p()89 static inline __u16 __be16_to_cpup(const __be16 *p) in __be16_to_cpup()
176 static inline void be16_add_cpu(__be16 *var, u16 val) in be16_add_cpu()
16 __be16 length; /* Payload length */26 __be16 code; /* Response code */27 __be16 reason; /* Response reason */97 __be16 reserved; /* Reserved */98 __be16 vlan; /* VLAN ID */99 __be16 reserved1; /* Reserved */177 __be16 len; /* Payload Length */199 __be16 pci_ids[4]; /* PCI IDs */230 __be16 vlan_enable; /* VLAN tag enable flags */239 __be16 vlan; /* Supported VLAN tags */
22 __be16 u6_addr16[8];62 __be16 payload_len;124 __be16 icmp6_cksum;129 __be16 un_data16[2];134 __be16 identifier;135 __be16 sequence;171 __be16 rt_lifetime;
80 __be16 select;81 __be16 reserved;
228 __be16 tag;258 __be16 size_of_select;269 __be16 tag;274 __be16 tag;
380 return be16_to_cpu((__force __be16)val); in __virtio16_to_cpu()
77 __be16 len;92 __be16 read_len;212 __be16 status;232 __be16 id;
52 return be16_to_cpu(__get_unaligned_t(__be16, p)); in get_unaligned_be16()67 __put_unaligned_t(__be16, cpu_to_be16(val), p); in put_unaligned_be16()
Completed in 29 milliseconds