Home
last modified time | relevance | path

Searched defs:len (Results 1 – 25 of 841) sorted by relevance

12345678910>>...34

/u-boot/arch/x86/lib/fsp/
A Dfsp_support.c102 u64 fsp_get_reserved_mem_from_guid(const void *hob_list, u64 *len, in fsp_get_reserved_mem_from_guid()
130 u32 fsp_get_fsp_reserved_mem(const void *hob_list, u32 *len) in fsp_get_fsp_reserved_mem()
144 u32 fsp_get_tseg_reserved_mem(const void *hob_list, u32 *len) in fsp_get_tseg_reserved_mem()
158 void *fsp_get_nvs_data(const void *hob_list, u32 *len) in fsp_get_nvs_data()
165 void *fsp_get_var_nvs_data(const void *hob_list, u32 *len) in fsp_get_var_nvs_data()
172 void *fsp_get_bootloader_tmp_mem(const void *hob_list, u32 *len) in fsp_get_bootloader_tmp_mem()
179 void *fsp_get_graphics_info(const void *hob_list, u32 *len) in fsp_get_graphics_info()
/u-boot/include/
A Dspi_flash.h103 size_t len, void *buf) in spi_flash_read()
109 size_t len, const void *buf) in spi_flash_write()
115 size_t len) in spi_flash_erase()
134 size_t len, void *buf) in spi_flash_read()
143 size_t len, const void *buf) in spi_flash_write()
152 size_t len) in spi_flash_erase()
170 static inline int spi_flash_protect(struct spi_flash *flash, u32 ofs, u32 len, in spi_flash_protect()
/u-boot/board/xilinx/common/
A Dfru_ops.c19 static u16 fru_cal_area_len(u8 len) in fru_cal_area_len()
39 u8 fru_checksum(u8 *addr, u8 len) in fru_checksum()
53 int len; in fru_check_type_len() local
68 int len = strlen(name); in fru_gen_type_len() local
89 u8 len, pad, modulo; in fru_generate() local
165 int len; in fru_parse_board() local
245 int len; in fru_display_board() local
/u-boot/net/
A Dnfs.c248 int len; in nfs_mount_req() local
274 int len; in nfs_umountall_req() local
299 int len; in nfs_readlink_req() local
325 int len; in nfs_lookup_req() local
368 int len; in nfs_read_req() local
466 static int nfs_mount_reply(uchar *pkt, unsigned len) in nfs_mount_reply()
492 static int nfs_umountall_reply(uchar *pkt, unsigned len) in nfs_umountall_reply()
516 static int nfs_lookup_reply(uchar *pkt, unsigned len) in nfs_lookup_reply()
617 static int nfs_readlink_reply(uchar *pkt, unsigned len) in nfs_readlink_reply()
667 static int nfs_read_reply(uchar *pkt, unsigned len) in nfs_read_reply()
[all …]
A Dwol.c22 static int wol_check_magic(struct wol_hdr *wol, unsigned int len) in wol_check_magic()
41 void wol_receive(struct ip_udp_hdr *ip, unsigned int len) in wol_receive()
65 unsigned int src, unsigned int len) in wol_udp_handler()
/u-boot/drivers/mtd/ubi/
A Dcrc32.c70 u32 crc32_le(u32 crc, unsigned char const *p, size_t len) in crc32_le()
82 u32 crc32_le(u32 crc, unsigned char const *p, size_t len) in crc32_le()
166 u32 __attribute_pure__ crc32_be(u32 crc, unsigned char const *p, size_t len) in crc32_be()
180 u32 __attribute_pure__ crc32_be(u32 crc, unsigned char const *p, size_t len) in crc32_be()
385 buf_dump(char const *prefix, unsigned char const *buf, size_t len) in buf_dump()
395 static void bytereverse(unsigned char *buf, size_t len) in bytereverse()
403 static void random_garbage(unsigned char *buf, size_t len) in random_garbage()
433 static u32 test_step(u32 init, unsigned char *buf, size_t len) in test_step()
/u-boot/test/lib/
A Dstring.c53 int offset, int len) in test_memset()
78 int offset, len; in lib_memset() local
110 int offset1, int offset2, int len) in test_memmove()
136 int offset1, offset2, len; in lib_memcpy() local
173 int offset1, offset2, len; in lib_memmove() local
/u-boot/drivers/usb/musb-new/
A Dmusb_io.h27 static inline void readsl(const void __iomem *addr, void *buf, int len) in readsl()
29 static inline void readsw(const void __iomem *addr, void *buf, int len) in readsw()
31 static inline void readsb(const void __iomem *addr, void *buf, int len) in readsb()
34 static inline void writesl(const void __iomem *addr, const void *buf, int len) in writesl()
36 static inline void writesw(const void __iomem *addr, const void *buf, int len) in writesw()
38 static inline void writesb(const void __iomem *addr, const void *buf, int len) in writesb()
/u-boot/board/keymile/common/
A Divm.c15 static int ivm_calc_crc(unsigned char *buf, int len) in ivm_calc_crc()
57 static int ivm_get_value(unsigned char *buf, int len, char *name, int off, in ivm_get_value()
167 #define GET_STRING(name, which, len) \ argument
219 static int ivm_analyze_block2(unsigned char *buf, int len) in ivm_analyze_block2()
239 int ivm_analyze_eeprom(unsigned char *buf, int len) in ivm_analyze_eeprom()
265 int len = strlen((char *)tmp); in ivm_analyze_eeprom() local
299 static int ivm_populate_env(unsigned char *buf, int len, int mac_address_offset) in ivm_populate_env()
333 int ivm_read_eeprom(unsigned char *buf, int len, int mac_address_offset) in ivm_read_eeprom()
/u-boot/drivers/mtd/
A Dmtdpart.c52 size_t len; in kstrdup() local
292 static int part_read(struct mtd_info *mtd, loff_t from, size_t len, in part_read()
311 static int part_point(struct mtd_info *mtd, loff_t from, size_t len, in part_point()
325 unsigned long len, in part_get_unmapped_area()
348 size_t len, pages; in part_read_oob() local
371 size_t len, size_t *retlen, u_char *buf) in part_read_user_prot_reg()
377 static int part_get_user_prot_info(struct mtd_info *mtd, size_t len, in part_get_user_prot_info()
385 size_t len, size_t *retlen, u_char *buf) in part_read_fact_prot_reg()
398 static int part_write(struct mtd_info *mtd, loff_t to, size_t len, in part_write()
423 size_t len, size_t *retlen, u_char *buf) in part_write_user_prot_reg()
[all …]
/u-boot/board/Marvell/octeontx2/
A Dboard-fdt.c50 int node, len = 16; in fdt_get_board_mac_addr() local
66 int node, len = 16; in fdt_get_board_mac_cnt() local
98 int node, len = 64; in fdt_get_board_serial() local
114 int node, len = 64; in fdt_get_board_revision() local
129 int node, len = 16; in fdt_get_board_model() local
/u-boot/lib/
A Dhexdump.c52 int hex_dump_to_buffer(const void *buf, size_t len, int rowsize, int groupsize, in hex_dump_to_buffer()
183 int groupsize, const void *buf, size_t len, bool ascii) in print_hex_dump()
226 const void *buf, size_t len) in print_hex_dump_bytes()
237 size_t len, bool ascii) in print_hex_dump()
242 const void *buf, size_t len) in print_hex_dump_bytes()
A Dsmbios.c163 uint old_len, len; in smbios_update_version() local
206 int len = sizeof(struct smbios_type0); in smbios_write_type0() local
257 int len = sizeof(struct smbios_type1); in smbios_write_type1() local
288 int len = sizeof(struct smbios_type2); in smbios_write_type2() local
313 int len = sizeof(struct smbios_type3); in smbios_write_type3() local
370 int len = sizeof(struct smbios_type4); in smbios_write_type4() local
396 int len = sizeof(struct smbios_type32); in smbios_write_type32() local
413 int len = sizeof(struct smbios_type127); in smbios_write_type127() local
442 int len = 0; in write_smbios_table() local
/u-boot/scripts/dtc/libfdt/
A Dfdt_wip.c16 int len) in fdt_setprop_inplace_namelen_partial()
34 const void *val, int len) in fdt_setprop_inplace()
51 static void fdt_nop_region_(void *start, int len) in fdt_nop_region_()
62 int len; in fdt_nop_property() local
/u-boot/scripts/dtc/
A Dutil.c41 int len = strlen(s) + 1; in xstrdup() local
83 int len; in join_path() local
103 bool util_is_printable_string(const void *data, int len) in util_is_printable_string()
230 int utilfdt_read_err_len(const char *filename, char **buffp, off_t *len) in utilfdt_read_err_len()
273 off_t len; in utilfdt_read_err() local
277 char *utilfdt_read_len(const char *filename, off_t *len) in utilfdt_read_len()
293 off_t len; in utilfdt_read() local
378 void utilfdt_print_data(const char *data, int len) in utilfdt_print_data()
A Ddata.c59 struct data data_copy_mem(const char *mem, int len) in data_copy_mem()
71 struct data data_copy_escape_string(const char *s, int len) in data_copy_escape_string()
120 struct data data_append_data(struct data d, const void *p, int len) in data_append_data()
129 const void *p, int len) in data_insert_at_marker()
225 struct data data_append_zeroes(struct data d, int len) in data_append_zeroes()
256 int len = d.len; in data_is_one_string() local
/u-boot/api/
A Dapi_net.c73 int dev_write_net(void *cookie, void *buf, int len) in dev_write_net()
80 int dev_read_net(void *cookie, void *buf, int len) in dev_read_net()
104 int dev_write_net(void *cookie, void *buf, int len) in dev_write_net()
109 int dev_read_net(void *cookie, void *buf, int len) in dev_read_net()
/u-boot/drivers/dfu/
A Ddfu_nand.c23 u64 offset, void *buf, long *len) in nand_block_op()
94 u64 offset, void *buf, long *len) in nand_block_write()
100 u64 offset, void *buf, long *len) in nand_block_read()
106 u64 offset, void *buf, long *len) in dfu_write_medium_nand()
130 long *len) in dfu_read_medium_nand()
A Ddfu_ram.c18 u64 offset, void *buf, long *len) in dfu_transfer_medium_ram()
39 void *buf, long *len) in dfu_write_medium_ram()
52 void *buf, long *len) in dfu_read_medium_ram()
A Ddfu_mmc.c26 u64 offset, void *buf, long *len) in mmc_block_op()
98 u64 offset, void *buf, u64 *len) in mmc_file_op()
160 static int mmc_file_buf_write(struct dfu_entity *dfu, u64 offset, void *buf, long *len) in mmc_file_buf_write()
198 u64 offset, void *buf, long *len) in dfu_write_medium_mmc()
274 long *len) in mmc_file_buf_read()
299 long *len) in dfu_read_medium_mmc()
/u-boot/cmd/
A Dblob.c22 __weak int blob_decap(u8 *key_mod, u8 *src, u8 *dst, u32 len) in blob_decap()
36 __weak int blob_encap(u8 *key_mod, u8 *src, u8 *dst, u32 len) in blob_encap()
54 ulong key_addr, src_addr, dst_addr, len; in do_blob() local
A Dsf.c45 static int sf_parse_len_arg(char *arg, ulong *len) in sf_parse_len_arg()
77 static ulong bytes_per_second(unsigned int len, ulong start_ms) in bytes_per_second()
172 size_t len, const char *buf, char *cmp_buf, size_t *skipped) in spi_flash_update_block()
214 size_t len, const char *buf) in spi_flash_update()
270 loff_t offset, len, maxsize; in do_spi_flash_read_write() local
325 loff_t offset, len, maxsize; in do_spi_flash_erase() local
359 loff_t start, len; in do_spi_protect() local
444 static int spi_flash_test(struct spi_flash *flash, uint8_t *buf, ulong len, in spi_flash_test()
512 unsigned long len; in do_spi_flash_test() local
A Dbinop.c17 void write_to_env_var(char *varname, u8 *result, ulong len) in write_to_env_var()
47 void read_from_mem(ulong addr, u8 *result, ulong len) in read_from_mem()
56 void write_to_mem(char *varname, u8 *result, ulong len) in write_to_mem()
70 ulong len; in do_binop() local
A Dfdt.c52 static int fdt_value_env_set(const void *nodep, int len, const char *var) in fdt_value_env_set()
162 int len; in do_fdt() local
200 int len; in do_fdt() local
295 int len; /* new length of the property */ in do_fdt() local
350 int len = 0; /* new length of the property */ in do_fdt() local
797 static int fdt_parse_prop(char * const *newval, int count, char *data, int *len) in fdt_parse_prop()
890 static int is_printable_string(const void *data, int len) in is_printable_string()
933 static void print_data(const void *data, int len) in print_data()
1005 int len; /* length of the property */ in fdt_print() local
/u-boot/drivers/crypto/fsl/
A Dfsl_blob.c31 int blob_decap(u8 *key_mod, u8 *src, u8 *dst, u32 len) in blob_decap()
96 int blob_encap(u8 *key_mod, u8 *src, u8 *dst, u32 len) in blob_encap()
150 int blob_dek(const u8 *src, u8 *dst, u8 len) in blob_dek()

Completed in 272 milliseconds

12345678910>>...34