Home
last modified time | relevance | path

Searched refs:mem_end (Results 1 - 25 of 140) sorted by relevance

123456

/kernel/linux/linux-5.10/arch/powerpc/platforms/powermac/
H A Dbootx_init.c131 unsigned long *mem_end) in bootx_dt_add_prop()
146 dt_push_token(OF_DT_PROP, mem_end); in bootx_dt_add_prop()
147 dt_push_token(size, mem_end); in bootx_dt_add_prop()
148 dt_push_token(soff, mem_end); in bootx_dt_add_prop()
152 memcpy((void *)*mem_end, data, size); in bootx_dt_add_prop()
153 *mem_end = ALIGN(*mem_end + size, 4); in bootx_dt_add_prop()
158 unsigned long *mem_end) in bootx_add_chosen_props()
162 bootx_dt_add_prop("linux,bootx", NULL, 0, mem_end); in bootx_add_chosen_props()
167 bootx_dt_add_prop("bootargs", args, strlen(args) + 1, mem_end); in bootx_add_chosen_props()
130 bootx_dt_add_prop(char *name, void *data, int size, unsigned long *mem_end) bootx_dt_add_prop() argument
157 bootx_add_chosen_props(unsigned long base, unsigned long *mem_end) bootx_add_chosen_props() argument
180 bootx_add_display_props(unsigned long base, unsigned long *mem_end, int has_real_node) bootx_add_display_props() argument
209 bootx_dt_add_string(char *s, unsigned long *mem_end) bootx_dt_add_string() argument
216 bootx_scan_dt_build_strings(unsigned long base, unsigned long node, unsigned long *mem_end) bootx_scan_dt_build_strings() argument
274 bootx_scan_dt_build_struct(unsigned long base, unsigned long node, unsigned long *mem_end) bootx_scan_dt_build_struct() argument
351 unsigned long mem_start, mem_end; bootx_flatten_dt() local
[all...]
/kernel/linux/linux-6.6/arch/powerpc/platforms/powermac/
H A Dbootx_init.c132 unsigned long *mem_end) in bootx_dt_add_prop()
147 dt_push_token(OF_DT_PROP, mem_end); in bootx_dt_add_prop()
148 dt_push_token(size, mem_end); in bootx_dt_add_prop()
149 dt_push_token(soff, mem_end); in bootx_dt_add_prop()
153 memcpy((void *)*mem_end, data, size); in bootx_dt_add_prop()
154 *mem_end = ALIGN(*mem_end + size, 4); in bootx_dt_add_prop()
159 unsigned long *mem_end) in bootx_add_chosen_props()
163 bootx_dt_add_prop("linux,bootx", NULL, 0, mem_end); in bootx_add_chosen_props()
168 bootx_dt_add_prop("bootargs", args, strlen(args) + 1, mem_end); in bootx_add_chosen_props()
131 bootx_dt_add_prop(char *name, void *data, int size, unsigned long *mem_end) bootx_dt_add_prop() argument
158 bootx_add_chosen_props(unsigned long base, unsigned long *mem_end) bootx_add_chosen_props() argument
181 bootx_add_display_props(unsigned long base, unsigned long *mem_end, int has_real_node) bootx_add_display_props() argument
210 bootx_dt_add_string(char *s, unsigned long *mem_end) bootx_dt_add_string() argument
217 bootx_scan_dt_build_strings(unsigned long base, unsigned long node, unsigned long *mem_end) bootx_scan_dt_build_strings() argument
275 bootx_scan_dt_build_struct(unsigned long base, unsigned long node, unsigned long *mem_end) bootx_scan_dt_build_struct() argument
352 unsigned long mem_start, mem_end; bootx_flatten_dt() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/8390/
H A Dwd.c94 int mem_end = dev->mem_end; in do_wd_probe() local
122 dev->mem_end = mem_end; in do_wd_probe()
183 if ((dev->mem_start % 0x2000) || (dev->mem_end % 0x2000)) { in wd_probe1()
185 "wd.c: user supplied mem_start or mem_end not on 8kB boundary - ignored.\n"); in wd_probe1()
187 dev->mem_end = 0; in wd_probe1()
328 if (dev->mem_end != 0) { in wd_probe1()
329 ei_status.stop_page = (dev->mem_end - dev->mem_start)/256; in wd_probe1()
330 ei_status.priv = dev->mem_end in wd_probe1()
504 static int mem_end[MAX_WD_CARDS]; /* for non std. mem size */ global() variable
[all...]
H A Dmac8390.c347 dev->mem_end = dev->mem_start + offset; in mac8390_rsrc_init()
356 dev->mem_end = dev->mem_start + in mac8390_rsrc_init()
364 dev->mem_end = dev->mem_start + in mac8390_rsrc_init()
380 dev->mem_end = dev->mem_start + in mac8390_rsrc_init()
527 ei_status.stop_page = (dev->mem_end - dev->mem_start)/256; in mac8390_initdev()
529 ei_status.rmem_end = dev->mem_end; in mac8390_initdev()
615 (unsigned int)(dev->mem_end - dev->mem_start) >> 10, in mac8390_initdev()
/kernel/linux/linux-6.6/drivers/net/ethernet/8390/
H A Dwd.c93 int mem_end = dev->mem_end; in do_wd_probe() local
121 dev->mem_end = mem_end; in do_wd_probe()
183 if ((dev->mem_start % 0x2000) || (dev->mem_end % 0x2000)) { in wd_probe1()
185 "wd.c: user supplied mem_start or mem_end not on 8kB boundary - ignored.\n"); in wd_probe1()
187 dev->mem_end = 0; in wd_probe1()
329 if (dev->mem_end != 0) { in wd_probe1()
330 ei_status.stop_page = (dev->mem_end - dev->mem_start)/256; in wd_probe1()
331 ei_status.priv = dev->mem_end in wd_probe1()
505 static int mem_end[MAX_WD_CARDS]; /* for non std. mem size */ global() variable
[all...]
H A Dmac8390.c340 dev->mem_end = dev->mem_start + offset; in mac8390_rsrc_init()
349 dev->mem_end = dev->mem_start + in mac8390_rsrc_init()
357 dev->mem_end = dev->mem_start + in mac8390_rsrc_init()
373 dev->mem_end = dev->mem_start + in mac8390_rsrc_init()
519 ei_status.stop_page = (dev->mem_end - dev->mem_start)/256; in mac8390_initdev()
521 ei_status.rmem_end = dev->mem_end; in mac8390_initdev()
607 (unsigned int)(dev->mem_end - dev->mem_start) >> 10, in mac8390_initdev()
/kernel/linux/linux-5.10/arch/arm/mach-keystone/
H A Dkeystone.c68 u64 mem_start, mem_end; in keystone_pv_fixup() local
71 mem_end = memblock_end_of_DRAM(); in keystone_pv_fixup()
75 mem_end <= KEYSTONE_LOW_PHYS_END) in keystone_pv_fixup()
79 mem_end > KEYSTONE_HIGH_PHYS_END) { in keystone_pv_fixup()
81 mem_start, mem_end); in keystone_pv_fixup()
/kernel/linux/linux-5.10/arch/loongarch/loongson64/
H A Dmem.c17 u64 mem_start, mem_end, mem_size; in memblock_init() local
25 mem_end = mem_start + mem_size; in memblock_init()
35 if (max_low_pfn < (mem_end >> PAGE_SHIFT)) in memblock_init()
36 max_low_pfn = mem_end >> PAGE_SHIFT; in memblock_init()
H A Dnuma.c314 u64 mem_end, mem_start, mem_size; in init_node_memblock() local
322 mem_end = mem_start + mem_size; in init_node_memblock()
331 add_numamem_region(mem_start, mem_end, mem_type); in init_node_memblock()
336 add_numamem_region(mem_start, mem_end, mem_type); in init_node_memblock()
/kernel/linux/linux-6.6/arch/loongarch/kernel/
H A Dmem.c16 u64 mem_start, mem_end, mem_size; in memblock_init() local
24 mem_end = mem_start + mem_size; in memblock_init()
34 if (max_low_pfn < (mem_end >> PAGE_SHIFT)) in memblock_init()
35 max_low_pfn = mem_end >> PAGE_SHIFT; in memblock_init()
H A Dnuma.c305 u64 mem_end, mem_start, mem_size; in init_node_memblock() local
313 mem_end = mem_start + mem_size; in init_node_memblock()
322 add_numamem_region(mem_start, mem_end, mem_type); in init_node_memblock()
327 add_numamem_region(mem_start, mem_end, mem_type); in init_node_memblock()
/kernel/linux/linux-5.10/tools/perf/tests/
H A Dvmlinux-kallsyms.c25 u64 mem_start, mem_end; in test__vmlinux_matches_kallsyms() local
121 mem_end = vmlinux_map->unmap_ip(vmlinux_map, sym->end); in test__vmlinux_matches_kallsyms()
138 s64 skew = mem_end - UM(pair->end); in test__vmlinux_matches_kallsyms()
141 mem_start, sym->name, mem_end, in test__vmlinux_matches_kallsyms()
213 mem_end = vmlinux_map->unmap_ip(vmlinux_map, map->end); in test__vmlinux_matches_kallsyms()
227 if (mem_end != pair->end) in test__vmlinux_matches_kallsyms()
/kernel/linux/linux-6.6/arch/arm/mach-keystone/
H A Dkeystone.c107 u64 mem_start, mem_end; in keystone_pv_fixup() local
110 mem_end = memblock_end_of_DRAM(); in keystone_pv_fixup()
114 mem_end <= KEYSTONE_LOW_PHYS_END) in keystone_pv_fixup()
118 mem_end > KEYSTONE_HIGH_PHYS_END) { in keystone_pv_fixup()
120 mem_start, mem_end); in keystone_pv_fixup()
/kernel/linux/linux-6.6/tools/perf/tests/
H A Dvmlinux-kallsyms.c125 u64 mem_start, mem_end; in test__vmlinux_matches_kallsyms() local
225 mem_end = map__unmap_ip(vmlinux_map, sym->end); in test__vmlinux_matches_kallsyms()
242 s64 skew = mem_end - UM(pair->end); in test__vmlinux_matches_kallsyms()
245 mem_start, sym->name, mem_end, in test__vmlinux_matches_kallsyms()
323 mem_end = map__unmap_ip(vmlinux_map, map__end(map)); in test__vmlinux_matches_kallsyms()
339 if (mem_end != map__end(pair)) in test__vmlinux_matches_kallsyms()
/kernel/linux/linux-5.10/drivers/net/arcnet/
H A Darc-rimi.c174 dev->mem_end = last_mirror + MIRROR_SIZE - 1; in arcrimi_found()
196 dev->mem_end - dev->mem_start + 1, in arcrimi_found()
203 dev->mem_end - dev->mem_start + 1); in arcrimi_found()
215 (dev->mem_end - dev->mem_start + 1) / mirror_size, in arcrimi_found()
227 release_mem_region(dev->mem_start, dev->mem_end - dev->mem_start + 1); in arcrimi_found()
350 release_mem_region(dev->mem_start, dev->mem_end - dev->mem_start + 1); in arc_rimi_exit()
H A Dcom90xx.c500 dev->mem_end = last_mirror + MIRROR_SIZE - 1; in com90xx_found()
506 dev->mem_end - dev->mem_start + 1, in com90xx_found()
527 dev->mem_end - dev->mem_start + 1); in com90xx_found()
541 (dev->mem_end - dev->mem_start + 1) / mirror_size, in com90xx_found()
555 release_mem_region(dev->mem_start, dev->mem_end - dev->mem_start + 1); in com90xx_found()
674 dev->mem_end - dev->mem_start + 1); in com90xx_exit()
/kernel/linux/linux-6.6/drivers/net/arcnet/
H A Darc-rimi.c174 dev->mem_end = last_mirror + MIRROR_SIZE - 1; in arcrimi_found()
196 dev->mem_end - dev->mem_start + 1, in arcrimi_found()
203 dev->mem_end - dev->mem_start + 1); in arcrimi_found()
216 (dev->mem_end - dev->mem_start + 1) / mirror_size, in arcrimi_found()
228 release_mem_region(dev->mem_start, dev->mem_end - dev->mem_start + 1); in arcrimi_found()
351 release_mem_region(dev->mem_start, dev->mem_end - dev->mem_start + 1); in arc_rimi_exit()
H A Dcom90xx.c500 dev->mem_end = last_mirror + MIRROR_SIZE - 1; in com90xx_found()
506 dev->mem_end - dev->mem_start + 1, in com90xx_found()
527 dev->mem_end - dev->mem_start + 1); in com90xx_found()
542 (dev->mem_end - dev->mem_start + 1) / mirror_size, in com90xx_found()
556 release_mem_region(dev->mem_start, dev->mem_end - dev->mem_start + 1); in com90xx_found()
675 dev->mem_end - dev->mem_start + 1); in com90xx_exit()
/kernel/linux/linux-5.10/include/linux/
H A Dvlynq.h55 u32 mem_start, mem_end; member
114 return dev->mem_end; in vlynq_mem_end()
119 return dev->mem_end - dev->mem_start + 1; in vlynq_mem_len()
/kernel/linux/linux-6.6/include/linux/
H A Dvlynq.h55 u32 mem_start, mem_end; member
114 return dev->mem_end; in vlynq_mem_end()
119 return dev->mem_end - dev->mem_start + 1; in vlynq_mem_len()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
H A Dprom_init.c2446 static void __init *make_room(unsigned long *mem_start, unsigned long *mem_end, in make_room() argument
2452 while ((*mem_start + needed) > *mem_end) { in make_room()
2467 *mem_end = chunk + room; in make_room()
2476 #define dt_push_token(token, mem_start, mem_end) do { \
2477 void *room = make_room(mem_start, mem_end, 4, 4); \
2503 unsigned long *mem_end) in scan_dt_build_strings()
2515 namep = make_room(mem_start, mem_end, MAX_PROPERTY_NAME, 1); in scan_dt_build_strings()
2544 scan_dt_build_strings(child, mem_start, mem_end); in scan_dt_build_strings()
2550 unsigned long *mem_end) in scan_dt_build_struct()
2559 dt_push_token(OF_DT_BEGIN_NODE, mem_start, mem_end); in scan_dt_build_struct()
2501 scan_dt_build_strings(phandle node, unsigned long *mem_start, unsigned long *mem_end) scan_dt_build_strings() argument
2549 scan_dt_build_struct(phandle node, unsigned long *mem_start, unsigned long *mem_end) scan_dt_build_struct() argument
2666 unsigned long mem_start, mem_end, room; flatten_device_tree() local
[all...]
/kernel/linux/linux-6.6/arch/powerpc/kernel/
H A Dprom_init.c2476 static void __init *make_room(unsigned long *mem_start, unsigned long *mem_end, in make_room() argument
2482 while ((*mem_start + needed) > *mem_end) { in make_room()
2497 *mem_end = chunk + room; in make_room()
2506 #define dt_push_token(token, mem_start, mem_end) do { \
2507 void *room = make_room(mem_start, mem_end, 4, 4); \
2533 unsigned long *mem_end) in scan_dt_build_strings()
2545 namep = make_room(mem_start, mem_end, MAX_PROPERTY_NAME, 1); in scan_dt_build_strings()
2574 scan_dt_build_strings(child, mem_start, mem_end); in scan_dt_build_strings()
2580 unsigned long *mem_end) in scan_dt_build_struct()
2589 dt_push_token(OF_DT_BEGIN_NODE, mem_start, mem_end); in scan_dt_build_struct()
2531 scan_dt_build_strings(phandle node, unsigned long *mem_start, unsigned long *mem_end) scan_dt_build_strings() argument
2579 scan_dt_build_struct(phandle node, unsigned long *mem_start, unsigned long *mem_end) scan_dt_build_struct() argument
2696 unsigned long mem_start, mem_end, room; flatten_device_tree() local
[all...]
/kernel/linux/linux-6.6/drivers/net/
H A DSpace.c100 dev->mem_end = s[i].map.mem_end; in netdev_boot_setup_check()
160 map.mem_end = ints[4]; in netdev_boot_setup()
/kernel/linux/linux-5.10/arch/arm/mm/
H A Dpmsa-v7.c235 phys_addr_t mem_end; in pmsav7_adjust_lowmem_bounds() local
277 mem_end = reg_end; in pmsav7_adjust_lowmem_bounds()
278 specified_mem_size = mem_end - mem_start; in pmsav7_adjust_lowmem_bounds()
287 &mem_end, &reg_start); in pmsav7_adjust_lowmem_bounds()
/kernel/linux/linux-6.6/arch/arm/mm/
H A Dpmsa-v7.c235 phys_addr_t mem_end; in pmsav7_adjust_lowmem_bounds() local
277 mem_end = reg_end; in pmsav7_adjust_lowmem_bounds()
278 specified_mem_size = mem_end - mem_start; in pmsav7_adjust_lowmem_bounds()
287 &mem_end, &reg_start); in pmsav7_adjust_lowmem_bounds()

Completed in 21 milliseconds

123456