Home
last modified time | relevance | path

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

/linux/arch/powerpc/platforms/powernv/
H A 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 …]
H A Dopal-fadump.h39 __be16 region_cnt; /* number of regions */ member
H A Dopal-core.c512 idx = be32_to_cpu(opalc_metadata->region_cnt); in opalcore_config_init()
/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_hem.c1080 int region_cnt, int unit) in hns_roce_hem_list_calc_root_ba() argument
1087 for (i = 0; i < region_cnt; i++) { in hns_roce_hem_list_calc_root_ba()
1193 const struct hns_roce_buf_region *regions, int region_cnt) in alloc_root_hem() argument
1200 ba_num = hns_roce_hem_list_calc_root_ba(regions, region_cnt, unit); in alloc_root_hem()
1209 r = &regions[region_cnt - 1]; in alloc_root_hem()
1275 const struct hns_roce_buf_region *regions, int region_cnt) in setup_root_hem() argument
1290 for (i = 0; i < region_cnt && total <= max_ba_num; i++) { in setup_root_hem()
1317 for (i = 0; i < region_cnt; i++) in setup_root_hem()
1326 int region_cnt) in hem_list_alloc_root_bt() argument
1340 region_cnt); in hem_list_alloc_root_bt()
[all …]
H A Dhns_roce_hem.h109 int region_cnt, int unit);
113 int region_cnt, unsigned int bt_pg_shift);
/linux/drivers/video/fbdev/omap/
H A 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()
1479 for (i = 0; i < fbdev->mem_desc.region_cnt; i++) { in planes_cleanup()
1493 for (i = 0; i < fbdev->mem_desc.region_cnt; i++) { in planes_init()
1528 for (i = 0; i < fbdev->mem_desc.region_cnt; i++) in omapfb_free_resources()
1729 for (i = 0; i < fbdev->mem_desc.region_cnt; i++) { in omapfb_do_probe()
1749 vram, fbdev->mem_desc.region_cnt); in omapfb_do_probe()
H A 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()
H A Domapfb.h54 int region_cnt; member
/linux/arch/powerpc/include/asm/
H A Dopal-api.h1182 __be32 region_cnt; member