Lines Matching refs:phyp_dump_info
31 struct phyp_dump *phyp_dump_info = &phyp_dump_vars; variable
109 ph->cpu_data.source_length = phyp_dump_info->cpu_state_size; in init_dump_header()
111 addr_offset += phyp_dump_info->cpu_state_size; in init_dump_header()
116 ph->hpte_data.source_length = phyp_dump_info->hpte_region_size; in init_dump_header()
118 addr_offset += phyp_dump_info->hpte_region_size; in init_dump_header()
194 return sprintf(buf, "%lx\n", phyp_dump_info->phyp_dump_at_boot); in show_phyp_dump_active()
296 if (addr < phyp_dump_info->init_reserve_start) in track_freed_range()
299 if ((addr >= phyp_dump_info->init_reserve_start) && in track_freed_range()
300 (addr <= phyp_dump_info->init_reserve_start + in track_freed_range()
301 phyp_dump_info->init_reserve_size)) in track_freed_range()
304 if ((addr >= phyp_dump_info->reserved_scratch_addr) && in track_freed_range()
305 (addr <= phyp_dump_info->reserved_scratch_addr + in track_freed_range()
306 phyp_dump_info->reserved_scratch_size)) in track_freed_range()
309 if ((reserved_area_size == phyp_dump_info->init_reserve_size) && in track_freed_range()
310 (scratch_area_size == phyp_dump_info->reserved_scratch_size)) { in track_freed_range()
313 phyp_dump_info->reserved_scratch_addr); in track_freed_range()
315 phyp_dump_info->reserved_scratch_addr); in track_freed_range()
347 if (start_addr < phyp_dump_info->init_reserve_start) in store_release_region()
348 start_addr = phyp_dump_info->init_reserve_start; in store_release_region()
350 end_addr = phyp_dump_info->init_reserve_start + in store_release_region()
351 phyp_dump_info->init_reserve_size; in store_release_region()
369 second_addr_range = phyp_dump_info->init_reserve_size - in show_release_region()
370 phyp_dump_info->reserved_scratch_size; in show_release_region()
379 phyp_dump_info->init_reserve_start, in show_release_region()
397 if (phyp_dump_info->init_reserve_size == 0) in phyp_dump_setup()
401 if (!phyp_dump_info->phyp_dump_configured) in phyp_dump_setup()
423 dump_area_start = phyp_dump_info->init_reserve_start & PAGE_MASK; in phyp_dump_setup()
438 phyp_dump_info->reserved_scratch_addr = in phyp_dump_setup()
440 phyp_dump_info->reserved_scratch_size = in phyp_dump_setup()
462 phyp_dump_info->phyp_dump_configured = 0; in early_init_dt_scan_phyp_dump()
463 phyp_dump_info->phyp_dump_is_active = 0; in early_init_dt_scan_phyp_dump()
469 phyp_dump_info->phyp_dump_configured++; in early_init_dt_scan_phyp_dump()
472 phyp_dump_info->phyp_dump_is_active++; in early_init_dt_scan_phyp_dump()
480 phyp_dump_info->cpu_state_size = *((unsigned long *)&sizes[1]); in early_init_dt_scan_phyp_dump()
483 phyp_dump_info->hpte_region_size = in early_init_dt_scan_phyp_dump()
491 phyp_dump_info->phyp_dump_at_boot = 1; in early_phyp_dump_enabled()
497 phyp_dump_info->phyp_dump_at_boot = 1; in early_phyp_dump_enabled()
499 phyp_dump_info->phyp_dump_at_boot = 0; in early_phyp_dump_enabled()
509 phyp_dump_info->reserve_bootvar = memparse(p, &p); in early_phyp_dump_reserve_size()