Lines Matching refs:dt_ptr
258 static unsigned long __init kaslr_legal_offset(void *dt_ptr, unsigned long index, in kaslr_legal_offset() argument
267 koffset = get_usable_address(dt_ptr, start, offset); in kaslr_legal_offset()
284 static unsigned long __init kaslr_choose_location(void *dt_ptr, phys_addr_t size, in kaslr_choose_location() argument
292 kaslr_get_cmdline(dt_ptr); in kaslr_choose_location()
296 random = get_boot_seed(dt_ptr); in kaslr_choose_location()
305 seed = get_kaslr_seed(dt_ptr); in kaslr_choose_location()
320 regions.reserved_mem = fdt_path_offset(dt_ptr, "/reserved-memory"); in kaslr_choose_location()
322 get_cell_sizes(dt_ptr, regions.reserved_mem, in kaslr_choose_location()
328 regions.dtb_start = __pa(dt_ptr); in kaslr_choose_location()
329 regions.dtb_end = __pa(dt_ptr) + fdt_totalsize(dt_ptr); in kaslr_choose_location()
332 get_initrd_range(dt_ptr); in kaslr_choose_location()
333 get_crash_kernel(dt_ptr, ram); in kaslr_choose_location()
346 return kaslr_legal_offset(dt_ptr, index, offset); in kaslr_choose_location()
354 notrace void __init kaslr_early_init(void *dt_ptr, phys_addr_t size) in kaslr_early_init() argument
363 offset = kaslr_choose_location(dt_ptr, size, kernel_sz); in kaslr_early_init()
384 reloc_kernel_entry(dt_ptr, kernstart_virt_addr); in kaslr_early_init()