| /openbmc/u-boot/arch/mips/lib/ |
| H A D | cache.c | 109 void flush_cache(ulong start_addr, ulong size) in flush_cache() argument 121 cache_loop(start_addr, start_addr + size, ilsize, in flush_cache() 127 cache_loop(start_addr, start_addr + size, dlsize, HIT_WRITEBACK_INV_D); in flush_cache() 130 cache_loop(start_addr, start_addr + size, slsize, HIT_WRITEBACK_INV_SD); in flush_cache() 133 cache_loop(start_addr, start_addr + size, ilsize, HIT_INVALIDATE_I); in flush_cache() 143 void flush_dcache_range(ulong start_addr, ulong stop) in flush_dcache_range() argument 149 if (start_addr == stop) in flush_dcache_range() 152 cache_loop(start_addr, stop, lsize, HIT_WRITEBACK_INV_D); in flush_dcache_range() 155 cache_loop(start_addr, stop, slsize, HIT_WRITEBACK_INV_SD); in flush_dcache_range() 161 void invalidate_dcache_range(ulong start_addr, ulong stop) in invalidate_dcache_range() argument [all …]
|
| /openbmc/u-boot/arch/xtensa/lib/ |
| H A D | cache.c | 29 void flush_cache(ulong start_addr, ulong size) in flush_cache() argument 31 __flush_invalidate_dcache_range(start_addr, size); in flush_cache() 32 __invalidate_icache_range(start_addr, size); in flush_cache() 41 void flush_dcache_range(ulong start_addr, ulong end_addr) in flush_dcache_range() argument 43 __flush_invalidate_dcache_range(start_addr, end_addr - start_addr); in flush_dcache_range()
|
| /openbmc/u-boot/cmd/ti/ |
| H A D | ddr3.c | 231 u32 start_addr, end_addr, range, ecc_ctrl; in is_addr_valid() local 243 start_addr = ((range & EMIF_ECC_REG_ECC_START_ADDR_MASK) << 16) in is_addr_valid() 245 end_addr = start_addr + (range & EMIF_ECC_REG_ECC_END_ADDR_MASK) in is_addr_valid() 247 if ((addr >= start_addr) && (addr <= end_addr)) in is_addr_valid() 255 start_addr = ((range & EMIF_ECC_REG_ECC_START_ADDR_MASK) << 16) in is_addr_valid() 257 end_addr = start_addr + (range & EMIF_ECC_REG_ECC_END_ADDR_MASK) in is_addr_valid() 259 if ((addr >= start_addr) && (addr <= end_addr)) in is_addr_valid() 279 u32 start_addr, end_addr, size, ecc_err; in do_ddr_test() local 287 start_addr = simple_strtoul(argv[2], NULL, 16); in do_ddr_test() 290 if (!is_addr_valid(start_addr)) { in do_ddr_test() [all …]
|
| /openbmc/qemu/hw/i386/xen/ |
| H A D | xen-hvm.c | 184 static XenPhysmap *get_physmapping(hwaddr start_addr, ram_addr_t size, in get_physmapping() argument 189 start_addr &= page_mask; in get_physmapping() 192 if (range_covers_byte(physmap->start_addr, physmap->size, start_addr)) { in get_physmapping() 207 return physmap->start_addr + (phys_offset - physmap->phys_offset); in xen_phys_offset_to_gaddr() 222 snprintf(value, sizeof(value), "%"PRIx64, (uint64_t)physmap->start_addr); in xen_save_physmap() 252 hwaddr start_addr, in xen_add_to_physmap() argument 267 if (get_physmapping(start_addr, size, page_mask)) { in xen_add_to_physmap() 278 if (mr == framebuffer && start_addr > 0xbffff) { in xen_add_to_physmap() 285 start_addr, start_addr + size); in xen_add_to_physmap() 291 physmap->start_addr = start_addr; in xen_add_to_physmap() [all …]
|
| /openbmc/u-boot/arch/powerpc/cpu/mpc8xxx/ |
| H A D | pamu_table.c | 16 tbl->start_addr[i] = in construct_pamu_addr_table() 19 tbl->end_addr[i] = tbl->start_addr[i] + tbl->size[i] - 1; in construct_pamu_addr_table() 23 tbl->start_addr[i] = in construct_pamu_addr_table() 26 tbl->end_addr[i] = tbl->start_addr[i] + tbl->size[i] - 1; in construct_pamu_addr_table() 31 tbl->start_addr[i] = in construct_pamu_addr_table() 34 tbl->end_addr[i] = tbl->start_addr[i] + tbl->size[i] - 1; in construct_pamu_addr_table() 40 debug("%llx \t\t\t%llx\n", tbl->start_addr[j], tbl->size[j]); in construct_pamu_addr_table()
|
| /openbmc/u-boot/cmd/ |
| H A D | strings.c | 13 static char *start_addr, *last_addr; variable 21 start_addr = (char *)simple_strtoul(argv[1], NULL, 16); in do_strings() 28 char *addr = start_addr; in do_strings() 35 last_addr = addr + (last_addr - start_addr); in do_strings() 36 start_addr = addr; in do_strings()
|
| H A D | mem.c | 569 static ulong mem_test_alt(vu_long *buf, ulong start_addr, ulong end_addr, in mem_test_alt() argument 593 num_words = (end_addr - start_addr) / sizeof(vu_long); in mem_test_alt() 697 start_addr + offset*sizeof(vu_long), in mem_test_alt() 719 start_addr + offset*sizeof(vu_long), in mem_test_alt() 760 start_addr + offset*sizeof(vu_long), in mem_test_alt() 781 start_addr + offset*sizeof(vu_long), in mem_test_alt() 793 static ulong mem_test_quick(vu_long *buf, ulong start_addr, ulong end_addr, in mem_test_quick() argument 817 length = (end_addr - start_addr) / sizeof(ulong); in mem_test_quick() 840 (uint)(uintptr_t)(start_addr + offset*sizeof(vu_long)), in mem_test_quick()
|
| H A D | load.c | 137 ulong start_addr = ~0; in load_serial() local 167 if ((store_addr) < start_addr) in load_serial() 168 start_addr = store_addr; in load_serial() 176 size = end_addr - start_addr + 1; in load_serial() 181 start_addr, end_addr, size, size in load_serial() 183 flush_cache(start_addr, size); in load_serial()
|
| /openbmc/u-boot/board/freescale/common/ |
| H A D | mpc85xx_sleep.c | 79 u32 start_addr; in fsl_dp_resume() local 89 start_addr = in_be32(&scfg->sparecr[1]); in fsl_dp_resume() 90 debug("Entry address is 0x%08x\n", start_addr); in fsl_dp_resume() 91 kernel_resume = (void (*)(void))start_addr; in fsl_dp_resume()
|
| H A D | arm_sleep.c | 113 u32 start_addr; in fsl_dp_resume() local 123 start_addr = in_le32(&scfg->sparecr[3]); in fsl_dp_resume() 124 debug("Entry address is 0x%08x\n", start_addr); in fsl_dp_resume() 125 kernel_resume = (void (*)(void))start_addr; in fsl_dp_resume()
|
| /openbmc/u-boot/arch/powerpc/lib/ |
| H A D | cache.c | 11 void flush_cache(ulong start_addr, ulong size) in flush_cache() argument 16 start = start_addr & ~(CONFIG_SYS_CACHELINE_SIZE - 1); in flush_cache() 17 end = start_addr + size - 1; in flush_cache()
|
| /openbmc/qemu/contrib/plugins/ |
| H A D | hotblocks.c | 36 uint64_t start_addr; member 56 return e->start_addr ^ e->insns; in exec_count_hash() 63 return (ea->start_addr == eb->start_addr) && in exec_count_equal() 91 rec->start_addr, rec->trans_count, in plugin_exit() 132 e.start_addr = pc; in vcpu_tb_trans() 141 cnt->start_addr = pc; in vcpu_tb_trans()
|
| /openbmc/qemu/include/hw/xen/ |
| H A D | xen_native.h | 370 hwaddr start_addr = section->offset_within_address_space; in xen_map_memory_section() local 372 hwaddr end_addr = start_addr + size - 1; in xen_map_memory_section() 378 trace_xen_map_mmio_range(ioservid, start_addr, end_addr); in xen_map_memory_section() 380 start_addr, end_addr); in xen_map_memory_section() 387 hwaddr start_addr = section->offset_within_address_space; in xen_unmap_memory_section() local 389 hwaddr end_addr = start_addr + size - 1; in xen_unmap_memory_section() 395 trace_xen_unmap_mmio_range(ioservid, start_addr, end_addr); in xen_unmap_memory_section() 397 1, start_addr, end_addr); in xen_unmap_memory_section() 404 hwaddr start_addr = section->offset_within_address_space; in xen_map_io_section() local 406 hwaddr end_addr = start_addr + size - 1; in xen_map_io_section() [all …]
|
| /openbmc/u-boot/drivers/mmc/ |
| H A D | sdhci.c | 71 unsigned int start_addr) in sdhci_transfer_data() argument 110 start_addr &= ~(SDHCI_DEFAULT_BOUNDARY_SIZE - 1); in sdhci_transfer_data() 111 start_addr += SDHCI_DEFAULT_BOUNDARY_SIZE; in sdhci_transfer_data() 112 sdhci_writel(host, start_addr, SDHCI_DMA_ADDRESS); in sdhci_transfer_data() 152 unsigned int time = 0, start_addr = 0; local 223 start_addr = (unsigned long)data->dest; 225 start_addr = (unsigned long)data->src; 227 (start_addr & 0x7) != 0x0) { 229 start_addr = (unsigned long)aligned_buffer; 240 start_addr = (unsigned long)aligned_buffer; [all …]
|
| /openbmc/u-boot/arch/arm/mach-mvebu/ |
| H A D | dram.c | 170 u32 start_addr; in dram_ecc_scrubbing() local 189 start_addr = 0; in dram_ecc_scrubbing() 194 start_addr = 0x1000000; in dram_ecc_scrubbing() 195 size -= start_addr; in dram_ecc_scrubbing() 198 mv_xor_mem_init(SCRB_XOR_CHAN, start_addr, size - 1, in dram_ecc_scrubbing()
|
| /openbmc/u-boot/arch/arm/cpu/armv7m/ |
| H A D | cache.c | 135 static int action_cache_range(enum cache_action action, u32 start_addr, in action_cache_range() argument 153 start_addr &= ~(cline_size - 1); in action_cache_range() 156 writel(start_addr, action_reg); in action_cache_range() 158 start_addr += cline_size; in action_cache_range()
|
| /openbmc/qemu/pc-bios/optionrom/ |
| H A D | pvh_main.c | 54 static uintptr_t search_rsdp(uint32_t start_addr, uint32_t end_addr) in search_rsdp() argument 59 for (rsdp_p = (uint64_t *)start_addr; rsdp_p < (uint64_t *)end_addr; in search_rsdp()
|
| /openbmc/qemu/hw/riscv/ |
| H A D | xiangshan_kmh.c | 168 hwaddr start_addr = memmap[XIANGSHAN_KMH_DRAM].base; in type_init() local 182 start_addr, in type_init() 186 riscv_load_firmware(machine->firmware, &start_addr, NULL); in type_init()
|
| /openbmc/u-boot/board/xilinx/zynq/ |
| H A D | bootimg.c | 129 int zynq_validate_partition(u32 start_addr, u32 len, u32 chksum_off) in zynq_validate_partition() argument 136 md5_wd((u8 *)start_addr, len, &calchecksum[0], 0x10000); in zynq_validate_partition()
|
| /openbmc/qemu/hw/vfio/ |
| H A D | spapr.c | 226 .start_addr = offset_within_address_space, in vfio_spapr_remove_window() 233 (uint64_t)remove.start_addr); in vfio_spapr_remove_window() 333 if (create.start_addr != section->offset_within_address_space) { in vfio_spapr_create_window() 334 vfio_spapr_remove_window(container, create.start_addr); in vfio_spapr_create_window() 338 (uint64_t)create.start_addr); in vfio_spapr_create_window() 344 create.start_addr); in vfio_spapr_create_window()
|
| /openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/ |
| H A D | 0010-platform-CS1000-Add-multicore-support-for-FVP.patch | 71 @@ -53,9 +58,29 @@ void tfm_hal_boot_ns_cpu(uintptr_t start_addr) 101 @@ -63,6 +88,15 @@ void tfm_hal_boot_ns_cpu(uintptr_t start_addr) 114 (void) start_addr;
|
| /openbmc/u-boot/arch/arm/include/asm/ |
| H A D | omap_sec_common.h | 39 int secure_emif_firewall_setup(uint8_t region_num, uint32_t start_addr,
|
| /openbmc/u-boot/arch/mips/mach-mt7620/ |
| H A D | ddr_calibrate.c | 74 static inline void cal_patgen(u32 start_addr, u32 size, u32 bias) in cal_patgen() argument 76 u32 *addr = (u32 *)start_addr; in cal_patgen() 80 addr[i] = start_addr + i + bias; in cal_patgen()
|
| /openbmc/u-boot/arch/arm/mach-omap2/ |
| H A D | sec-common.c | 207 int secure_emif_firewall_setup(uint8_t region_num, uint32_t start_addr, in secure_emif_firewall_setup() argument 218 region_num, start_addr, size); in secure_emif_firewall_setup() 222 (start_addr & 0xFFFFFFF0) | (region_num & 0x0F), in secure_emif_firewall_setup()
|
| /openbmc/qemu/target/arm/ |
| H A D | gdbstub64.c | 533 uint64_t start_addr = gdb_get_cmd_param(params, 0)->val_ull; in handle_Q_memtag() local 553 end_addr = start_addr + (len - 1); /* 'len' is always >= 1 */ in handle_Q_memtag() 555 if ((start_addr ^ end_addr) & TARGET_PAGE_MASK) { in handle_Q_memtag() 566 tags = allocation_tag_mem_probe(env, mmu_index, start_addr, MMU_DATA_STORE, in handle_Q_memtag() 578 uint64_t address = start_addr; in handle_Q_memtag()
|