Lines Matching refs:dt_ptr
257 static unsigned long __init kaslr_legal_offset(void *dt_ptr, unsigned long index, in kaslr_legal_offset() argument
266 koffset = get_usable_address(dt_ptr, start, offset); in kaslr_legal_offset()
283 static unsigned long __init kaslr_choose_location(void *dt_ptr, phys_addr_t size, in kaslr_choose_location() argument
291 kaslr_get_cmdline(dt_ptr); in kaslr_choose_location()
295 random = get_boot_seed(dt_ptr); in kaslr_choose_location()
304 seed = get_kaslr_seed(dt_ptr); in kaslr_choose_location()
319 regions.reserved_mem = fdt_path_offset(dt_ptr, "/reserved-memory"); in kaslr_choose_location()
321 get_cell_sizes(dt_ptr, regions.reserved_mem, in kaslr_choose_location()
327 regions.dtb_start = __pa(dt_ptr); in kaslr_choose_location()
328 regions.dtb_end = __pa(dt_ptr) + fdt_totalsize(dt_ptr); in kaslr_choose_location()
331 get_initrd_range(dt_ptr); in kaslr_choose_location()
332 get_crash_kernel(dt_ptr, ram); in kaslr_choose_location()
345 return kaslr_legal_offset(dt_ptr, index, offset); in kaslr_choose_location()
353 notrace void __init kaslr_early_init(void *dt_ptr, phys_addr_t size) in kaslr_early_init() argument
362 offset = kaslr_choose_location(dt_ptr, size, kernel_sz); in kaslr_early_init()
383 reloc_kernel_entry(dt_ptr, kernstart_virt_addr); in kaslr_early_init()