| /rk3399_rockchip-uboot/include/ |
| H A D | memalign.h | 72 #define ALLOC_ALIGN_BUFFER_PAD(type, name, size, align, pad) \ argument 77 #define ALLOC_ALIGN_BUFFER(type, name, size, align) \ argument 79 #define ALLOC_CACHE_ALIGN_BUFFER_PAD(type, name, size, pad) \ argument 81 #define ALLOC_CACHE_ALIGN_BUFFER(type, name, size) \ argument 89 #define DEFINE_ALIGN_BUFFER(type, name, size, align) \ argument 94 #define DEFINE_CACHE_ALIGN_BUFFER(type, name, size) \ argument 110 static inline void *malloc_cache_aligned(size_t size) in malloc_cache_aligned()
|
| H A D | sysmem.h | 153 static inline void *sysmem_alloc(enum memblk_id id, phys_size_t size) in sysmem_alloc() 158 static inline ulong sysmem_alloc_temporary_mem(phys_size_t size) in sysmem_alloc_temporary_mem() 164 phys_addr_t base, phys_size_t size) in sysmem_alloc_base() 170 phys_size_t size) in sysmem_alloc_base_by_name() 176 phys_size_t size) in sysmem_fdt_reserve_alloc_base()
|
| /rk3399_rockchip-uboot/post/drivers/ |
| H A D | memory.c | 239 static int memory_post_addrline(ulong *testaddr, ulong *base, ulong size) in memory_post_addrline() 272 unsigned long size, in memory_post_test1() 303 static int memory_post_test2(unsigned long start, unsigned long size) in memory_post_test2() 333 static int memory_post_test3(unsigned long start, unsigned long size) in memory_post_test3() 363 static int memory_post_test4(unsigned long start, unsigned long size) in memory_post_test4() 393 static int memory_post_test_lines(unsigned long start, unsigned long size) in memory_post_test_lines() 411 static int memory_post_test_patterns(unsigned long start, unsigned long size) in memory_post_test_patterns() 439 static int memory_post_test_regions(unsigned long start, unsigned long size) in memory_post_test_regions() 456 static int memory_post_tests(unsigned long start, unsigned long size) in memory_post_tests() 471 int arch_memory_test_prepare(u32 *vstart, u32 *size, phys_addr_t *phys_offset) in arch_memory_test_prepare() [all …]
|
| /rk3399_rockchip-uboot/lib/ |
| H A D | lmb.c | 109 static long lmb_add_region(struct lmb_region *rgn, phys_addr_t base, phys_size_t size) in lmb_add_region() 176 long lmb_add(struct lmb *lmb, phys_addr_t base, phys_size_t size) in lmb_add() 183 long lmb_free(struct lmb *lmb, phys_addr_t base, phys_size_t size) in lmb_free() 232 long lmb_reserve(struct lmb *lmb, phys_addr_t base, phys_size_t size) in lmb_reserve() 240 phys_size_t size) in lmb_overlaps_region() 255 phys_addr_t lmb_alloc(struct lmb *lmb, phys_size_t size, ulong align) in lmb_alloc() 260 phys_addr_t lmb_alloc_base(struct lmb *lmb, phys_size_t size, ulong align, phys_addr_t max_addr) in lmb_alloc_base() 273 static phys_addr_t lmb_align_down(phys_addr_t addr, phys_size_t size) in lmb_align_down() 278 static phys_addr_t lmb_align_up(phys_addr_t addr, ulong size) in lmb_align_up() 283 phys_addr_t __lmb_alloc_base(struct lmb *lmb, phys_size_t size, ulong align, phys_addr_t max_addr) in __lmb_alloc_base()
|
| H A D | abuf.c | 15 void abuf_set(struct abuf *abuf, void *data, size_t size) in abuf_set() 22 void abuf_map_sysmem(struct abuf *abuf, ulong addr, size_t size) in abuf_map_sysmem() 85 void abuf_init_set(struct abuf *abuf, void *data, size_t size) in abuf_init_set() 91 void abuf_init_move(struct abuf *abuf, void *data, size_t size) in abuf_init_move()
|
| H A D | sysmem.c | 266 static int sysmem_add(phys_addr_t base, phys_size_t size) in sysmem_add() 321 phys_size_t size, in sysmem_alloc_align_base() 571 void *sysmem_alloc(enum memblk_id id, phys_size_t size) in sysmem_alloc() 586 void *sysmem_alloc_by_name(const char *name, phys_size_t size) in sysmem_alloc_by_name() 601 void *sysmem_alloc_base(enum memblk_id id, phys_addr_t base, phys_size_t size) in sysmem_alloc_base() 617 phys_addr_t base, phys_size_t size) in sysmem_alloc_base_by_name() 633 phys_addr_t base, phys_size_t size) in sysmem_fdt_reserve_alloc_base() 648 ulong sysmem_alloc_temporary_mem(phys_size_t size) in sysmem_alloc_temporary_mem() 824 ulong addr, size; in do_sysmem_search() local
|
| /rk3399_rockchip-uboot/drivers/crypto/rockchip/ |
| H A D | crypto_v2_util.c | 55 void util_reverse_buff(u8 *buff_ptr, u32 size) in util_reverse_buff() 83 void util_reverse_memcpy(u8 *dst_ptr, const u8 *src_ptr, u32 size) in util_reverse_memcpy() 106 void util_word_memcpy(u32 *dst_ptr, u32 *src_ptr, u32 size) in util_word_memcpy() 125 void util_reverse_word_memcpy(u32 *dst_ptr, u32 *src_ptr, u32 size) in util_reverse_word_memcpy() 148 void util_word_memset(u32 *buff_ptr, u32 val, u32 size) in util_word_memset()
|
| /rk3399_rockchip-uboot/include/asm-generic/ |
| H A D | ioctl.h | 65 #define _IOC(dir,type,nr,size) \ argument 84 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size))) argument 85 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) argument 86 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) argument 87 #define _IOR_BAD(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) argument 88 #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) argument 89 #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) argument
|
| /rk3399_rockchip-uboot/drivers/misc/ |
| H A D | i2c_eeprom.c | 13 int i2c_eeprom_read(struct udevice *dev, int offset, uint8_t *buf, int size) in i2c_eeprom_read() 23 int i2c_eeprom_write(struct udevice *dev, int offset, uint8_t *buf, int size) in i2c_eeprom_write() 34 int size) in i2c_eeprom_std_read() 40 const uint8_t *buf, int size) in i2c_eeprom_std_write()
|
| H A D | misc_otp.c | 16 int misc_otp_read(struct udevice *dev, int offset, void *buf, int size) in misc_otp_read() 21 int misc_otp_write(struct udevice *dev, int offset, const void *buf, int size) in misc_otp_write() 31 int misc_otp_write_verify(struct udevice *dev, int offset, const uint8_t *write_buf, int size) in misc_otp_write_verify()
|
| H A D | swap_case.c | 43 u32 size; member 66 ulong *valuep, enum pci_size_t size) in sandbox_swap_case_read_config() 128 ulong value, enum pci_size_t size) in sandbox_swap_case_write_config() 160 unsigned int size = barinfo[barnum].size; in sandbox_swap_case_find_bar() local 195 ulong *valuep, enum pci_size_t size) in sandbox_swap_case_read_io() 213 ulong value, enum pci_size_t size) in sandbox_swap_case_write_io()
|
| /rk3399_rockchip-uboot/arch/arm/mach-mvebu/ |
| H A D | mbus.c | 110 u32 *size, u8 *target, u8 *attr, in mvebu_mbus_read_window() 175 phys_addr_t base, size_t size, in mvebu_mbus_window_conflicts() 214 phys_addr_t base, size_t size) in mvebu_mbus_find_window() 238 int win, phys_addr_t base, size_t size, in mvebu_mbus_setup_window() 266 phys_addr_t base, size_t size, in mvebu_mbus_alloc_window() 328 u32 size = readl(mbus->sdramwins_base + DDR_SIZE_CS_OFF(i)); in mvebu_mbus_default_setup_cpu_target() local 376 phys_addr_t base, size_t size, in mvebu_mbus_add_window_remap_by_id() 391 phys_addr_t base, size_t size) in mvebu_mbus_add_window_by_id() 397 int mvebu_mbus_del_window(phys_addr_t base, size_t size) in mvebu_mbus_del_window() 437 u32 size; in mvebu_config_mbus_bridge() local [all …]
|
| H A D | dram.c | 67 static void mvebu_sdram_bs_set(enum memory_bank bank, u32 size) in mvebu_sdram_bs_set() 102 u32 size; in mvebu_sdram_size_adjust() local 119 u32 reg, base, size, base2; in mv_xor_init2() local 166 u32 size, temp; in dram_ecc_scrubbing() local 232 u64 size = 0; in dram_init() local 278 u64 size = 0; in dram_init_banksize() local
|
| /rk3399_rockchip-uboot/cmd/ |
| H A D | bootfit.c | 18 static void *do_boot_fit_storage(ulong *size) in do_boot_fit_storage() 26 int size; in do_boot_fit_ram() local 63 ulong size; in do_boot_fit() local
|
| /rk3399_rockchip-uboot/fs/yaffs2/ |
| H A D | yaffs_nameval.c | 36 int size; in nval_find() local 60 int size; in nval_used() local 76 int size; in nval_del() local 133 int size; in nval_get() local 170 int size; in nval_list() local
|
| /rk3399_rockchip-uboot/board/cavium/thunderx/ |
| H A D | atf.c | 21 ssize_t atf_read_mmc(uintptr_t offset, void *buffer, size_t size) in atf_read_mmc() 34 ssize_t atf_read_nor(uintptr_t offset, void *buffer, size_t size) in atf_read_nor() 69 ssize_t atf_erase_nor(uintptr_t offset, size_t size) in atf_erase_nor() 81 ssize_t atf_write_nor(uintptr_t offset, const void *buffer, size_t size) in atf_write_nor() 95 ssize_t atf_write_mmc(uintptr_t offset, const void *buffer, size_t size) in atf_write_mmc() 232 size_t size, offset; in do_atf() local
|
| /rk3399_rockchip-uboot/arch/x86/include/asm/ |
| H A D | coreboot_tables.h | 28 u32 size; member 36 struct cbuint64 size; member 50 u32 size; member 58 u32 size; member 66 u32 size; member 85 u32 size; member 93 u32 size; member 105 u32 size; member 120 u32 size; member 128 u32 size; member [all …]
|
| /rk3399_rockchip-uboot/lib/optee_clientApi/ |
| H A D | OpteeClientMem.c | 25 int my_malloc_init(void *start, uint32_t size) in my_malloc_init() 46 void write_usedblock(void *addr, uint32_t size) in write_usedblock() 84 void *my_malloc(uint32_t size) in my_malloc() 118 uint32_t i, j, num, size; in my_free() local
|
| /rk3399_rockchip-uboot/lib/avb/libavb/ |
| H A D | avb_crc32.c | 102 static uint32_t iavb_crc32(uint32_t crc_in, const uint8_t* buf, int size) { in iavb_crc32() 112 uint32_t avb_crc32(const uint8_t* buf, size_t size) { in avb_crc32()
|
| /rk3399_rockchip-uboot/arch/x86/lib/ |
| H A D | relocate.c | 51 static void do_elf_reloc_fixups64(unsigned int text_base, uintptr_t size, in do_elf_reloc_fixups64() 90 static void do_elf_reloc_fixups32(unsigned int text_base, uintptr_t size, in do_elf_reloc_fixups32() 141 uintptr_t size = (uintptr_t)&__bss_end - (uintptr_t)&__text_start; in do_elf_reloc_fixups() local
|
| /rk3399_rockchip-uboot/fs/sandbox/ |
| H A D | sandboxfs.c | 23 loff_t size; in sandbox_fs_read_at() local 60 ssize_t size; in sandbox_fs_write_at() local 105 loff_t size; in sandbox_fs_exists() local 112 int sandbox_fs_size(const char *filename, loff_t *size) in sandbox_fs_size()
|
| /rk3399_rockchip-uboot/arch/mips/include/asm/mach-generic/ |
| H A D | ioremap.h | 14 phys_addr_t size) in fixup_bigphys_addr() 19 static inline void __iomem *plat_ioremap(phys_addr_t offset, unsigned long size, in plat_ioremap()
|
| /rk3399_rockchip-uboot/arch/powerpc/cpu/mpc85xx/ |
| H A D | liodn.c | 28 static void set_srio_liodn(struct srio_liodn_id_table *tbl, int size) in set_srio_liodn() 44 static void set_liodn(struct liodn_id_table *tbl, int size) in set_liodn() 61 static void set_fman_liodn(struct fman_liodn_id_table *tbl, int size) in set_fman_liodn() 96 struct fman_liodn_id_table *tbl, int size) in setup_fman_liodn_base() 155 static void set_rman_liodn(struct liodn_id_table *tbl, int size) in set_rman_liodn() 168 static void setup_rman_liodn_base(struct liodn_id_table *tbl, int size) in setup_rman_liodn_base()
|
| /rk3399_rockchip-uboot/tools/ |
| H A D | ifdtool.c | 49 static struct fdbar_t *find_fd(char *image, int size) in find_fd() 386 static int dump_fd(char *image, int size) in dump_fd() 438 static int write_regions(char *image, int size) in write_regions() 493 static int write_image(char *filename, char *image, int size) in write_image() 523 static void set_spi_frequency(char *image, int size, enum spi_frequency freq) in set_spi_frequency() 546 static void set_em100_mode(char *image, int size) in set_em100_mode() 562 static void lock_descriptor(char *image, int size) in lock_descriptor() 583 static void unlock_descriptor(char *image, int size) in unlock_descriptor() 628 int inject_region(char *image, int size, int region_type, char *region_fname) in inject_region() 707 static int write_data(char *image, int size, unsigned int addr, in write_data() [all …]
|
| /rk3399_rockchip-uboot/arch/x86/lib/efi/ |
| H A D | efi.c | 29 int ret, size; in board_get_usable_ram_top() local 75 int size, ret; in dram_init() local 99 int ret, size; in dram_init_banksize() local
|