Searched refs:__be16 (Results 1 – 15 of 15) sorted by relevance
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 */
23 return be16_to_cpup((__be16 *)p); in get_unaligned_be16()53 *((__be16 *)p) = cpu_to_be16(val); in put_unaligned_be16()
49 __be16 tag;55 __be16 tag;
364 __be16 name_len;458 __be16 size;459 __be16 max_size;
73 __be16 select;74 __be16 reserved;
228 __be16 tag;258 __be16 size_of_select;269 __be16 tag;274 __be16 tag;
377 return be16_to_cpu((__force __be16)val); in __virtio16_to_cpu()
17 typedef __be16 fdt16_t;
142 typedef __u16 __bitwise __be16; typedef
338 __be16 psrc;339 __be16 pdst;
478 __be16 proto; in tftp_handler()479 __be16 *s; in tftp_handler()494 s = (__be16 *)pkt; in tftp_handler()612 if (ntohs(*(__be16 *)pkt) != (ushort)(tftp_cur_block + 1)) { in tftp_handler()614 ntohs(*(__be16 *)pkt), in tftp_handler()690 pkt + 2, ntohs(*(__be16 *)pkt)); in tftp_handler()692 switch (ntohs(*(__be16 *)pkt)) { in tftp_handler()
388 __be16 reserved_osf;389 __be16 length;452 __be16 sense_data_len;
Completed in 28 milliseconds