Searched refs:fadump_conf (Results 1 – 3 of 3) sorted by relevance
31 void __init opal_fadump_dt_scan(struct fw_dump *fadump_conf, u64 node) in opal_fadump_dt_scan() argument77 fadump_conf->boot_mem_top = be64_to_cpu(addr); in opal_fadump_dt_scan()78 pr_debug("Preserve everything above %llx\n", fadump_conf->boot_mem_top); in opal_fadump_dt_scan()81 fadump_conf->dump_active = 1; in opal_fadump_dt_scan()93 static int opal_fadump_unregister(struct fw_dump *fadump_conf);95 static void opal_fadump_update_config(struct fw_dump *fadump_conf, in opal_fadump_update_config() argument104 fadump_conf->boot_mem_dest_addr = be64_to_cpu(fdm->rgn[0].dest); in opal_fadump_update_config()106 fadump_conf->boot_mem_dest_addr); in opal_fadump_update_config()108 fadump_conf->fadumphdr_addr = be64_to_cpu(fdm->fadumphdr_addr); in opal_fadump_update_config()115 static void __init opal_fadump_get_config(struct fw_dump *fadump_conf, in opal_fadump_get_config() argument[all …]
29 static void rtas_fadump_update_config(struct fw_dump *fadump_conf, in rtas_fadump_update_config() argument32 fadump_conf->boot_mem_dest_addr = in rtas_fadump_update_config()35 fadump_conf->fadumphdr_addr = (fadump_conf->boot_mem_dest_addr + in rtas_fadump_update_config()36 fadump_conf->boot_memory_size); in rtas_fadump_update_config()43 static void __init rtas_fadump_get_config(struct fw_dump *fadump_conf, in rtas_fadump_get_config() argument46 fadump_conf->boot_mem_addr[0] = in rtas_fadump_get_config()48 fadump_conf->boot_mem_sz[0] = be64_to_cpu(fdm->rmr_region.source_len); in rtas_fadump_get_config()49 fadump_conf->boot_memory_size = fadump_conf->boot_mem_sz[0]; in rtas_fadump_get_config()51 fadump_conf->boot_mem_top = fadump_conf->boot_memory_size; in rtas_fadump_get_config()52 fadump_conf->boot_mem_regs_cnt = 1; in rtas_fadump_get_config()[all …]
119 u64 (*fadump_init_mem_struct)(struct fw_dump *fadump_conf);121 int (*fadump_setup_metadata)(struct fw_dump *fadump_conf);123 int (*fadump_register)(struct fw_dump *fadump_conf);124 int (*fadump_unregister)(struct fw_dump *fadump_conf);125 int (*fadump_invalidate)(struct fw_dump *fadump_conf);126 void (*fadump_cleanup)(struct fw_dump *fadump_conf);127 int (*fadump_process)(struct fw_dump *fadump_conf);128 void (*fadump_region_show)(struct fw_dump *fadump_conf,153 extern void rtas_fadump_dt_scan(struct fw_dump *fadump_conf, u64 node);156 rtas_fadump_dt_scan(struct fw_dump *fadump_conf, u64 node) { } in rtas_fadump_dt_scan() argument[all …]