| /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 | i2c_eeprom.h | 15 int (*size)(struct udevice *dev); member 22 unsigned long size; member 63 int size) in i2c_eeprom_read() 69 const uint8_t *buf, int size) in i2c_eeprom_write()
|
| /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/drivers/misc/sentinel/ |
| A D | s400_api.c | 20 int size = sizeof(struct sentinel_msg); in ahab_release_rdc() local 65 int size = sizeof(struct sentinel_msg); in ahab_auth_oem_ctnr() local 95 int size = sizeof(struct sentinel_msg); in ahab_release_container() local 123 int size = sizeof(struct sentinel_msg); in ahab_verify_image() local 152 int size = sizeof(struct sentinel_msg); in ahab_forward_lifecycle() local 181 int size = sizeof(struct sentinel_msg); in ahab_read_common_fuse() local 229 int size = sizeof(struct sentinel_msg); in ahab_write_fuse() local 262 int size = sizeof(struct sentinel_msg); in ahab_release_caam() local 291 int size = sizeof(struct sentinel_msg); in ahab_get_fw_version() local 332 int size = sizeof(struct sentinel_msg); in ahab_dump_buffer() local [all …]
|
| /u-boot/post/drivers/ |
| A D | memory.c | 239 static int memory_post_addrline(ulong *testaddr, ulong *base, ulong size) in memory_post_addrline() 271 unsigned long size, in memory_post_test1() 301 static int memory_post_test2(unsigned long start, unsigned long size) in memory_post_test2() 330 static int memory_post_test3(unsigned long start, unsigned long size) in memory_post_test3() 359 static int memory_post_test4(unsigned long start, unsigned long size) in memory_post_test4() 388 static int memory_post_test_lines(unsigned long start, unsigned long size) in memory_post_test_lines() 406 static int memory_post_test_patterns(unsigned long start, unsigned long size) in memory_post_test_patterns() 434 static int memory_post_test_regions(unsigned long start, unsigned long size) in memory_post_test_regions() 451 static int memory_post_tests(unsigned long start, unsigned long size) in memory_post_tests() 466 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/ |
| A D | lmb.c | 26 unsigned long long base, size, end; in lmb_dump_region() local 223 phys_size_t size, void *fdt_blob) in lmb_init_and_reserve_range() 232 phys_size_t size, enum lmb_flags flags) in lmb_add_region_flags() 319 phys_size_t size) in lmb_add_region() 325 long lmb_add(struct lmb *lmb, phys_addr_t base, phys_size_t size) in lmb_add() 332 long lmb_free(struct lmb *lmb, phys_addr_t base, phys_size_t size) in lmb_free() 382 long lmb_reserve_flags(struct lmb *lmb, phys_addr_t base, phys_size_t size, in lmb_reserve_flags() 390 long lmb_reserve(struct lmb *lmb, phys_addr_t base, phys_size_t size) in lmb_reserve() 396 phys_size_t size) in lmb_overlaps_region() 410 phys_addr_t lmb_alloc(struct lmb *lmb, phys_size_t size, ulong align) in lmb_alloc() [all …]
|
| A D | abuf.c | 18 void abuf_set(struct abuf *abuf, void *data, size_t size) in abuf_set() 26 void abuf_map_sysmem(struct abuf *abuf, ulong addr, size_t size) in abuf_map_sysmem() 106 void abuf_init_set(struct abuf *abuf, void *data, size_t size) in abuf_init_set() 112 void abuf_init_move(struct abuf *abuf, void *data, size_t size) in abuf_init_move()
|
| /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/pci/ |
| A D | pci_octeontx.c | 52 static ulong readl_size(uintptr_t addr, enum pci_size_t size) in readl_size() 74 static void writel_size(uintptr_t addr, enum pci_size_t size, ulong valuep) in writel_size() 101 enum pci_size_t size) in octeontx_ecam_read_config() 119 enum pci_size_t size) in octeontx_ecam_write_config() 137 enum pci_size_t size) in octeontx_pem_read_config() 167 enum pci_size_t size) in octeontx_pem_write_config() 200 enum pci_size_t size) in octeontx2_pem_read_config() 224 enum pci_size_t size) in octeontx2_pem_write_config() 246 enum pci_size_t size) in pci_octeontx_read_config() 271 enum pci_size_t size) in pci_octeontx_write_config()
|
| /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 | 21 int soc_get_machine(struct udevice *dev, char *buf, int size) in soc_get_machine() 31 int soc_get_family(struct udevice *dev, char *buf, int size) in soc_get_family() 41 int soc_get_revision(struct udevice *dev, char *buf, int size) in soc_get_revision()
|
| /u-boot/arch/arm/mach-mvebu/ |
| A D | mbus.c | 114 u32 *size, u8 *target, u8 *attr, in mvebu_mbus_read_window() 176 static int mvebu_mbus_window_conflicts(phys_addr_t base, size_t size, in mvebu_mbus_window_conflicts() 214 static int mvebu_mbus_find_window(phys_addr_t base, size_t size) in mvebu_mbus_find_window() 237 static int mvebu_mbus_setup_window(int win, phys_addr_t base, size_t size, in mvebu_mbus_setup_window() 264 static int mvebu_mbus_alloc_window(phys_addr_t base, size_t size, in mvebu_mbus_alloc_window() 363 phys_addr_t base, size_t size, in mvebu_mbus_add_window_remap_by_id() 376 phys_addr_t base, size_t size) in mvebu_mbus_add_window_by_id() 382 int mvebu_mbus_del_window(phys_addr_t base, size_t size) in mvebu_mbus_del_window() 422 u32 size; in mvebu_config_mbus_bridge() local 442 int mbus_dt_setup_win(u32 base, u32 size, u8 target, u8 attr) in mbus_dt_setup_win() [all …]
|
| /u-boot/arch/x86/cpu/efi/ |
| A D | payload.c | 34 int ret, size; in board_get_usable_ram_top() local 80 int size, ret; in dram_init() local 104 int ret, size; in dram_init_banksize() local 185 int size, ret; in install_e820_map() local 266 int size, ret; in setup_efi_info() local 301 int size, ret; in efi_show_bdinfo() local
|
| /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 | 19 u32 size; /* size in bytes */ member 26 int i2c_eeprom_read(struct udevice *dev, int offset, uint8_t *buf, int size) in i2c_eeprom_read() 37 int size) in i2c_eeprom_write() 58 int size) in i2c_eeprom_std_read() 64 const uint8_t *buf, int size) in i2c_eeprom_std_write() 105 u32 size; in i2c_eeprom_std_of_to_plat() local 289 u32 size; member 319 u8 *buf, int size) in i2c_eeprom_partition_read() 333 const u8 *buf, int size) in i2c_eeprom_partition_write()
|
| /u-boot/arch/mips/mach-octeon/ |
| A D | cvmx-range.c | 42 int cvmx_range_init(u64 range_addr, int size) in cvmx_range_init() 58 u64 size = cvmx_read64_uint64(addr_of_size(range_addr)); in cvmx_range_find_next_available() local 79 u64 size = cvmx_read64_uint64(addr_of_size(range_addr)); in cvmx_range_find_last_available() local 103 u64 i = 0, size; in cvmx_range_alloc_ordered() local 167 u64 i, size, r_owner; in cvmx_range_reserve() local 202 u64 i, cnt, size; in __cvmx_range_is_allocated() local 245 u64 i, size; in cvmx_range_free_with_base() local
|
| A D | cvmx-bootmem.c | 113 int size) in __cvmx_bootmem_desc_get() 251 static void cvmx_bootmem_phy_set_size(u64 addr, u64 size) in cvmx_bootmem_phy_set_size() 385 u64 cvmx_bootmem_phy_alloc_range(u64 size, u64 alignment, in cvmx_bootmem_phy_alloc_range() 399 void *cvmx_bootmem_alloc_range(u64 size, u64 alignment, in cvmx_bootmem_alloc_range() 414 void *cvmx_bootmem_alloc_address(u64 size, u64 address, in cvmx_bootmem_alloc_address() 428 void *cvmx_bootmem_alloc(u64 size, u64 alignment) in cvmx_bootmem_alloc() 490 void *cvmx_bootmem_alloc_named_range(u64 size, u64 min_addr, in cvmx_bootmem_alloc_named_range() 498 void *cvmx_bootmem_alloc_named_address(u64 size, u64 address, in cvmx_bootmem_alloc_named_address() 505 void *cvmx_bootmem_alloc_named(u64 size, u64 alignment, in cvmx_bootmem_alloc_named() 1357 int cvmx_bootmem_reserve_memory(u64 start_addr, u64 size, in cvmx_bootmem_reserve_memory() [all …]
|
| /u-boot/common/ |
| A D | hash.c | 55 const void *buf, unsigned int size, in hash_update_sha1() 63 void *dest_buf, int size) in hash_finish_sha1() 82 const void *buf, uint size, in hash_update_sha256() 90 void *dest_buf, int size) in hash_finish_sha256() 109 const void *buf, uint size, in hash_update_sha384() 117 void *dest_buf, int size) in hash_finish_sha384() 136 const void *buf, uint size, in hash_update_sha512() 144 void *dest_buf, int size) in hash_finish_sha512() 163 const void *buf, unsigned int size, in hash_update_crc16_ccitt() 171 void *dest_buf, int size) in hash_finish_crc16_ccitt() [all …]
|
| A D | bloblist.c | 119 static int bloblist_addrec(uint tag, int size, int align, in bloblist_addrec() 159 static int bloblist_ensurerec(uint tag, struct bloblist_rec **recp, int size, in bloblist_ensurerec() 182 void *bloblist_find(uint tag, int size) in bloblist_find() 195 void *bloblist_add(uint tag, int size, int align) in bloblist_add() 205 int bloblist_ensure_size(uint tag, int size, int align, void **blobp) in bloblist_ensure_size() 218 void *bloblist_ensure(uint tag, int size) in bloblist_ensure() 315 int bloblist_new(ulong addr, uint size, uint flags) in bloblist_new() 337 int bloblist_check(ulong addr, uint size) in bloblist_check() 399 ulong base, size, alloced; in bloblist_show_stats() local 435 ulong addr, size; in bloblist_init() local
|
| /u-boot/arch/arm/mach-rockchip/rk3288/ |
| A D | syscon_rk3288.c | 52 int size = dev->uclass->uc_drv->per_device_auto; in rk3288_noc_bind_of_plat() local 72 int size = dev->uclass->uc_drv->per_device_auto; in rk3288_grf_bind_of_plat() local 92 int size = dev->uclass->uc_drv->per_device_auto; in rk3288_sgrf_bind_of_plat() local 112 int size = dev->uclass->uc_drv->per_device_auto; in rk3288_pmu_bind_of_plat() 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/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
|
| /u-boot/drivers/power/acpi_pmc/ |
| A D | pmc_emul.c | 33 u32 size; member 48 ulong *valuep, enum pci_size_t size) in sandbox_pmc_emul_read_config() 101 ulong value, enum pci_size_t size) in sandbox_pmc_emul_write_config() 135 unsigned int size = barinfo[barnum].size; in sandbox_pmc_emul_find_bar() local 150 ulong *valuep, enum pci_size_t size) in sandbox_pmc_emul_read_io() 169 ulong value, enum pci_size_t size) in sandbox_pmc_emul_write_io()
|