Searched refs:fdm (Results 1 – 2 of 2) sorted by relevance
25 static struct rtas_fadump_mem_struct fdm; variable29 const struct rtas_fadump_mem_struct *fdm) in rtas_fadump_update_config() argument32 be64_to_cpu(fdm->rmr_region.destination_address); in rtas_fadump_update_config()43 const struct rtas_fadump_mem_struct *fdm) in rtas_fadump_get_config() argument46 be64_to_cpu(fdm->rmr_region.source_address); in rtas_fadump_get_config()47 fadump_conf->boot_mem_sz[0] = be64_to_cpu(fdm->rmr_region.source_len); in rtas_fadump_get_config()58 be64_to_cpu(fdm->cpu_state_data.destination_address); in rtas_fadump_get_config()60 rtas_fadump_update_config(fadump_conf, fdm); in rtas_fadump_get_config()67 memset(&fdm, 0, sizeof(struct rtas_fadump_mem_struct)); in rtas_fadump_init_mem_struct()70 fdm.header.dump_format_version = cpu_to_be32(0x00000001); in rtas_fadump_init_mem_struct()[all …]
96 const struct opal_fadump_mem_struct *fdm) in opal_fadump_update_config() argument98 pr_debug("Boot memory regions count: %d\n", be16_to_cpu(fdm->region_cnt)); in opal_fadump_update_config()104 fadump_conf->boot_mem_dest_addr = be64_to_cpu(fdm->rgn[0].dest); in opal_fadump_update_config()108 fadump_conf->fadumphdr_addr = be64_to_cpu(fdm->fadumphdr_addr); in opal_fadump_update_config()116 const struct opal_fadump_mem_struct *fdm) in opal_fadump_get_config() argument129 for (i = 0; i < be16_to_cpu(fdm->region_cnt); i++) { in opal_fadump_get_config()130 base = be64_to_cpu(fdm->rgn[i].src); in opal_fadump_get_config()131 size = be64_to_cpu(fdm->rgn[i].size); in opal_fadump_get_config()146 fadump_conf->reserve_dump_area_start = be64_to_cpu(fdm->rgn[0].dest); in opal_fadump_get_config()158 if (be16_to_cpu(fdm->region_cnt) > be16_to_cpu(fdm->registered_regions)) { in opal_fadump_get_config()[all …]