Searched refs:fdm_ptr (Results 1 – 2 of 2) sorted by relevance
497 const struct rtas_fadump_mem_struct *fdm_ptr; in rtas_fadump_region_show() local500 fdm_ptr = fdm_active; in rtas_fadump_region_show()502 fdm_ptr = &fdm; in rtas_fadump_region_show()505 for (int i = 0; i < be16_to_cpu(fdm_ptr->header.dump_num_sections); i++) { in rtas_fadump_region_show()506 int type = be16_to_cpu(fdm_ptr->rgn[i].source_data_type); in rtas_fadump_region_show()511 be64_to_cpu(fdm_ptr->rgn[i].destination_address), in rtas_fadump_region_show()512 be64_to_cpu(fdm_ptr->rgn[i].destination_address) + in rtas_fadump_region_show()513 be64_to_cpu(fdm_ptr->rgn[i].source_len) - 1, in rtas_fadump_region_show()514 be64_to_cpu(fdm_ptr->rgn[i].source_len), in rtas_fadump_region_show()515 be64_to_cpu(fdm_ptr->rgn[i].bytes_dumped)); in rtas_fadump_region_show()[all …]
549 const struct opal_fadump_mem_struct *fdm_ptr; in opal_fadump_region_show() local554 fdm_ptr = opal_fdm_active; in opal_fadump_region_show()556 fdm_ptr = opal_fdm; in opal_fadump_region_show()558 for (i = 0; i < be16_to_cpu(fdm_ptr->region_cnt); i++) { in opal_fadump_region_show()564 (i < be16_to_cpu(fdm_ptr->registered_regions))) in opal_fadump_region_show()565 dumped_bytes = be64_to_cpu(fdm_ptr->rgn[i].size); in opal_fadump_region_show()568 be64_to_cpu(fdm_ptr->rgn[i].src), in opal_fadump_region_show()569 be64_to_cpu(fdm_ptr->rgn[i].dest)); in opal_fadump_region_show()571 be64_to_cpu(fdm_ptr->rgn[i].size), dumped_bytes); in opal_fadump_region_show()