Searched refs:region_cnt (Results 1 – 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/ |
D | opal-fadump.c | 98 pr_debug("Boot memory regions count: %d\n", fdm->region_cnt); in opal_fadump_update_config() 129 for (i = 0; i < fdm->region_cnt; i++) { in opal_fadump_get_config() 158 if (fdm->region_cnt > fdm->registered_regions) { in opal_fadump_get_config() 162 while (i < fdm->region_cnt) { in opal_fadump_get_config() 173 fadump_conf->boot_mem_regs_cnt = fdm->region_cnt; in opal_fadump_get_config() 181 fdm->region_cnt = 0; in opal_fadump_init_metadata() 200 opal_fdm->region_cnt++; in opal_fadump_init_mem_struct() 274 for (i = 0; i < opal_fdm->region_cnt; i++) { in opal_fadump_register() 294 (opal_fdm->region_cnt - opal_fdm->registered_regions)); in opal_fadump_register() 566 for (i = 0; i < fdm_ptr->region_cnt; i++) { in opal_fadump_region_show()
|
D | opal-fadump.h | 39 u16 region_cnt; /* number of regions */ member
|
D | opal-core.c | 510 idx = be32_to_cpu(opalc_metadata->region_cnt); in opalcore_config_init()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/ |
D | hns_roce_hem.c | 1190 int region_cnt, int unit) in hns_roce_hem_list_calc_root_ba() argument 1197 for (i = 0; i < region_cnt; i++) { in hns_roce_hem_list_calc_root_ba() 1299 int region_cnt) in hem_list_alloc_root_bt() argument 1320 ba_num = hns_roce_hem_list_calc_root_ba(regions, region_cnt, unit); in hem_list_alloc_root_bt() 1327 r = ®ions[region_cnt - 1]; in hem_list_alloc_root_bt() 1337 for (i = 0; i < region_cnt; i++) in hem_list_alloc_root_bt() 1341 for (i = 0; i < region_cnt && total < ba_num; i++) { in hem_list_alloc_root_bt() 1385 for (i = 0; i < region_cnt; i++) in hem_list_alloc_root_bt() 1391 for (i = 0; i < region_cnt; i++) in hem_list_alloc_root_bt() 1403 int region_cnt, unsigned int bt_pg_shift) in hns_roce_hem_list_request() argument [all …]
|
D | hns_roce_mr.c | 950 int region_cnt; in mtr_init_buf_cfg() local 978 for (page_cnt = 0, region_cnt = 0; page_cnt < cfg->buf_pg_count && in mtr_init_buf_cfg() 979 region_cnt < attr->region_count && in mtr_init_buf_cfg() 980 region_cnt < ARRAY_SIZE(cfg->region); region_cnt++) { in mtr_init_buf_cfg() 981 r = &cfg->region[region_cnt]; in mtr_init_buf_cfg() 983 buf_size = hr_hw_page_align(attr->region[region_cnt].size); in mtr_init_buf_cfg() 986 r->hopnum = to_hr_hem_hopnum(attr->region[region_cnt].hopnum, in mtr_init_buf_cfg() 990 if (region_cnt < 1) { in mtr_init_buf_cfg() 997 cfg->region_count = region_cnt; in mtr_init_buf_cfg()
|
D | hns_roce_hem.h | 132 int region_cnt, int unit); 136 int region_cnt, unsigned int bt_pg_shift);
|
/kernel/linux/linux-5.10/drivers/video/fbdev/omap/ |
D | omapfb_main.c | 135 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() 1483 for (i = 0; i < fbdev->mem_desc.region_cnt; i++) { in planes_cleanup() 1497 for (i = 0; i < fbdev->mem_desc.region_cnt; i++) { in planes_init() 1532 for (i = 0; i < fbdev->mem_desc.region_cnt; i++) in omapfb_free_resources() 1722 for (i = 0; i < fbdev->mem_desc.region_cnt; i++) { in omapfb_do_probe() 1742 vram, fbdev->mem_desc.region_cnt); in omapfb_do_probe()
|
D | lcdc.c | 656 if (!req_md->region_cnt) { in setup_fbmem() 661 if (req_md->region_cnt > 1) { in setup_fbmem() 663 req_md->region_cnt = 1; in setup_fbmem()
|
D | omapfb.h | 54 int region_cnt; member
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | opal-api.h | 1181 __be32 region_cnt; member
|