Home
last modified time | relevance | path

Searched refs:dt_ptr (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/arch/powerpc/mm/nohash/
Dkaslr_booke.c257 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()
[all …]
De500.c318 notrace void __init relocate_init(u64 dt_ptr, phys_addr_t start) in relocate_init() argument
350 early_get_first_memblock_info(__va(dt_ptr), &size); in relocate_init()
371 restore_to_as0(n, offset, __va(dt_ptr), 1); in relocate_init()
376 kaslr_early_init(__va(dt_ptr), size); in relocate_init()
/linux-6.12.1/arch/powerpc/mm/
Dmmu_decl.h121 extern void restore_to_as0(int esel, int offset, void *dt_ptr, int bootcpu);
124 void relocate_init(u64 dt_ptr, phys_addr_t start);
131 void kaslr_early_init(void *dt_ptr, phys_addr_t size);
134 static inline void kaslr_early_init(void *dt_ptr, phys_addr_t size) {} in kaslr_early_init() argument
/linux-6.12.1/arch/powerpc/include/asm/
Dsetup.h79 unsigned long __init early_init(unsigned long dt_ptr);
80 void __init machine_init(u64 dt_ptr);
82 void __init early_setup(unsigned long dt_ptr);
/linux-6.12.1/arch/powerpc/kernel/
Dsetup_32.c76 notrace void __init machine_init(u64 dt_ptr) in machine_init() argument
95 early_init_devtree(__va(dt_ptr)); in machine_init()
Dsetup_64.c340 void __init early_setup(unsigned long dt_ptr) in early_setup() argument
376 if (!dt_cpu_ftrs_init(__va(dt_ptr))) in early_setup()
383 udbg_printf(" -> %s(), dt_ptr: 0x%lx\n", __func__, dt_ptr); in early_setup()
391 early_init_devtree(__va(dt_ptr)); in early_setup()
Dearly_32.c19 notrace unsigned long __init early_init(unsigned long dt_ptr) in early_init() argument