| /rk3399_rockchip-uboot/lib/ |
| H A D | smbios.c | 65 int i, len = 0; in smbios_string_table_len() local 79 int len = sizeof(struct smbios_type0); in smbios_write_type0() local 114 int len = sizeof(struct smbios_type1); in smbios_write_type1() local 135 int len = sizeof(struct smbios_type2); in smbios_write_type2() local 153 int len = sizeof(struct smbios_type3); in smbios_write_type3() local 205 int len = sizeof(struct smbios_type4); in smbios_write_type4() local 227 int len = sizeof(struct smbios_type32); in smbios_write_type32() local 240 int len = sizeof(struct smbios_type127); in smbios_write_type127() local 264 int len = 0; in write_smbios_table() local
|
| H A D | hexdump.c | 52 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()
|
| /rk3399_rockchip-uboot/include/ |
| H A D | spi_flash.h | 117 size_t len, void *buf) in spi_flash_read() 123 size_t len, const void *buf) in spi_flash_write() 129 size_t len) in spi_flash_erase() 148 size_t len, void *buf) in spi_flash_read() 157 size_t len, const void *buf) in spi_flash_write() 166 size_t len) in spi_flash_erase() 184 static inline int spi_flash_protect(struct spi_flash *flash, u32 ofs, u32 len, in spi_flash_protect()
|
| /rk3399_rockchip-uboot/net/ |
| H A D | nfs.c | 81 static inline int store_block(uchar *src, unsigned offset, unsigned len) in store_block() 243 int len; in nfs_mount_req() local 269 int len; in nfs_umountall_req() local 294 int len; in nfs_readlink_req() local 320 int len; in nfs_lookup_req() local 363 int len; in nfs_read_req() local 431 static int rpc_lookup_reply(int prog, uchar *pkt, unsigned len) in rpc_lookup_reply() 461 static int nfs_mount_reply(uchar *pkt, unsigned len) in nfs_mount_reply() 487 static int nfs_umountall_reply(uchar *pkt, unsigned len) in nfs_umountall_reply() 511 static int nfs_lookup_reply(uchar *pkt, unsigned len) in nfs_lookup_reply() [all …]
|
| /rk3399_rockchip-uboot/arch/nds32/include/asm/ |
| H A D | dma-mapping.h | 12 static void *dma_alloc_coherent(size_t len, unsigned long *handle) in dma_alloc_coherent() 18 static inline unsigned long dma_map_single(volatile void *vaddr, size_t len, in dma_map_single() 24 static inline void dma_unmap_single(volatile void *vaddr, size_t len, in dma_unmap_single()
|
| /rk3399_rockchip-uboot/drivers/mtd/ubi/ |
| H A D | crc32.c | 69 u32 crc32_le(u32 crc, unsigned char const *p, size_t len) in crc32_le() 81 u32 crc32_le(u32 crc, unsigned char const *p, size_t len) in crc32_le() 165 u32 __attribute_pure__ crc32_be(u32 crc, unsigned char const *p, size_t len) in crc32_be() 179 u32 __attribute_pure__ crc32_be(u32 crc, unsigned char const *p, size_t len) in crc32_be() 384 buf_dump(char const *prefix, unsigned char const *buf, size_t len) in buf_dump() 394 static void bytereverse(unsigned char *buf, size_t len) in bytereverse() 402 static void random_garbage(unsigned char *buf, size_t len) in random_garbage() 432 static u32 test_step(u32 init, unsigned char *buf, size_t len) in test_step()
|
| /rk3399_rockchip-uboot/drivers/usb/musb-new/ |
| H A D | musb_io.h | 28 static inline void readsl(const void __iomem *addr, void *buf, int len) in readsl() 30 static inline void readsw(const void __iomem *addr, void *buf, int len) in readsw() 32 static inline void readsb(const void __iomem *addr, void *buf, int len) in readsb() 35 static inline void writesl(const void __iomem *addr, const void *buf, int len) in writesl() 37 static inline void writesw(const void __iomem *addr, const void *buf, int len) in writesw() 39 static inline void writesb(const void __iomem *addr, const void *buf, int len) in writesb()
|
| /rk3399_rockchip-uboot/board/keymile/common/ |
| H A D | ivm.c | 15 static int ivm_calc_crc(unsigned char *buf, int len) in ivm_calc_crc() 58 static int ivm_get_value(unsigned char *buf, int len, char *name, int off, in ivm_get_value() 168 #define GET_STRING(name, which, len) \ argument 220 static int ivm_analyze_block2(unsigned char *buf, int len) in ivm_analyze_block2() 240 int ivm_analyze_eeprom(unsigned char *buf, int len) in ivm_analyze_eeprom() 266 int len = strlen((char *)tmp); in ivm_analyze_eeprom() local 300 static int ivm_populate_env(unsigned char *buf, int len) in ivm_populate_env() 333 int ivm_read_eeprom(unsigned char *buf, int len) in ivm_read_eeprom()
|
| /rk3399_rockchip-uboot/drivers/mtd/ |
| H A D | mtdpart.c | 50 size_t len; in kstrdup() local 290 static int part_read(struct mtd_info *mtd, loff_t from, size_t len, in part_read() 309 static int part_point(struct mtd_info *mtd, loff_t from, size_t len, in part_point() 316 static int part_unpoint(struct mtd_info *mtd, loff_t from, size_t len) in part_unpoint() 323 unsigned long len, in part_get_unmapped_area() 346 size_t len, pages; in part_read_oob() local 369 size_t len, size_t *retlen, u_char *buf) in part_read_user_prot_reg() 375 static int part_get_user_prot_info(struct mtd_info *mtd, size_t len, in part_get_user_prot_info() 383 size_t len, size_t *retlen, u_char *buf) in part_read_fact_prot_reg() 389 static int part_get_fact_prot_info(struct mtd_info *mtd, size_t len, in part_get_fact_prot_info() [all …]
|
| /rk3399_rockchip-uboot/arch/x86/include/asm/ |
| H A D | dma-mapping.h | 15 static inline void *dma_alloc_coherent(size_t len, unsigned long *handle) in dma_alloc_coherent() 26 static inline unsigned long dma_map_single(volatile void *vaddr, size_t len, in dma_map_single() 32 static inline void dma_unmap_single(volatile void *vaddr, size_t len, in dma_unmap_single()
|
| /rk3399_rockchip-uboot/arch/arm/include/asm/ |
| H A D | dma-mapping.h | 15 static inline void *dma_alloc_coherent(size_t len, unsigned long *handle) in dma_alloc_coherent() 26 static inline unsigned long dma_map_single(volatile void *vaddr, size_t len, in dma_map_single() 32 static inline void dma_unmap_single(volatile void *vaddr, size_t len, in dma_unmap_single()
|
| /rk3399_rockchip-uboot/scripts/dtc/ |
| H A D | util.c | 41 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()
|
| H A D | data.c | 59 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
|
| /rk3399_rockchip-uboot/scripts/dtc/libfdt/ |
| H A D | fdt_wip.c | 61 int len) in fdt_setprop_inplace_namelen_partial() 79 const void *val, int len) in fdt_setprop_inplace() 96 static void _fdt_nop_region(void *start, int len) in _fdt_nop_region() 107 int len; in fdt_nop_property() local
|
| /rk3399_rockchip-uboot/drivers/dfu/ |
| H A D | dfu_mmc.c | 24 u64 offset, void *buf, long *len) in mmc_block_op() 95 static int mmc_file_buffer(struct dfu_entity *dfu, void *buf, long *len) in mmc_file_buffer() 110 void *buf, u64 *len) in mmc_file_op() 176 u64 offset, void *buf, long *len) in dfu_write_medium_mmc() 237 long *len) in mmc_file_unbuffer() 258 long *len) in dfu_read_medium_mmc()
|
| H A D | dfu_nand.c | 23 u64 offset, void *buf, long *len) in nand_block_op() 89 u64 offset, void *buf, long *len) in nand_block_write() 95 u64 offset, void *buf, long *len) in nand_block_read() 101 u64 offset, void *buf, long *len) in dfu_write_medium_nand() 125 long *len) in dfu_read_medium_nand()
|
| H A D | dfu_ram.c | 18 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()
|
| /rk3399_rockchip-uboot/cmd/ |
| H A D | fdt.c | 52 static int fdt_value_env_set(const void *nodep, int len, const char *var) in fdt_value_env_set() 128 int len; in do_fdt() local 164 int len; in do_fdt() local 259 int len; /* new length of the property */ in do_fdt() local 314 int len = 0; /* new length of the property */ in do_fdt() local 755 static int fdt_parse_prop(char * const *newval, int count, char *data, int *len) in fdt_parse_prop() 848 static int is_printable_string(const void *data, int len) in is_printable_string() 891 static void print_data(const void *data, int len) in print_data() 957 int len; /* length of the property */ in fdt_print() local
|
| H A D | sf.c | 40 static int sf_parse_len_arg(char *arg, ulong *len) in sf_parse_len_arg() 72 static ulong bytes_per_second(unsigned int len, ulong start_ms) in bytes_per_second() 170 size_t len, const char *buf, char *cmp_buf, size_t *skipped) in spi_flash_update_block() 212 size_t len, const char *buf) in spi_flash_update() 268 loff_t offset, len, maxsize; in do_spi_flash_read_write() local 323 loff_t offset, len, maxsize; in do_spi_flash_erase() local 354 loff_t start, len; in do_spi_protect() local 439 static int spi_flash_test(struct spi_flash *flash, uint8_t *buf, ulong len, in spi_flash_test() 506 unsigned long len; in do_spi_flash_test() local
|
| H A D | blob.c | 26 __weak int blob_decap(u8 *key_mod, u8 *src, u8 *dst, u32 len) in blob_decap() 40 __weak int blob_encap(u8 *key_mod, u8 *src, u8 *dst, u32 len) in blob_encap() 57 ulong key_addr, src_addr, dst_addr, len; in do_blob() local
|
| /rk3399_rockchip-uboot/api/ |
| H A D | api_net.c | 76 int dev_write_net(void *cookie, void *buf, int len) in dev_write_net() 83 int dev_read_net(void *cookie, void *buf, int len) in dev_read_net() 107 int dev_write_net(void *cookie, void *buf, int len) in dev_write_net() 112 int dev_read_net(void *cookie, void *buf, int len) in dev_read_net()
|
| /rk3399_rockchip-uboot/include/linux/mtd/ |
| H A D | spinand.h | 42 #define SPINAND_READID_OP(naddr, ndummy, buf, len) \ argument 72 #define SPINAND_PAGE_READ_FROM_CACHE_OP(fast, addr, ndummy, buf, len) \ argument 78 #define SPINAND_PAGE_READ_FROM_CACHE_OP_3A(fast, addr, ndummy, buf, len) \ argument 84 #define SPINAND_PAGE_READ_FROM_CACHE_X2_OP(addr, ndummy, buf, len) \ argument 90 #define SPINAND_PAGE_READ_FROM_CACHE_X2_OP_3A(addr, ndummy, buf, len) \ argument 96 #define SPINAND_PAGE_READ_FROM_CACHE_X4_OP(addr, ndummy, buf, len) \ argument 102 #define SPINAND_PAGE_READ_FROM_CACHE_X4_OP_3A(addr, ndummy, buf, len) \ argument 108 #define SPINAND_PAGE_READ_FROM_CACHE_DUALIO_OP(addr, ndummy, buf, len) \ argument 114 #define SPINAND_PAGE_READ_FROM_CACHE_DUALIO_OP_3A(addr, ndummy, buf, len) \ argument 120 #define SPINAND_PAGE_READ_FROM_CACHE_QUADIO_OP(addr, ndummy, buf, len) \ argument [all …]
|
| /rk3399_rockchip-uboot/drivers/crypto/fsl/ |
| H A D | fsl_blob.c | 16 int blob_decap(u8 *key_mod, u8 *src, u8 *dst, u32 len) in blob_decap() 44 int blob_encap(u8 *key_mod, u8 *src, u8 *dst, u32 len) in blob_encap() 73 int blob_dek(const u8 *src, u8 *dst, u8 len) in blob_dek()
|
| /rk3399_rockchip-uboot/include/zfs/ |
| H A D | spa.h | 18 #define BF32_DECODE(x, low, len) P2PHASE((x) >> (low), 1U << (len)) argument 19 #define BF64_DECODE(x, low, len) P2PHASE((x) >> (low), 1ULL << (len)) argument 20 #define BF32_ENCODE(x, low, len) (P2PHASE((x), 1U << (len)) << (low)) argument 21 #define BF64_ENCODE(x, low, len) (P2PHASE((x), 1ULL << (len)) << (low)) argument 23 #define BF32_GET(x, low, len) BF32_DECODE(x, low, len) argument 24 #define BF64_GET(x, low, len) BF64_DECODE(x, low, len) argument 26 #define BF32_SET(x, low, len, val) \ argument 28 #define BF64_SET(x, low, len, val) \ argument 31 #define BF32_GET_SB(x, low, len, shift, bias) \ argument 33 #define BF64_GET_SB(x, low, len, shift, bias) \ argument [all …]
|
| /rk3399_rockchip-uboot/arch/x86/lib/fsp/ |
| H A D | fsp_support.c | 308 u64 fsp_get_reserved_mem_from_guid(const void *hob_list, u64 *len, in fsp_get_reserved_mem_from_guid() 336 u32 fsp_get_fsp_reserved_mem(const void *hob_list, u32 *len) in fsp_get_fsp_reserved_mem() 350 u32 fsp_get_tseg_reserved_mem(const void *hob_list, u32 *len) in fsp_get_tseg_reserved_mem() 399 void *fsp_get_guid_hob_data(const void *hob_list, u32 *len, in fsp_get_guid_hob_data() 415 void *fsp_get_nvs_data(const void *hob_list, u32 *len) in fsp_get_nvs_data() 422 void *fsp_get_bootloader_tmp_mem(const void *hob_list, u32 *len) in fsp_get_bootloader_tmp_mem()
|