Home
last modified time | relevance | path

Searched refs:end_addr (Results 1 – 24 of 24) sorted by relevance

/openbmc/u-boot/env/
H A Dflash.c59 static ulong __maybe_unused end_addr = variable
129 debug("Protect off %08lX ... %08lX\n", (ulong)flash_addr, end_addr); in env_flash_save()
131 if (flash_sect_protect(0, (ulong)flash_addr, end_addr)) in env_flash_save()
197 ulong ltmp = end_addr; in env_flash_save()
202 end_addr = end_addr_new; in env_flash_save()
214 flash_sect_protect(1, (ulong)flash_addr, end_addr); in env_flash_save()
247 up_data = end_addr + 1 - ((long)flash_addr + CONFIG_ENV_SIZE); in env_flash_save()
265 debug("Protect off %08lX ... %08lX\n", (ulong)flash_addr, end_addr); in env_flash_save()
267 if (flash_sect_protect(0, (long)flash_addr, end_addr)) in env_flash_save()
275 if (flash_sect_erase((long)flash_addr, end_addr)) in env_flash_save()
[all …]
/openbmc/u-boot/cmd/ti/
H A Dddr3.c231 u32 start_addr, end_addr, range, ecc_ctrl; in is_addr_valid() local
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()
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
304 end_addr = simple_strtoul(argv[3], NULL, 16); in do_ddr_test()
309 (end_addr < CONFIG_SYS_SDRAM_BASE) || in do_ddr_test()
310 (end_addr > (CONFIG_SYS_SDRAM_BASE + in do_ddr_test()
311 get_effective_memsize() - 1)) || (start_addr >= end_addr)) { in do_ddr_test()
[all …]
/openbmc/u-boot/arch/arm/lib/
H A Dsemihosting.c149 ulong *end_addr) in smh_load_file() argument
169 *end_addr = load_addr + len - 1; in smh_load_file()
173 *end_addr, in smh_load_file()
187 ulong end_addr = 0; in do_smhload() local
195 ret = smh_load_file(argv[1], load_addr, &end_addr); in do_smhload()
201 sprintf(end_str, "0x%08lx", end_addr); in do_smhload()
/openbmc/u-boot/arch/x86/lib/
H A Dmrccache.c45 ulong base_addr, end_addr; in mrccache_find_current() local
49 end_addr = base_addr + entry->length; in mrccache_find_current()
58 if ((ulong)next >= end_addr) in mrccache_find_current()
90 ulong base_addr, end_addr; in find_next_mrc_cache() local
93 end_addr = base_addr + entry->length; in find_next_mrc_cache()
96 if ((ulong)cache >= end_addr) { in find_next_mrc_cache()
/openbmc/qemu/include/hw/xen/
H A Dxen_native.h372 hwaddr end_addr = start_addr + size - 1; in xen_map_memory_section() local
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()
389 hwaddr end_addr = start_addr + size - 1; in xen_unmap_memory_section() local
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()
406 hwaddr end_addr = start_addr + size - 1; in xen_map_io_section() local
412 trace_xen_map_portio_range(ioservid, start_addr, end_addr); in xen_map_io_section()
414 start_addr, end_addr); in xen_map_io_section()
423 hwaddr end_addr = start_addr + size - 1; in xen_unmap_io_section() local
[all …]
/openbmc/u-boot/arch/powerpc/cpu/mpc8xxx/
H A Dpamu_table.c19 tbl->end_addr[i] = tbl->start_addr[i] + tbl->size[i] - 1; in construct_pamu_addr_table()
26 tbl->end_addr[i] = tbl->start_addr[i] + tbl->size[i] - 1; in construct_pamu_addr_table()
34 tbl->end_addr[i] = tbl->start_addr[i] + tbl->size[i] - 1; in construct_pamu_addr_table()
H A Dfsl_pamu.c149 uint64_t end_addr = subwin_addr + size; in pamu_config_spaace() local
156 size = end_addr - sec_addr; in pamu_config_spaace()
167 while (sec_addr < end_addr) { in pamu_config_spaace()
169 end_addr); in pamu_config_spaace()
177 win_size = end_addr - sec_addr; in pamu_config_spaace()
384 max_addr = find_max(tbl->end_addr, num_entries); in config_pamu()
/openbmc/u-boot/arch/xtensa/lib/
H A Dcache.c41 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/qemu/pc-bios/optionrom/
H A Dpvh_main.c54 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/tests/qtest/
H A Dpnv-xive2-common.c161 uint64_t end_addr, queue_addr, queue_hi, queue_lo; in set_end() local
165 end_addr = XIVE_END_MEM + (uint64_t)index * sizeof(Xive2End); in set_end()
188 xive_copy_struct(qts, &end, end_addr, sizeof(end)); in set_end()
H A Dnpcm7xx_sdhci-test.c126 uint64_t end_addr = addr + NPCM7XX_REG_SIZE; in test_reset() local
136 while (addr < end_addr) { in test_reset()
/openbmc/qemu/hw/usb/
H A Dhcd-ohci.c541 uint32_t start_addr, uint32_t end_addr, in ohci_copy_iso_td() argument
558 ptr = end_addr & ~0xfffu; in ohci_copy_iso_td()
588 uint32_t start_addr, end_addr; in ohci_service_iso_td() local
702 end_addr = (iso_td.bp & OHCI_PAGE_MASK) | in ohci_service_iso_td()
705 end_addr = (iso_td.be & OHCI_PAGE_MASK) | in ohci_service_iso_td()
710 end_addr = next_offset; in ohci_service_iso_td()
713 if (start_addr > end_addr) { in ohci_service_iso_td()
714 trace_usb_ohci_iso_td_bad_cc_overrun(start_addr, end_addr); in ohci_service_iso_td()
718 if ((start_addr & OHCI_PAGE_MASK) != (end_addr & OHCI_PAGE_MASK)) { in ohci_service_iso_td()
719 len = (end_addr & OHCI_OFFSET_MASK) + 0x1001 in ohci_service_iso_td()
[all …]
/openbmc/u-boot/cmd/
H A Dload.c138 ulong end_addr = 0; in load_serial() local
169 if ((store_addr + binlen - 1) > end_addr) in load_serial()
170 end_addr = store_addr + binlen - 1; in load_serial()
176 size = end_addr - start_addr + 1; in load_serial()
181 start_addr, end_addr, size, size in load_serial()
H A Dmem.c569 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()
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()
/openbmc/qemu/target/arm/
H A Dgdbstub64.c538 uint64_t end_addr; 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()
580 while (address <= end_addr) { in handle_Q_memtag()
/openbmc/qemu/hw/xen/
H A Dtrace-events8 xen_map_mmio_range(uint32_t id, uint64_t start_addr, uint64_t end_addr) "id: %u start: 0x%"PRIx64" …
9 xen_unmap_mmio_range(uint32_t id, uint64_t start_addr, uint64_t end_addr) "id: %u start: 0x%"PRIx64…
10 xen_map_portio_range(uint32_t id, uint64_t start_addr, uint64_t end_addr) "id: %u start: 0x%"PRIx64…
11 xen_unmap_portio_range(uint32_t id, uint64_t start_addr, uint64_t end_addr) "id: %u start: 0x%"PRIx…
/openbmc/u-boot/arch/powerpc/include/asm/
H A Dfsl_pamu.h92 phys_addr_t end_addr[10]; member
/openbmc/qemu/bsd-user/
H A Delfload.c250 abi_ulong end_addr, end_addr1; in padzero() local
252 end_addr = HOST_PAGE_ALIGN(elf_bss); in padzero()
253 if (end_addr1 < end_addr) { in padzero()
254 mmap((void *)g2h_untagged(end_addr1), end_addr - end_addr1, in padzero()
/openbmc/u-boot/drivers/video/exynos/
H A Dexynos_fb.c190 unsigned long start_addr, end_addr; in exynos_fimd_set_buffer_address() local
193 end_addr = start_addr + ((priv->vl_col * (VNBITS(priv->vl_bpix) / 8)) * in exynos_fimd_set_buffer_address()
198 writel(end_addr, (unsigned int)&reg->vidw00add1b0 + in exynos_fimd_set_buffer_address()
/openbmc/qemu/hw/misc/
H A Dxlnx-versal-cframe-reg.c143 uint32_t end_addr) in cfrm_readout_frames() argument
151 for (uint32_t addr = start_addr; addr < end_addr; addr++) { in cfrm_readout_frames()
178 uint32_t end_addr = start_addr + s->regs[R_FRCNT0] / FRAME_NUM_QWORDS; in cfrm_frcnt_post_write() local
180 cfrm_readout_frames(s, start_addr, end_addr); in cfrm_frcnt_post_write()
/openbmc/qemu/hw/virtio/
H A Dvhost.c195 hwaddr end_addr; in vhost_sync_dirty_bitmap() local
201 end_addr = range_get_last(start_addr, int128_get64(section->size)); in vhost_sync_dirty_bitmap()
203 end_addr = MIN(last, end_addr); in vhost_sync_dirty_bitmap()
208 vhost_dev_sync_region(dev, section, start_addr, end_addr, in vhost_sync_dirty_bitmap()
256 vhost_dev_sync_region(dev, section, start_addr, end_addr, phys, in vhost_sync_dirty_bitmap()
263 end_addr, vq->used_phys, in vhost_sync_dirty_bitmap()
/openbmc/qemu/target/hexagon/
H A Dop_helper.c155 uint32_t end_addr; in HELPER() local
159 end_addr = start_addr + length; in HELPER()
167 end_addr = start_addr | length; in HELPER()
170 if (new_ptr >= end_addr) { in HELPER()
/openbmc/qemu/hw/ssi/
H A Dxlnx-versal-ospi.c544 uint64_t end_addr = 0; in ospi_ahb_decoder_cs() local
548 end_addr += flash_sz(s, cs); in ospi_ahb_decoder_cs()
549 if (addr < end_addr) { in ospi_ahb_decoder_cs()
/openbmc/u-boot/drivers/mtd/onenand/
H A Donenand_base.c722 loff_t end_addr = addr + len; in onenand_invalidate_bufferram() local
728 if (buf_addr >= addr && buf_addr < end_addr) in onenand_invalidate_bufferram()