Home
last modified time | relevance | path

Searched refs:__be32 (Results 1 – 25 of 38) sorted by relevance

12

/openbmc/u-boot/include/net/
H A Dncsi-pkt.h17 __be32 reserved1[2]; /* Reserved */
39 __be32 checksum; /* Checksum */
45 __be32 checksum; /* Checksum */
54 __be32 checksum; /* Checksum */
63 __be32 checksum; /* Checksum */
70 __be32 reserved; /* Reserved */
71 __be32 checksum; /* Checksum */
80 __be32 mode; /* AEN working mode */
81 __be32 checksum; /* Checksum */
88 __be32 mode; /* Link working mode */
[all …]
/openbmc/u-boot/drivers/mtd/ubi/
H A Dubi-media.h107 #define UBI_EC_HDR_SIZE_CRC (UBI_EC_HDR_SIZE - sizeof(__be32))
108 #define UBI_VID_HDR_SIZE_CRC (UBI_VID_HDR_SIZE - sizeof(__be32))
145 __be32 magic;
149 __be32 vid_hdr_offset;
150 __be32 data_offset;
151 __be32 image_seq;
153 __be32 hdr_crc;
266 __be32 magic;
271 __be32 vol_id;
272 __be32 lnum;
[all …]
/openbmc/u-boot/fs/ext4/
H A Dext4_journal.h52 __be32 h_magic;
53 __be32 h_blocktype;
54 __be32 h_sequence;
63 __be32 s_blocksize; /* journal device blocksize */
64 __be32 s_maxlen; /* total blocks in journal file */
65 __be32 s_first; /* first block of log information */
68 __be32 s_sequence; /* first commit ID expected in log */
69 __be32 s_start; /* blocknr of start of log */
72 __be32 s_errno;
75 __be32 s_feature_compat; /* compatible feature set */
[all …]
/openbmc/u-boot/drivers/tpm/
H A Dtpm_tis.h118 __be32 length;
119 __be32 ordinal;
124 __be32 length;
125 __be32 return_code;
129 __be32 a;
130 __be32 b;
131 __be32 c;
132 __be32 d;
136 __be32 tpm_short;
137 __be32 tpm_medium;
[all …]
/openbmc/u-boot/drivers/core/
H A Dof_addr.c25 static void of_dump_addr(const char *s, const __be32 *addr, int na) in of_dump_addr()
33 static void of_dump_addr(const char *s, const __be32 *addr, int na) { } in of_dump_addr()
43 u64 (*map)(__be32 *addr, const __be32 *range, int na, int ns, int pna);
44 int (*translate)(__be32 *addr, u64 offset, int na);
45 unsigned int (*get_flags)(const __be32 *addr);
57 static u64 of_bus_default_map(__be32 *addr, const __be32 *range, in of_bus_default_map()
75 static int of_bus_default_translate(__be32 *addr, u64 offset, int na) in of_bus_default_translate()
87 static unsigned int of_bus_default_get_flags(const __be32 *addr) in of_bus_default_get_flags()
124 const __be32 *of_get_address(const struct device_node *dev, int index, in of_get_address()
127 const __be32 *prop; in of_get_address()
[all …]
H A Dof_access.c68 const __be32 *ip; in of_n_addr_cells()
84 const __be32 *ip; in of_n_size_cells()
100 const __be32 *ip; in of_simple_addr_cells()
112 const __be32 *ip; in of_simple_size_cells()
451 const __be32 *val; in of_read_u32()
471 const __be32 *val; in of_read_u32_array()
577 const __be32 *list, *list_end; in __of_parse_phandle_with_args()
/openbmc/u-boot/drivers/video/
H A Dfsl_diu_fb.c160 __be32 desc[3];
161 __be32 gamma;
162 __be32 pallete;
163 __be32 cursor;
164 __be32 curs_pos;
165 __be32 diu_mode;
166 __be32 bgnd;
167 __be32 bgnd_wb;
168 __be32 disp_size;
169 __be32 wb_size;
[all …]
/openbmc/u-boot/include/linux/byteorder/
H A Dlittle_endian.h16 #define __constant_htonl(x) ((__force __be32)___constant_swab32((x)))
17 #define __constant_ntohl(x) ___constant_swab32((__force __be32)(x))
28 #define __constant_cpu_to_be32(x) ((__force __be32)___constant_swab32((x)))
29 #define __constant_be32_to_cpu(x) ___constant_swab32((__force __u32)(__be32)(x))
40 #define __cpu_to_be32(x) ((__force __be32)__swab32((x)))
41 #define __be32_to_cpu(x) __swab32((__force __u32)(__be32)(x))
77 static inline __be32 __cpu_to_be32p(const __u32 *p) in __cpu_to_be32p()
79 return (__force __be32)__swab32p(p); in __cpu_to_be32p()
81 static inline __u32 __be32_to_cpup(const __be32 *p) in __be32_to_cpup()
H A Dbig_endian.h16 #define __constant_htonl(x) ((__force __be32)(__u32)(x))
17 #define __constant_ntohl(x) ((__force __u32)(__be32)(x))
28 #define __constant_cpu_to_be32(x) ((__force __be32)(__u32)(x))
29 #define __constant_be32_to_cpu(x) ((__force __u32)(__be32)(x))
40 #define __cpu_to_be32(x) ((__force __be32)(__u32)(x))
41 #define __be32_to_cpu(x) ((__force __u32)(__be32)(x))
77 static inline __be32 __cpu_to_be32p(const __u32 *p) in __cpu_to_be32p()
79 return (__force __be32)*p; in __cpu_to_be32p()
81 static inline __u32 __be32_to_cpup(const __be32 *p) in __be32_to_cpup()
H A Dgeneric.h181 static inline void be32_add_cpu(__be32 *var, u32 val) in be32_add_cpu()
191 static inline void cpu_to_be32_array(__be32 *dst, const u32 *src, size_t len) in cpu_to_be32_array()
199 static inline void be32_to_cpu_array(u32 *dst, const __be32 *src, size_t len) in be32_to_cpu_array()
/openbmc/u-boot/include/linux/
H A Dethtool.h336 __be32 ip4src;
337 __be32 ip4dst;
353 __be32 ip4src;
354 __be32 ip4dst;
355 __be32 spi;
371 __be32 ip4src;
372 __be32 ip4dst;
373 __be32 l4_4_bytes;
H A Dlibfdt_env.h17 typedef __be32 fdt32_t;
H A Dtypes.h144 typedef __u32 __bitwise __be32; typedef
/openbmc/u-boot/include/dm/
H A Dof_addr.h27 u64 of_translate_address(const struct device_node *no, const __be32 *in_addr);
42 const __be32 *of_get_address(const struct device_node *no, int index,
H A Dof.h126 static inline u64 of_read_number(const __be32 *cell, int size) in of_read_number()
135 static inline unsigned long of_read_ulong(const __be32 *cell, int size) in of_read_ulong()
/openbmc/u-boot/arch/powerpc/cpu/mpc83xx/
H A Dcpu_init.c50 __be32 acr_mask = in cpu_init_f()
64 __be32 acr_val = in cpu_init_f()
78 __be32 spcr_mask = in cpu_init_f()
92 __be32 spcr_val = in cpu_init_f()
106 __be32 sccr_mask = in cpu_init_f()
144 __be32 sccr_val = in cpu_init_f()
182 __be32 lcrr_mask = in cpu_init_f()
193 __be32 lcrr_val = in cpu_init_f()
/openbmc/u-boot/include/
H A Dqfw.h72 __be32 size;
89 __be32 control;
90 __be32 length;
H A Dimage.h338 __be32 ih_magic; /* Image Header Magic Number */
339 __be32 ih_hcrc; /* Image Header CRC Checksum */
340 __be32 ih_time; /* Image Creation Timestamp */
341 __be32 ih_size; /* Image Data Size */
342 __be32 ih_load; /* Data Load Address */
343 __be32 ih_ep; /* Entry Point Address */
344 __be32 ih_dcrc; /* Image Data CRC Checksum */
H A Dtpm-v1.h270 __be32 attributes;
275 __be32 nv_index;
282 __be32 data_size;
/openbmc/u-boot/include/linux/unaligned/
H A Daccess_ok.h28 return be32_to_cpup((__be32 *)p); in get_unaligned_be32()
58 *((__be32 *)p) = cpu_to_be32(val); in put_unaligned_be32()
/openbmc/u-boot/drivers/misc/
H A Daspeed-fsi.c256 __be32 mresp0, mstap0, mesrb0; in check_errors()
321 __be32 reg, result; in aspeed_fsi_link_enable()
349 __be32 cmd; in aspeed_fsi_break()
366 __be32 mmode, mresp0, mstap0, mesrb0; in aspeed_fsi_status()
383 __be32 reg; in aspeed_fsi_divisor()
418 __be32 reg; in aspeed_fsi_init()
470 __be32 raw; in aspeed_fsi_probe()
/openbmc/u-boot/lib/
H A Dof_live.c46 const __be32 *p; in unflatten_dt_node()
165 pp->value = (__be32 *)p; in unflatten_dt_node()
299 *(__be32 *)(mem + size) = cpu_to_be32(0xdeadbeef); in unflatten_device_tree()
/openbmc/u-boot/drivers/mtd/ubispl/
H A Dubispl.c32 (ubi->peb_count * sizeof(__be32))) + in ubi_calc_fm_size()
247 static int scan_pool(struct ubi_scan_info *ubi, __be32 *pebs, int pool_size) in scan_pool()
414 fm_pos += (sizeof(__be32) * be32_to_cpu(fm_eba->reserved_pebs)); in ubi_attach_fastmap()
500 __be32 crc, tmp_crc; in ubi_scan_fastmap()
/openbmc/u-boot/drivers/net/phy/
H A Dncsi.c186 __be32 pchecksum; in ncsi_validate_rsp()
521 __be32 *pchecksum; in ncsi_send_command()
551 pchecksum = (__be32 *)((void *)(hdr + 1) + len); in ncsi_send_command()
573 __be32 pchecksum; in ncsi_handle_aen()
/openbmc/qemu/tools/ebpf/
H A Drss.bpf.c66 __be32 in_src;
67 __be32 in_dst;

12