Home
last modified time | relevance | path

Searched refs:mem_end (Results 1 – 25 of 64) sorted by relevance

123

/Linux-v5.15/arch/powerpc/platforms/powermac/
Dbootx_init.c131 unsigned long *mem_end) in bootx_dt_add_prop() argument
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() argument
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()
171 bootx_dt_add_prop("linux,initrd-start", &val, 4, mem_end); in bootx_add_chosen_props()
[all …]
/Linux-v5.15/arch/arm/mach-keystone/
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()
/Linux-v5.15/drivers/net/ethernet/8390/
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()
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 - dev->mem_start; in wd_probe1()
333 dev->mem_end = dev->mem_start + (ei_status.stop_page - WD_START_PG)*256; in wd_probe1()
344 model_name, dev->irq, dev->mem_start, dev->mem_end-1); in wd_probe1()
504 static int mem_end[MAX_WD_CARDS]; /* for non std. mem size */ variable
[all …]
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()
Dne.c339 bad_card = ((dev->base_addr != 0) && (dev->mem_end == BAD)); in ne_probe1()
809 dev->mem_end = bad[this_dev]; in ne_drv_probe()
972 bad[this_dev] = dev->mem_end; in ne_probe()
Dsmc-ultra.c305 dev->mem_end = dev->mem_start + (ei_status.stop_page - START_PG)*256; in ultra_probe1()
316 dev->mem_end-1); in ultra_probe1()
/Linux-v5.15/tools/perf/tests/
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()
/Linux-v5.15/drivers/net/arcnet/
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()
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()
/Linux-v5.15/arch/powerpc/kernel/
Dprom_init.c2480 static void __init *make_room(unsigned long *mem_start, unsigned long *mem_end, in make_room() argument
2486 while ((*mem_start + needed) > *mem_end) { in make_room()
2501 *mem_end = chunk + room; in make_room()
2510 #define dt_push_token(token, mem_start, mem_end) do { \ argument
2511 void *room = make_room(mem_start, mem_end, 4, 4); \
2537 unsigned long *mem_end) in scan_dt_build_strings() argument
2549 namep = make_room(mem_start, mem_end, MAX_PROPERTY_NAME, 1); in scan_dt_build_strings()
2578 scan_dt_build_strings(child, mem_start, mem_end); in scan_dt_build_strings()
2584 unsigned long *mem_end) in scan_dt_build_struct() argument
2593 dt_push_token(OF_DT_BEGIN_NODE, mem_start, mem_end); in scan_dt_build_struct()
[all …]
/Linux-v5.15/include/linux/
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()
/Linux-v5.15/drivers/net/
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()
/Linux-v5.15/net/core/
Ddev_ioctl.c90 cifmap->mem_end = dev->mem_end; in dev_getifmap()
100 ifmap->mem_end = dev->mem_end; in dev_getifmap()
119 .mem_end = cifmap->mem_end, in dev_setifmap()
/Linux-v5.15/arch/arm/mm/
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()
Dpmsa-v8.c96 phys_addr_t mem_end; in pmsav8_adjust_lowmem_bounds() local
110 mem_end = reg_end; in pmsav8_adjust_lowmem_bounds()
119 &mem_end, &reg_start); in pmsav8_adjust_lowmem_bounds()
/Linux-v5.15/arch/x86/xen/
Dsetup.c731 phys_addr_t mem_end, addr, size, chunk_size; in xen_memory_setup() local
743 mem_end = PFN_PHYS(max_pfn); in xen_memory_setup()
760 xen_e820_table.entries[0].size = mem_end; in xen_memory_setup()
811 if (addr < mem_end) { in xen_memory_setup()
812 chunk_size = min(size, mem_end - addr); in xen_memory_setup()
/Linux-v5.15/drivers/char/xilinx_hwicap/
Dxilinx_hwicap.h48 resource_size_t mem_end; /* phys. address of the control registers */ member
/Linux-v5.15/include/uapi/linux/
Dif.h198 unsigned long mem_end; member
/Linux-v5.15/drivers/net/ethernet/
Dethoc.c760 dev->base_addr, dev->mem_start, dev->mem_end); in ethoc_open()
1076 netdev->mem_end = mem->end; in ethoc_probe()
1102 if (netdev->mem_end) { in ethoc_probe()
1121 netdev->mem_end = netdev->mem_start + buffer_size; in ethoc_probe()
1129 128, (netdev->mem_end - netdev->mem_start + 1) / ETHOC_BUFSIZ); in ethoc_probe()
/Linux-v5.15/drivers/net/ethernet/amd/
Ddeclance.c1076 dev->mem_end = dev->mem_start + 0x00020000; in dec_lance_probe()
1082 dev->mem_end - dev->mem_start); in dec_lance_probe()
1126 dev->mem_end = dev->mem_start + 0x100000; in dec_lance_probe()
1156 dev->mem_end = dev->mem_start + KN01_SLOT_SIZE; in dec_lance_probe()
/Linux-v5.15/drivers/net/ethernet/realtek/
Datp.c349 if (dev->mem_end & 0xf) in atp_probe1()
350 net_debug = dev->mem_end & 7; in atp_probe1()
/Linux-v5.15/drivers/gpu/drm/qxl/
Dqxl_kms.c63 qdev->ram_header->mem_slot.mem_end = slot->start_phys_addr + slot->size; in setup_hw_slot()
/Linux-v5.15/drivers/net/wan/
Dc101.c364 dev->mem_end = winbase + C101_MAPPED_RAM_SIZE - 1; in c101_run()
Dpci200syn.c377 dev->mem_end = ramphys + ramsize - 1; in pci200_pci_init_one()
/Linux-v5.15/drivers/net/ethernet/cirrus/
Dmac89x0.c215 dev->mem_end = dev->mem_start + 0x1000; in mac89x0_device_probe()

123