Home
last modified time | relevance | path

Searched refs:region_cnt (Results 1 – 11 of 11) sorted by relevance

/Linux-v6.1/arch/powerpc/platforms/powernv/
Dopal-fadump.c98 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()
[all …]
Dopal-fadump.h39 __be16 region_cnt; /* number of regions */ member
Dopal-core.c512 idx = be32_to_cpu(opalc_metadata->region_cnt); in opalcore_config_init()
/Linux-v6.1/drivers/perf/
Dmarvell_cn10k_tad_pmu.c33 u32 region_cnt; member
52 for (i = 0, new = 0; i < tad_pmu->region_cnt; i++) in tad_pmu_event_counter_read()
70 for (i = 0; i < tad_pmu->region_cnt; i++) { in tad_pmu_event_counter_stop()
91 for (i = 0; i < tad_pmu->region_cnt; i++) in tad_pmu_event_counter_start()
98 for (i = 0; i < tad_pmu->region_cnt; i++) { in tad_pmu_event_counter_start()
317 tad_pmu->region_cnt = tad_cnt; in tad_pmu_probe()
/Linux-v6.1/drivers/infiniband/hw/hns/
Dhns_roce_hem.c1118 int region_cnt, int unit) in hns_roce_hem_list_calc_root_ba() argument
1125 for (i = 0; i < region_cnt; i++) { in hns_roce_hem_list_calc_root_ba()
1226 const struct hns_roce_buf_region *regions, int region_cnt) in alloc_root_hem() argument
1233 ba_num = hns_roce_hem_list_calc_root_ba(regions, region_cnt, unit); in alloc_root_hem()
1242 r = &regions[region_cnt - 1]; in alloc_root_hem()
1298 const struct hns_roce_buf_region *regions, int region_cnt) in setup_root_hem() argument
1313 for (i = 0; i < region_cnt && total < max_ba_num; i++) { in setup_root_hem()
1340 for (i = 0; i < region_cnt; i++) in setup_root_hem()
1349 int region_cnt) in hem_list_alloc_root_bt() argument
1363 region_cnt); in hem_list_alloc_root_bt()
[all …]
Dhns_roce_mr.c861 int page_cnt, region_cnt; in mtr_init_buf_cfg() local
893 for (page_cnt = 0, region_cnt = 0; region_cnt < attr->region_count && in mtr_init_buf_cfg()
894 region_cnt < ARRAY_SIZE(cfg->region); region_cnt++) { in mtr_init_buf_cfg()
895 r = &cfg->region[region_cnt]; in mtr_init_buf_cfg()
897 buf_size = hr_hw_page_align(attr->region[region_cnt].size + in mtr_init_buf_cfg()
902 r->hopnum = to_hr_hem_hopnum(attr->region[region_cnt].hopnum, in mtr_init_buf_cfg()
906 cfg->region_count = region_cnt; in mtr_init_buf_cfg()
Dhns_roce_hem.h125 int region_cnt, int unit);
129 int region_cnt, unsigned int bt_pg_shift);
/Linux-v6.1/drivers/video/fbdev/omap/
Domapfb_main.c135 fbdev->mem_desc.region_cnt = i; in ctrl_init()
138 if (!fbdev->mem_desc.region_cnt) { in ctrl_init()
147 fbdev->mem_desc.region_cnt = 1; in ctrl_init()
158 for (i = 0; i < fbdev->mem_desc.region_cnt; i++) { in ctrl_init()
1482 for (i = 0; i < fbdev->mem_desc.region_cnt; i++) { in planes_cleanup()
1496 for (i = 0; i < fbdev->mem_desc.region_cnt; i++) { in planes_init()
1531 for (i = 0; i < fbdev->mem_desc.region_cnt; i++) in omapfb_free_resources()
1734 for (i = 0; i < fbdev->mem_desc.region_cnt; i++) { in omapfb_do_probe()
1754 vram, fbdev->mem_desc.region_cnt); in omapfb_do_probe()
Dlcdc.c658 if (!req_md->region_cnt) { in setup_fbmem()
663 if (req_md->region_cnt > 1) { in setup_fbmem()
665 req_md->region_cnt = 1; in setup_fbmem()
Domapfb.h54 int region_cnt; member
/Linux-v6.1/arch/powerpc/include/asm/
Dopal-api.h1182 __be32 region_cnt; member