/linux-6.6.21/arch/powerpc/platforms/powermac/ |
D | bootx_init.c | 132 unsigned long *mem_end) in bootx_dt_add_prop() argument 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() argument 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() 172 bootx_dt_add_prop("linux,initrd-start", &val, 4, mem_end); in bootx_add_chosen_props() [all …]
|
/linux-6.6.21/drivers/net/ethernet/8390/ |
D | wd.c | 93 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() 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 - dev->mem_start; in wd_probe1() 334 dev->mem_end = dev->mem_start + (ei_status.stop_page - WD_START_PG)*256; in wd_probe1() 345 model_name, dev->irq, dev->mem_start, dev->mem_end-1); in wd_probe1() 505 static int mem_end[MAX_WD_CARDS]; /* for non std. mem size */ variable [all …]
|
D | mac8390.c | 340 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()
|
D | ne.c | 338 bad_card = ((dev->base_addr != 0) && (dev->mem_end == BAD)); in ne_probe1() 806 dev->mem_end = bad[this_dev]; in ne_drv_probe() 969 bad[this_dev] = dev->mem_end; in ne_probe()
|
D | smc-ultra.c | 306 dev->mem_end = dev->mem_start + (ei_status.stop_page - START_PG)*256; in ultra_probe1() 317 dev->mem_end-1); in ultra_probe1()
|
/linux-6.6.21/arch/arm/mach-keystone/ |
D | keystone.c | 107 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()
|
/linux-6.6.21/arch/loongarch/kernel/ |
D | mem.c | 16 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()
|
D | numa.c | 305 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()
|
/linux-6.6.21/tools/perf/tests/ |
D | vmlinux-kallsyms.c | 125 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()
|
/linux-6.6.21/drivers/net/arcnet/ |
D | arc-rimi.c | 174 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()
|
D | com90xx.c | 500 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()
|
/linux-6.6.21/arch/powerpc/kernel/ |
D | prom_init.c | 2476 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 { \ argument 2507 void *room = make_room(mem_start, mem_end, 4, 4); \ 2533 unsigned long *mem_end) in scan_dt_build_strings() argument 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() argument 2589 dt_push_token(OF_DT_BEGIN_NODE, mem_start, mem_end); in scan_dt_build_struct() [all …]
|
/linux-6.6.21/include/linux/ |
D | vlynq.h | 55 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-6.6.21/drivers/net/ |
D | Space.c | 100 dev->mem_end = s[i].map.mem_end; in netdev_boot_setup_check() 160 map.mem_end = ints[4]; in netdev_boot_setup()
|
/linux-6.6.21/arch/arm/mm/ |
D | pmsa-v7.c | 235 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, ®_start); in pmsav7_adjust_lowmem_bounds()
|
D | pmsa-v8.c | 96 phys_addr_t mem_end; in pmsav8_adjust_lowmem_bounds() local 110 mem_end = reg_end; in pmsav8_adjust_lowmem_bounds() 119 &mem_end, ®_start); in pmsav8_adjust_lowmem_bounds()
|
/linux-6.6.21/net/core/ |
D | dev_ioctl.c | 93 cifmap->mem_end = dev->mem_end; in dev_getifmap() 103 ifmap->mem_end = dev->mem_end; in dev_getifmap() 122 .mem_end = cifmap->mem_end, in dev_setifmap()
|
/linux-6.6.21/arch/x86/xen/ |
D | setup.c | 732 phys_addr_t mem_end, addr, size, chunk_size; in xen_memory_setup() local 744 mem_end = PFN_PHYS(max_pfn); in xen_memory_setup() 761 xen_e820_table.entries[0].size = mem_end; in xen_memory_setup() 824 if (addr < mem_end) { in xen_memory_setup() 825 chunk_size = min(size, mem_end - addr); in xen_memory_setup()
|
/linux-6.6.21/drivers/char/xilinx_hwicap/ |
D | xilinx_hwicap.h | 48 resource_size_t mem_end; /* phys. address of the control registers */ member
|
/linux-6.6.21/include/uapi/linux/ |
D | if.h | 198 unsigned long mem_end; member
|
/linux-6.6.21/drivers/net/ethernet/ |
D | ethoc.c | 756 dev->base_addr, dev->mem_start, dev->mem_end); in ethoc_open() 1076 netdev->mem_end = mem->end; in ethoc_probe() 1099 if (netdev->mem_end) { in ethoc_probe() 1118 netdev->mem_end = netdev->mem_start + buffer_size; in ethoc_probe() 1126 128, (netdev->mem_end - netdev->mem_start + 1) / ETHOC_BUFSIZ); in ethoc_probe()
|
/linux-6.6.21/drivers/net/ethernet/amd/ |
D | declance.c | 1077 dev->mem_end = dev->mem_start + 0x00020000; in dec_lance_probe() 1083 dev->mem_end - dev->mem_start); in dec_lance_probe() 1127 dev->mem_end = dev->mem_start + 0x100000; in dec_lance_probe() 1157 dev->mem_end = dev->mem_start + KN01_SLOT_SIZE; in dec_lance_probe()
|
/linux-6.6.21/drivers/net/ethernet/realtek/ |
D | atp.c | 349 if (dev->mem_end & 0xf) in atp_probe1() 350 net_debug = dev->mem_end & 7; in atp_probe1()
|
/linux-6.6.21/drivers/gpu/drm/qxl/ |
D | qxl_kms.c | 61 qdev->ram_header->mem_slot.mem_end = slot->start_phys_addr + slot->size; in setup_hw_slot()
|
/linux-6.6.21/drivers/net/wan/ |
D | pci200syn.c | 377 dev->mem_end = ramphys + ramsize - 1; in pci200_pci_init_one()
|