Lines Matching refs:fdm_active
28 static const struct rtas_fadump_mem_struct *fdm_active; variable
268 NULL, FADUMP_INVALIDATE, fdm_active, in rtas_fadump_invalidate()
282 fdm_active = NULL; in rtas_fadump_invalidate()
442 if (!fdm_active || !fadump_conf->fadumphdr_addr) in rtas_fadump_process()
446 for (int i = 0; i < be16_to_cpu(fdm_active->header.dump_num_sections); i++) { in rtas_fadump_process()
447 int type = be16_to_cpu(fdm_active->rgn[i].source_data_type); in rtas_fadump_process()
454 if (fdm_active->rgn[i].error_flags != 0) { in rtas_fadump_process()
458 if (fdm_active->rgn[i].bytes_dumped != fdm_active->rgn[i].source_len) { in rtas_fadump_process()
464 be16_to_cpu(fdm_active->rgn[i].source_data_type), in rtas_fadump_process()
465 be64_to_cpu(fdm_active->rgn[i].source_address), in rtas_fadump_process()
466 be64_to_cpu(fdm_active->rgn[i].destination_address)); in rtas_fadump_process()
471 if (fdm_active->rgn[i].bytes_dumped != fdm_active->rgn[i].source_len || in rtas_fadump_process()
472 fdm_active->rgn[i].error_flags != 0) { in rtas_fadump_process()
484 be16_to_cpu(fdm_active->rgn[i].source_data_type), in rtas_fadump_process()
485 be64_to_cpu(fdm_active->rgn[i].source_address), in rtas_fadump_process()
486 be64_to_cpu(fdm_active->rgn[i].destination_address)); in rtas_fadump_process()
499 if (fdm_active) in rtas_fadump_region_show()
500 fdm_ptr = fdm_active; in rtas_fadump_region_show()
549 if (fdm_active) { in rtas_fadump_region_show()
614 fdm_active = of_get_flat_dt_prop(node, "ibm,kernel-dump", NULL); in rtas_fadump_dt_scan()
615 if (fdm_active) { in rtas_fadump_dt_scan()
618 rtas_fadump_get_config(fadump_conf, (void *)__pa(fdm_active)); in rtas_fadump_dt_scan()