Lines Matching refs:region_cnt
98 pr_debug("Boot memory regions count: %d\n", be16_to_cpu(fdm->region_cnt)); in opal_fadump_update_config()
129 for (i = 0; i < be16_to_cpu(fdm->region_cnt); i++) { in opal_fadump_get_config()
158 if (be16_to_cpu(fdm->region_cnt) > be16_to_cpu(fdm->registered_regions)) { in opal_fadump_get_config()
162 while (i < be16_to_cpu(fdm->region_cnt)) { in opal_fadump_get_config()
174 fadump_conf->boot_mem_regs_cnt = be16_to_cpu(fdm->region_cnt); in opal_fadump_get_config()
182 fdm->region_cnt = cpu_to_be16(0); in opal_fadump_init_metadata()
197 reg_cnt = be16_to_cpu(opal_fdm->region_cnt); in opal_fadump_init_mem_struct()
206 opal_fdm->region_cnt = cpu_to_be16(reg_cnt); in opal_fadump_init_mem_struct()
280 for (i = 0; i < be16_to_cpu(opal_fdm->region_cnt); i++) { in opal_fadump_register()
301 (be16_to_cpu(opal_fdm->region_cnt) - in opal_fadump_register()
574 for (i = 0; i < be16_to_cpu(fdm_ptr->region_cnt); i++) { in opal_fadump_region_show()