/u-boot/include/ |
A D | memalign.h | 71 #define ALLOC_ALIGN_BUFFER_PAD(type, name, size, align, pad) \ argument 76 #define ALLOC_ALIGN_BUFFER(type, name, size, align) \ argument 78 #define ALLOC_CACHE_ALIGN_BUFFER_PAD(type, name, size, pad) \ argument 80 #define ALLOC_CACHE_ALIGN_BUFFER(type, name, size) \ argument 88 #define DEFINE_ALIGN_BUFFER(type, name, size, align) \ argument 93 #define DEFINE_CACHE_ALIGN_BUFFER(type, name, size) \ argument 109 static inline void *malloc_cache_aligned(size_t size) in malloc_cache_aligned()
|
A D | remoteproc.h | 329 static inline int rproc_load(int id, ulong addr, ulong size) { return -ENOSYS; } in rproc_load() 336 ulong size) { return -ENOSYS; } in rproc_elf32_sanity_check() 338 ulong size) { return -ENOSYS; } in rproc_elf64_sanity_check() 340 ulong size) { return -ENOSYS; } in rproc_elf_sanity_check() 342 unsigned long addr, ulong size) in rproc_elf32_load_image() 345 ulong size) in rproc_elf64_load_image() 348 ulong size) in rproc_elf_load_image()
|
/u-boot/drivers/misc/imx8/ |
A D | scu_api.c | 26 int size = sizeof(struct sc_rpc_msg_s); in sc_pm_set_clock_rate() local 52 int size = sizeof(struct sc_rpc_msg_s); in sc_pm_get_clock_rate() local 80 int size = sizeof(struct sc_rpc_msg_s); in sc_pm_clock_enable() local 105 int size = sizeof(struct sc_rpc_msg_s); in sc_pm_set_clock_parent() local 129 int size = sizeof(struct sc_rpc_msg_s); in sc_pm_set_resource_power_mode() local 154 int size = sizeof(struct sc_rpc_msg_s); in sc_pm_is_partition_started() local 181 int size = sizeof(struct sc_rpc_msg_s); in sc_pm_resource_reset() local 204 int size = sizeof(struct sc_rpc_msg_s); in sc_pad_set() local 229 int size = sizeof(struct sc_rpc_msg_s); in sc_pad_get() local 259 int size = sizeof(struct sc_rpc_msg_s); in sc_misc_set_control() local [all …]
|
/u-boot/post/drivers/ |
A D | memory.c | 240 static int memory_post_addrline(ulong *testaddr, ulong *base, ulong size) in memory_post_addrline() 273 unsigned long size, in memory_post_test1() 304 static int memory_post_test2(unsigned long start, unsigned long size) in memory_post_test2() 334 static int memory_post_test3(unsigned long start, unsigned long size) in memory_post_test3() 364 static int memory_post_test4(unsigned long start, unsigned long size) in memory_post_test4() 394 static int memory_post_test_lines(unsigned long start, unsigned long size) in memory_post_test_lines() 412 static int memory_post_test_patterns(unsigned long start, unsigned long size) in memory_post_test_patterns() 440 static int memory_post_test_regions(unsigned long start, unsigned long size) in memory_post_test_regions() 457 static int memory_post_tests(unsigned long start, unsigned long size) in memory_post_tests() 472 int arch_memory_test_prepare(u32 *vstart, u32 *size, phys_addr_t *phys_offset) in arch_memory_test_prepare() [all …]
|
/u-boot/include/dm/ |
A D | devres.h | 38 #define _devres_alloc(release, size, gfp) \ argument 57 #define devres_alloc(release, size, gfp) \ argument 179 static inline void *devm_kzalloc(struct udevice *dev, size_t size, gfp_t gfp) in devm_kzalloc() 185 size_t n, size_t size, gfp_t flags) in devm_kmalloc_array() 193 size_t n, size_t size, gfp_t flags) in devm_kcalloc() 212 static inline void *devres_alloc(dr_release_t release, size_t size, gfp_t gfp) in devres_alloc() 256 static inline void *devm_kmalloc(struct udevice *dev, size_t size, gfp_t gfp) in devm_kmalloc() 261 static inline void *devm_kzalloc(struct udevice *dev, size_t size, gfp_t gfp) in devm_kzalloc() 267 size_t n, size_t size, gfp_t flags) in devm_kmalloc_array() 276 size_t n, size_t size, gfp_t flags) in devm_kcalloc()
|
/u-boot/lib/zstd/ |
A D | zstd_common.c | 19 #define stack_push(stack, size) \ argument 42 void *ZSTD_stackAllocAll(void *opaque, size_t *size) in ZSTD_stackAllocAll() 49 void *ZSTD_stackAlloc(void *opaque, size_t size) in ZSTD_stackAlloc() 60 void *ZSTD_malloc(size_t size, ZSTD_customMem customMem) { return customMem.customAlloc(customMem.o… in ZSTD_malloc()
|
/u-boot/include/asm-generic/ |
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
|
/u-boot/drivers/soc/ |
A D | soc_sandbox.c | 13 int soc_sandbox_get_family(struct udevice *dev, char *buf, int size) in soc_sandbox_get_family() 20 int soc_sandbox_get_machine(struct udevice *dev, char *buf, int size) in soc_sandbox_get_machine() 27 int soc_sandbox_get_revision(struct udevice *dev, char *buf, int size) in soc_sandbox_get_revision()
|
A D | soc-uclass.c | 19 int soc_get_machine(struct udevice *dev, char *buf, int size) in soc_get_machine() 29 int soc_get_family(struct udevice *dev, char *buf, int size) in soc_get_family() 39 int soc_get_revision(struct udevice *dev, char *buf, int size) in soc_get_revision()
|
/u-boot/lib/ |
A D | lmb.c | 136 phys_size_t size, void *fdt_blob) in lmb_init_and_reserve_range() 144 static long lmb_add_region(struct lmb_region *rgn, phys_addr_t base, phys_size_t size) in lmb_add_region() 214 long lmb_add(struct lmb *lmb, phys_addr_t base, phys_size_t size) in lmb_add() 221 long lmb_free(struct lmb *lmb, phys_addr_t base, phys_size_t size) in lmb_free() 270 long lmb_reserve(struct lmb *lmb, phys_addr_t base, phys_size_t size) in lmb_reserve() 278 phys_size_t size) in lmb_overlaps_region() 292 phys_addr_t lmb_alloc(struct lmb *lmb, phys_size_t size, ulong align) in lmb_alloc() 297 phys_addr_t lmb_alloc_base(struct lmb *lmb, phys_size_t size, ulong align, phys_addr_t max_addr) in lmb_alloc_base() 310 static phys_addr_t lmb_align_down(phys_addr_t addr, phys_size_t size) in lmb_align_down() 315 phys_addr_t __lmb_alloc_base(struct lmb *lmb, phys_size_t size, ulong align, phys_addr_t max_addr) in __lmb_alloc_base() [all …]
|
/u-boot/common/ |
A D | bloblist.c | 93 static int bloblist_addrec(uint tag, int size, int align, in bloblist_addrec() 134 static int bloblist_ensurerec(uint tag, struct bloblist_rec **recp, int size, in bloblist_ensurerec() 157 void *bloblist_find(uint tag, int size) in bloblist_find() 170 void *bloblist_add(uint tag, int size, int align) in bloblist_add() 180 int bloblist_ensure_size(uint tag, int size, int align, void **blobp) in bloblist_ensure_size() 193 void *bloblist_ensure(uint tag, int size) in bloblist_ensure() 233 int bloblist_new(ulong addr, uint size, uint flags) in bloblist_new() 255 int bloblist_check(ulong addr, uint size) in bloblist_check() 304 ulong base, size, alloced; in bloblist_show_stats() local
|
A D | hash.c | 54 unsigned int size, int is_last) in hash_update_sha1() 61 int size) in hash_finish_sha1() 82 const void *buf, unsigned int size, int is_last) in hash_update_sha256() 89 *dest_buf, int size) in hash_finish_sha256() 110 const void *buf, unsigned int size, int is_last) in hash_update_sha384() 117 *dest_buf, int size) in hash_finish_sha384() 145 *dest_buf, int size) in hash_finish_sha512() 166 const void *buf, unsigned int size, in hash_update_crc16_ccitt() 174 void *dest_buf, int size) in hash_finish_crc16_ccitt() 193 const void *buf, unsigned int size, int is_last) in hash_update_crc32() [all …]
|
/u-boot/drivers/pci/ |
A D | pci_octeontx.c | 71 static ulong readl_size(uintptr_t addr, enum pci_size_t size) in readl_size() 93 static void writel_size(uintptr_t addr, enum pci_size_t size, ulong valuep) in writel_size() 120 enum pci_size_t size) in octeontx_ecam_read_config() 138 enum pci_size_t size) in octeontx_ecam_write_config() 156 enum pci_size_t size) in octeontx_pem_read_config() 187 enum pci_size_t size) in octeontx_pem_write_config() 219 enum pci_size_t size) in octeontx2_pem_read_config() 244 enum pci_size_t size) in octeontx2_pem_write_config() 267 enum pci_size_t size) in pci_octeontx_read_config() 292 enum pci_size_t size) in pci_octeontx_write_config()
|
/u-boot/cmd/ |
A D | iotrace.c | 12 ulong start, size, needed_size, offset, count; in do_print_stats() local 30 ulong start, size, needed_size, offset, count; in do_print_trace() local 60 ulong addr = 0, size = 0; in do_set_buffer() local 76 ulong addr = 0, size = 0; in do_set_region() local
|
/u-boot/drivers/misc/ |
A D | i2c_eeprom.c | 17 u32 size; /* size in bytes */ member 24 int i2c_eeprom_read(struct udevice *dev, int offset, uint8_t *buf, int size) in i2c_eeprom_read() 34 int i2c_eeprom_write(struct udevice *dev, int offset, uint8_t *buf, int size) in i2c_eeprom_write() 55 int size) in i2c_eeprom_std_read() 61 const uint8_t *buf, int size) in i2c_eeprom_std_write() 102 u32 size; in i2c_eeprom_std_of_to_plat() local 293 u32 size; member 323 u8 *buf, int size) in i2c_eeprom_partition_read() 337 const u8 *buf, int size) in i2c_eeprom_partition_write()
|
/u-boot/arch/arm/mach-mvebu/ |
A D | mbus.c | 111 u32 *size, u8 *target, u8 *attr, in mvebu_mbus_read_window() 176 phys_addr_t base, size_t size, in mvebu_mbus_window_conflicts() 215 phys_addr_t base, size_t size) in mvebu_mbus_find_window() 239 int win, phys_addr_t base, size_t size, in mvebu_mbus_setup_window() 267 phys_addr_t base, size_t size, in mvebu_mbus_alloc_window() 382 phys_addr_t base, size_t size, in mvebu_mbus_add_window_remap_by_id() 397 phys_addr_t base, size_t size) in mvebu_mbus_add_window_by_id() 403 int mvebu_mbus_del_window(phys_addr_t base, size_t size) in mvebu_mbus_del_window() 444 u32 size; in mvebu_config_mbus_bridge() local 465 u32 base, u32 size, u8 target, u8 attr) in mbus_dt_setup_win() [all …]
|
/u-boot/drivers/crypto/fsl/ |
A D | rng.c | 29 int size = ALIGN(CAAM_RNG_MAX_FIFO_STORE_SIZE, ARCH_DMA_MINALIGN); in caam_rng_read_one() local 46 size_t size; in caam_rng_read() local 67 ulong size = ALIGN(CAAM_RNG_DESC_LEN, ARCH_DMA_MINALIGN); in caam_rng_probe() local
|
A D | fsl_blob.c | 33 int ret, size, i = 0; in blob_decap() local 98 int ret, size, i = 0; in blob_encap() local 152 int ret, size, i = 0; in blob_dek() local
|
/u-boot/fs/yaffs2/ |
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
|
/u-boot/board/cavium/thunderx/ |
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
|
/u-boot/arch/x86/include/asm/ |
A D | coreboot_tables.h | 29 u32 size; member 51 u32 size; member 59 u32 size; member 67 u32 size; member 86 u32 size; member 94 u32 size; member 125 u32 size; member 140 u32 size; member 148 u32 size; member 176 u32 size; member [all …]
|
/u-boot/arch/x86/cpu/efi/ |
A D | payload.c | 33 int ret, size; in board_get_usable_ram_top() local 79 int size, ret; in dram_init() local 103 int ret, size; in dram_init_banksize() local 184 int size, ret; in install_e820_map() local 265 int size, ret; in setup_efi_info() local
|
/u-boot/drivers/power/acpi_pmc/ |
A D | pmc_emul.c | 33 u32 size; member 47 ulong *valuep, enum pci_size_t size) in sandbox_pmc_emul_read_config() 100 ulong value, enum pci_size_t size) in sandbox_pmc_emul_write_config() 134 unsigned int size = barinfo[barnum].size; in sandbox_pmc_emul_find_bar() local 149 ulong *valuep, enum pci_size_t size) in sandbox_pmc_emul_read_io() 168 ulong value, enum pci_size_t size) in sandbox_pmc_emul_write_io()
|
/u-boot/arch/mips/mach-octeon/ |
A D | cvmx-bootmem.c | 119 int size) in __cvmx_bootmem_desc_get() 257 static void cvmx_bootmem_phy_set_size(u64 addr, u64 size) in cvmx_bootmem_phy_set_size() 391 u64 cvmx_bootmem_phy_alloc_range(u64 size, u64 alignment, in cvmx_bootmem_phy_alloc_range() 405 void *cvmx_bootmem_alloc_range(u64 size, u64 alignment, in cvmx_bootmem_alloc_range() 420 void *cvmx_bootmem_alloc_address(u64 size, u64 address, in cvmx_bootmem_alloc_address() 434 void *cvmx_bootmem_alloc(u64 size, u64 alignment) in cvmx_bootmem_alloc() 496 void *cvmx_bootmem_alloc_named_range(u64 size, u64 min_addr, in cvmx_bootmem_alloc_named_range() 504 void *cvmx_bootmem_alloc_named_address(u64 size, u64 address, in cvmx_bootmem_alloc_named_address() 511 void *cvmx_bootmem_alloc_named(u64 size, u64 alignment, in cvmx_bootmem_alloc_named() 1364 int cvmx_bootmem_reserve_memory(u64 start_addr, u64 size, in cvmx_bootmem_reserve_memory() [all …]
|
/u-boot/arch/x86/cpu/ |
A D | pci.c | 21 enum pci_size_t size) in pci_x86_read_config() 40 enum pci_size_t size) in pci_x86_write_config() 59 enum pci_size_t size) in pci_x86_clrset_config()
|