Home
last modified time | relevance | path

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

12

/rk3399_rockchip-uboot/drivers/mtd/ubi/
H A Dubi-media.h108 #define UBI_EC_HDR_SIZE_CRC (UBI_EC_HDR_SIZE - sizeof(__be32))
109 #define UBI_VID_HDR_SIZE_CRC (UBI_VID_HDR_SIZE - sizeof(__be32))
146 __be32 magic;
150 __be32 vid_hdr_offset;
151 __be32 data_offset;
152 __be32 image_seq;
154 __be32 hdr_crc;
267 __be32 magic;
272 __be32 vol_id;
273 __be32 lnum;
[all …]
H A Dfastmap.c99 (ubi->peb_count * sizeof(__be32))) + in ubi_calc_fm_size()
456 __be32 *pebs, int pool_size, unsigned long long *max_sqnum, in scan_pool()
460 __be32 *pebs, int pool_size, unsigned long long *max_sqnum, in scan_pool()
773 fm_pos += (sizeof(__be32) * be32_to_cpu(fm_eba->reserved_pebs)); in ubi_attach_fastmap()
887 __be32 crc, tmp_crc; in ubi_scan_fastmap()
1282 fm_pos += sizeof(*feba) + (sizeof(__be32) * vol->reserved_pebs); in ubi_write_fastmap()
/rk3399_rockchip-uboot/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 …]
H A Dext4_journal.c222 blocknr = be32_to_cpu(*((__be32 *)(revk_blk + offset))); in print_revoke_blks()
309 blocknr = be32_to_cpu(*((__be32 *) in check_blknr_for_revoke()
/rk3399_rockchip-uboot/drivers/tpm/
H A Dtpm_tis.h50 __be32 length;
51 __be32 ordinal;
56 __be32 length;
57 __be32 return_code;
61 __be32 a;
62 __be32 b;
63 __be32 c;
64 __be32 d;
68 __be32 tpm_short;
69 __be32 tpm_medium;
[all …]
/rk3399_rockchip-uboot/drivers/core/
H A Dof_addr.c26 static void of_dump_addr(const char *s, const __be32 *addr, int na) in of_dump_addr()
34 static void of_dump_addr(const char *s, const __be32 *addr, int na) { } in of_dump_addr()
44 u64 (*map)(__be32 *addr, const __be32 *range, int na, int ns, int pna);
45 int (*translate)(__be32 *addr, u64 offset, int na);
46 unsigned int (*get_flags)(const __be32 *addr);
58 static u64 of_bus_default_map(__be32 *addr, const __be32 *range, in of_bus_default_map()
76 static int of_bus_default_translate(__be32 *addr, u64 offset, int na) in of_bus_default_translate()
88 static unsigned int of_bus_default_get_flags(const __be32 *addr) in of_bus_default_get_flags()
125 const __be32 *of_get_address(const struct device_node *dev, int index, in of_get_address()
128 const __be32 *prop; in of_get_address()
[all …]
H A Dof_access.c69 const __be32 *ip; in of_n_addr_cells()
85 const __be32 *ip; in of_n_size_cells()
101 const __be32 *ip; in of_simple_addr_cells()
113 const __be32 *ip; in of_simple_size_cells()
467 const __be32 *val; in of_read_u32()
500 const __be32 *val = of_find_property_value_of_size(np, propname, in of_property_read_u64()
514 const __be32 *val; in of_read_u32_array()
533 __be32 *val; in of_write_u32_array()
619 const __be32 *list, *list_end; in __of_parse_phandle_with_args()
H A Dofnode.c259 const __be32 *prop_val; in ofnode_get_addr_index()
579 const __be32 *prop = of_get_property(np, property, &psize); in ofnode_get_addr_size()
600 const __be32 *prop = of_get_property(np, propname, &psize); in ofnode_read_u8_array_ptr()
/rk3399_rockchip-uboot/drivers/video/
H A Dfsl_diu_fb.c161 __be32 desc[3];
162 __be32 gamma;
163 __be32 pallete;
164 __be32 cursor;
165 __be32 curs_pos;
166 __be32 diu_mode;
167 __be32 bgnd;
168 __be32 bgnd_wb;
169 __be32 disp_size;
170 __be32 wb_size;
[all …]
/rk3399_rockchip-uboot/include/linux/byteorder/
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 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()
/rk3399_rockchip-uboot/drivers/ufs/
H A Dufs.h411 __be32 dword_0;
412 __be32 dword_1;
413 __be32 dword_2;
435 __be32 value;
436 __be32 reserved[2];
445 __be32 exp_data_transfer_len;
458 __be32 input_param1;
459 __be32 input_param2;
460 __be32 input_param3;
461 __be32 __reserved1[2];
[all …]
/rk3399_rockchip-uboot/include/dm/
H A Dof_addr.h28 u64 of_translate_address(const struct device_node *no, const __be32 *in_addr);
43 const __be32 *of_get_address(const struct device_node *no, int index,
H A Dof.h127 static inline u64 of_read_number(const __be32 *cell, int size) in of_read_number()
136 static inline unsigned long of_read_ulong(const __be32 *cell, int size) in of_read_ulong()
/rk3399_rockchip-uboot/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.h151 typedef __u32 __bitwise __be32; typedef
/rk3399_rockchip-uboot/arch/powerpc/cpu/mpc83xx/
H A Dcpu_init.c51 __be32 acr_mask = in cpu_init_f()
65 __be32 acr_val = in cpu_init_f()
79 __be32 spcr_mask = in cpu_init_f()
93 __be32 spcr_val = in cpu_init_f()
107 __be32 sccr_mask = in cpu_init_f()
145 __be32 sccr_val = in cpu_init_f()
183 __be32 lcrr_mask = in cpu_init_f()
194 __be32 lcrr_val = in cpu_init_f()
/rk3399_rockchip-uboot/include/
H A Dqfw.h73 __be32 size;
90 __be32 control;
91 __be32 length;
H A Dimage.h312 __be32 ih_magic; /* Image Header Magic Number */
313 __be32 ih_hcrc; /* Image Header CRC Checksum */
314 __be32 ih_time; /* Image Creation Timestamp */
315 __be32 ih_size; /* Image Data Size */
316 __be32 ih_load; /* Data Load Address */
317 __be32 ih_ep; /* Entry Point Address */
318 __be32 ih_dcrc; /* Image Data CRC Checksum */
H A Dfdt_support.h246 const __be32 *in_addr);
H A Dnet.h47 __be32 s_addr;
/rk3399_rockchip-uboot/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()
/rk3399_rockchip-uboot/lib/
H A Dof_live.c49 const __be32 *p; in unflatten_dt_node()
168 pp->value = (__be32 *)p; in unflatten_dt_node()
302 *(__be32 *)(mem + size) = cpu_to_be32(0xdeadbeef); in unflatten_device_tree()
/rk3399_rockchip-uboot/drivers/mtd/ubispl/
H A Dubispl.c33 (ubi->peb_count * sizeof(__be32))) + in ubi_calc_fm_size()
248 static int scan_pool(struct ubi_scan_info *ubi, __be32 *pebs, int pool_size) in scan_pool()
415 fm_pos += (sizeof(__be32) * be32_to_cpu(fm_eba->reserved_pebs)); in ubi_attach_fastmap()
501 __be32 crc, tmp_crc; in ubi_scan_fastmap()

12