Home
last modified time | relevance | path

Searched refs:end (Results 1 – 25 of 507) sorted by relevance

12345678910>>...21

/u-boot/arch/nds32/lib/
A Dcache.c50 end -= line_size; in invalidate_icache_all()
53 end -= line_size; in invalidate_icache_all()
56 end -= line_size; in invalidate_icache_all()
58 end -= line_size; in invalidate_icache_all()
60 } while (end > 0); in invalidate_icache_all()
68 while (end > start) { in invalidate_icache_range()
145 end -= line_size; in dcache_wbinval_all()
148 end -= line_size; in dcache_wbinval_all()
151 end -= line_size; in dcache_wbinval_all()
154 end -= line_size; in dcache_wbinval_all()
[all …]
/u-boot/arch/nios2/lib/
A Dcache.c20 end += (gd->arch.dcache_line_size - 1); in __flush_dcache()
21 end &= ~(gd->arch.dcache_line_size - 1); in __flush_dcache()
36 end += (gd->arch.dcache_line_size - 1); in __flush_dcache_all()
37 end &= ~(gd->arch.dcache_line_size - 1); in __flush_dcache_all()
39 if (end > start + gd->arch.dcache_size) in __flush_dcache_all()
40 end = start + gd->arch.dcache_size; in __flush_dcache_all()
75 end = start + gd->arch.icache_size; in __flush_icache()
95 __flush_dcache(start, end); in flush_dcache_range()
97 __flush_dcache_all(start, end); in flush_dcache_range()
112 __invalidate_dcache(start, end); in invalidate_dcache_range()
[all …]
/u-boot/arch/arm/mach-imx/imx8/
A Dimage.c189 int end; in spl_spi_get_uboot_offs() local
192 end = ROUND(end, SZ_1K); in spl_spi_get_uboot_offs()
196 return end; in spl_spi_get_uboot_offs()
204 int end; in spl_mmc_get_uboot_raw_sector() local
207 end = ROUND(end, SZ_1K); in spl_mmc_get_uboot_raw_sector()
218 int end; in spl_nand_get_uboot_raw_page() local
221 end = ROUND(end, SZ_16K); in spl_nand_get_uboot_raw_page()
225 return end; in spl_nand_get_uboot_raw_page()
232 int end; in spl_nor_get_uboot_base() local
243 end = ROUND(end, SZ_1K); in spl_nor_get_uboot_base()
[all …]
A Dcpu.c243 sc_faddr_t start, end; in get_owned_memreg() local
256 *addr_end = end; in get_owned_memreg()
300 if ((end + 1) <= in get_effective_memsize()
331 if (start > end) in dram_init()
335 if ((end + 1) <= end1) in dram_init()
341 if ((end + 1) <= end2) in dram_init()
404 if ((end + 1) <= end1) in dram_init_banksize()
406 end - start + 1; in dram_init_banksize()
415 if ((end + 1) <= end2) in dram_init_banksize()
417 end - start + 1; in dram_init_banksize()
[all …]
/u-boot/cmd/
A Dini.c81 char *end; in memgets() local
86 if (end == NULL) { in memgets()
89 end = *mem + *memsize; in memgets()
126 char *end; in ini_parse() local
158 if (*end == ']') { in ini_parse()
159 *end = '\0'; in ini_parse()
169 if (*end != '=') in ini_parse()
171 if (*end == '=' || *end == ':') { in ini_parse()
172 *end = '\0'; in ini_parse()
176 if (*end == ';') in ini_parse()
[all …]
/u-boot/lib/
A Dlinux_string.c38 char *end; in strim() local
45 end = s + size - 1; in strim()
46 while (end >= s && isspace(*end)) in strim()
47 end--; in strim()
48 *(end + 1) = '\0'; in strim()
A Dmembuff.c42 len = mb->end - mb->head - 1; in membuff_putrawflex()
132 len = mb->end - mb->tail; in membuff_getraw()
137 if (mb->tail == mb->end) in membuff_getraw()
231 return mb->end - mb->start; in membuff_size()
252 topsize = mb->end - mb->tail; in membuff_makecontig()
294 char *s, *end; in membuff_readline() local
298 end = mb->head >= mb->tail ? mb->head : mb->end; in membuff_readline()
308 end = mb->head; in membuff_readline()
357 mb->end = mb->start + size; in membuff_extend_by()
365 mb->end = mb->start + size; in membuff_init()
[all …]
A Dvsprintf.c154 if ((str) < end) \
159 static char *number(char *buf, char *end, u64 num, in number() argument
524 char *end = buf + size; in vsnprintf_internal() local
527 if (end < buf) { in vsnprintf_internal()
528 end = ((void *)-1); in vsnprintf_internal()
529 size = end - buf; in vsnprintf_internal()
620 str = string16(str, end, va_arg(args, u16 *), in vsnprintf_internal()
625 str = string(str, end, va_arg(args, char *), in vsnprintf_internal()
631 str = pointer(fmt + 1, str, end, in vsnprintf_internal()
705 if (str > end) in vsnprintf_internal()
[all …]
A Dnet_utils.c48 char *end; in string_to_enetaddr() local
55 enetaddr[i] = addr ? simple_strtoul(addr, &end, 16) : 0; in string_to_enetaddr()
57 addr = (*end) ? end + 1 : end; in string_to_enetaddr()
/u-boot/arch/arm/mach-uniphier/arm32/
A Dcache-uniphier.c139 size = end - start; in uniphier_cache_maint_range()
168 uniphier_cache_maint_range(start, end, ways, in uniphier_cache_prefetch_range()
175 uniphier_cache_maint_range(start, end, ways, in uniphier_cache_touch_range()
182 uniphier_cache_maint_range(start, end, ways, in uniphier_cache_touch_zero_range()
244 void v7_outer_cache_flush_range(u32 start, u32 end) in v7_outer_cache_flush_range() argument
249 void v7_outer_cache_inval_range(u32 start, u32 end) in v7_outer_cache_inval_range() argument
258 if (start >= end) { in v7_outer_cache_inval_range()
263 if (end & (UNIPHIER_SSC_LINE_SIZE - 1)) { in v7_outer_cache_inval_range()
264 end &= ~(UNIPHIER_SSC_LINE_SIZE - 1); in v7_outer_cache_inval_range()
265 uniphier_cache_maint_range(end, UNIPHIER_SSC_LINE_SIZE, 0, in v7_outer_cache_inval_range()
[all …]
A Dcache-uniphier.h12 void uniphier_cache_prefetch_range(u32 start, u32 end, u32 ways);
13 void uniphier_cache_touch_range(u32 start, u32 end, u32 ways);
14 void uniphier_cache_touch_zero_range(u32 start, u32 end, u32 ways);
/u-boot/env/
A Dflags.c210 if (end != NULL) in skip_num()
211 *end = value; in skip_num()
217 const char *end; in eth_validate_ethaddr_str() local
223 skip_num(1, cur, &end, 2); in eth_validate_ethaddr_str()
224 if (cur == end) in eth_validate_ethaddr_str()
232 cur = end + 1; in eth_validate_ethaddr_str()
246 const char *end; in _env_flags_validate_type() local
257 if (*end != '\0') in _env_flags_validate_type()
262 if (*end != '\0') in _env_flags_validate_type()
281 if (cur == end) in _env_flags_validate_type()
[all …]
/u-boot/fs/btrfs/
A Dextent-io.c118 BUG_ON(end < start); in insert_state()
121 state->end = end; in insert_state()
252 last_end = state->end; in clear_extent_bits()
275 if (state->end <= end) { in clear_extent_bits()
291 if (state->start <= end && state->end > end) { in clear_extent_bits()
312 if (start > end) in clear_extent_bits()
357 if (state->start == start && state->end <= end) { in set_extent_bits()
387 if (state->end <= end) { in set_extent_bits()
409 this_end = end; in set_extent_bits()
438 if (start > end) in set_extent_bits()
[all …]
/u-boot/arch/arm/mach-exynos/
A Dtzpc.c16 unsigned int addr, start = 0, end = 0; in tzpc_init() local
21 end = start + ((EXYNOS5_NR_TZPC_BANKS - 1) * TZPC_BASE_OFFSET); in tzpc_init()
23 end = start + ((EXYNOS4_NR_TZPC_BANKS - 1) * TZPC_BASE_OFFSET); in tzpc_init()
25 for (addr = start; addr <= end; addr += TZPC_BASE_OFFSET) { in tzpc_init()
34 if (cpu_is_exynos5() && (addr == end)) in tzpc_init()
/u-boot/arch/x86/cpu/coreboot/
A Dsdram.c64 uint64_t end = memrange->base + memrange->size; in board_get_usable_ram_top() local
71 if (end > 0xffffffffULL) in board_get_usable_ram_top()
72 end = 0x100000000ULL; in board_get_usable_ram_top()
74 if (end - start < total_size) in board_get_usable_ram_top()
78 if (end > dest_addr) in board_get_usable_ram_top()
79 dest_addr = end; in board_get_usable_ram_top()
96 unsigned long long end = memrange->base + memrange->size; in dram_init() local
98 if (memrange->type == CB_MEM_RAM && end > ram_size) in dram_init()
/u-boot/arch/powerpc/lib/
A Dcache.c15 ulong addr, start, end; in flush_cache() local
18 end = start_addr + size - 1; in flush_cache()
20 for (addr = start; (addr <= end) && (addr >= start); in flush_cache()
28 for (addr = start; (addr <= end) && (addr >= start); in flush_cache()
/u-boot/common/
A Dhwconfig.c38 const char *end; in hwconfig_parse() local
42 end = str + optlen; in hwconfig_parse()
43 if (end - start > maxlen) in hwconfig_parse()
47 (strpbrk(end, stopchs) == end || *end == eqch || in hwconfig_parse()
48 *end == '\0')) { in hwconfig_parse()
54 if (*end != eqch) in hwconfig_parse()
61 *arglen = arg_end - end - 1; in hwconfig_parse()
63 return end + 1; in hwconfig_parse()
65 opts = end; in hwconfig_parse()
A Dfdt_region.c38 char *end; in fdt_find_regions() local
48 end = path; in fdt_find_regions()
49 *end = '\0'; in fdt_find_regions()
96 *end++ = '/'; in fdt_find_regions()
98 end += len; in fdt_find_regions()
117 while (end > path && *--end != '/') in fdt_find_regions()
119 *end = '\0'; in fdt_find_regions()
369 p->end = path; in fdt_first_region()
370 *p->end = '\0'; in fdt_first_region()
554 p.end += len; in fdt_next_region()
[all …]
A Dbootstage.c86 struct bootstage_record *end; in find_id() local
88 for (rec = data->record, end = rec + data->rec_count; rec < end; in find_id()
169 __maybe_unused char *end; in bootstage_mark_code() local
182 end = p + len; in bootstage_mark_code()
184 p += snprintf(p, end - p, "%s,", file); in bootstage_mark_code()
188 p += snprintf(p, end - p, ": %s", func); in bootstage_mark_code()
378 if (*ptrp > end) in append_data()
390 char *ptr = base, *end = ptr + size; in bootstage_stash() local
420 if (ptr > end) { in bootstage_stash()
442 end = (char *)(~(uintptr_t)0); in bootstage_unstash()
[all …]
/u-boot/include/
A Dlinker_lists.h154 static char end[0] __aligned(4) __attribute__((unused, \
156 (_type *)&end; \
180 _type *end = ll_entry_end(_type, _list); \
181 unsigned int _ll_result = end - start; \
255 static char end[0] __aligned(4) __attribute__((unused, \
257 (_type *)&end; \
/u-boot/arch/sandbox/lib/
A Dbootm.c21 int bootz_setup(ulong image, ulong *start, ulong *end) in bootz_setup() argument
33 *end = (setup_sects + 1) * 512 + syssize * 16; in bootz_setup()
36 *start, *end); in bootz_setup()
39 *end = le32_to_cpu(arm_hdr->zi_end); in bootz_setup()
42 *start, *end); in bootz_setup()
/u-boot/arch/x86/cpu/tangier/
A Dsdram.c108 unsigned long long start, end, size; in sfi_setup_e820() local
119 end = start + size; in sfi_setup_e820()
121 if (start > end) in sfi_setup_e820()
219 unsigned long long start, end; in board_get_usable_ram_top() local
225 end = start + (mentry->pages << 12); in board_get_usable_ram_top()
228 if (end > 0x7fffffffULL) in board_get_usable_ram_top()
229 end = 0x80000000ULL; in board_get_usable_ram_top()
231 if (end - start < total_size) in board_get_usable_ram_top()
235 if (end > dest_addr) in board_get_usable_ram_top()
236 dest_addr = end; in board_get_usable_ram_top()
/u-boot/arch/x86/cpu/efi/
A Dpayload.c31 struct efi_mem_desc *desc, *end; in board_get_usable_ram_top() local
51 end = (struct efi_mem_desc *)((ulong)map + size); in board_get_usable_ram_top()
53 for (; desc < end; desc = efi_get_next_mem_desc(map, desc)) { in board_get_usable_ram_top()
77 struct efi_mem_desc *desc, *end; in dram_init() local
88 end = (struct efi_mem_desc *)((ulong)map + size); in dram_init()
101 struct efi_mem_desc *desc, *end; in dram_init_banksize() local
112 end = (struct efi_mem_desc *)((ulong)map + size); in dram_init_banksize()
115 desc < end && num_banks < CONFIG_NR_DRAM_BANKS; in dram_init_banksize()
182 struct efi_mem_desc *desc, *end; in install_e820_map() local
197 end = (struct efi_mem_desc *)((ulong)map + size); in install_e820_map()
[all …]
/u-boot/test/dm/
A Dfdtdec.c30 resv.end = 0x2000; in dm_test_fdtdec_set_carveout()
36 resv.end = 0x20000; in dm_test_fdtdec_set_carveout()
42 resv.end = 0x200000; in dm_test_fdtdec_set_carveout()
82 resv.end = 0x1fff; in dm_test_fdtdec_add_reserved_memory()
96 ut_assert(size == resv.end - resv.start + 1); in dm_test_fdtdec_add_reserved_memory()
103 resv.end = 0x2fff; in dm_test_fdtdec_add_reserved_memory()
120 resv.end = 0x1fff; in dm_test_fdtdec_add_reserved_memory()
/u-boot/lib/efi_loader/
A Defi_root_node.c19 struct efi_device_path end; member
47 dp->end.type = DEVICE_PATH_TYPE_END; in efi_root_node_register()
48 dp->end.sub_type = DEVICE_PATH_SUB_TYPE_END; in efi_root_node_register()
49 dp->end.length = sizeof(struct efi_device_path); in efi_root_node_register()

Completed in 163 milliseconds

12345678910>>...21