Home
last modified time | relevance | path

Searched refs:__be16 (Results 1 – 15 of 15) sorted by relevance

/u-boot/include/linux/byteorder/
A Dbig_endian.h18 #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()
A Dlittle_endian.h18 #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()
A Dgeneric.h176 static inline void be16_add_cpu(__be16 *var, u16 val) in be16_add_cpu()
/u-boot/include/net/
A Dncsi-pkt.h16 __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 */
/u-boot/include/linux/unaligned/
A Daccess_ok.h23 return be16_to_cpup((__be16 *)p); in get_unaligned_be16()
53 *((__be16 *)p) = cpu_to_be16(val); in put_unaligned_be16()
/u-boot/drivers/tpm/
A Dtpm_tis.h49 __be16 tag;
55 __be16 tag;
/u-boot/drivers/mtd/ubi/
A Dubi-media.h364 __be16 name_len;
458 __be16 size;
459 __be16 max_size;
/u-boot/include/
A Dqfw.h73 __be16 select;
74 __be16 reserved;
A Dtpm-v1.h228 __be16 tag;
258 __be16 size_of_select;
269 __be16 tag;
274 __be16 tag;
A Dvirtio.h377 return be16_to_cpu((__force __be16)val); in __virtio16_to_cpu()
/u-boot/include/linux/
A Dlibfdt_env.h17 typedef __be16 fdt16_t;
A Dtypes.h142 typedef __u16 __bitwise __be16; typedef
A Dethtool.h338 __be16 psrc;
339 __be16 pdst;
/u-boot/net/
A Dtftp.c478 __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()
/u-boot/drivers/ufs/
A Dufs.h388 __be16 reserved_osf;
389 __be16 length;
452 __be16 sense_data_len;

Completed in 28 milliseconds