Home
last modified time | relevance | path

Searched refs:bfregs_per_sys_page (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dmain.c1597 int bfregs_per_sys_page; in calc_total_bfregs() local
1610 bfregs_per_sys_page = uars_per_sys_page * MLX5_NON_FP_BFREGS_PER_UAR; in calc_total_bfregs()
1612 req->total_num_bfregs = ALIGN(req->total_num_bfregs, bfregs_per_sys_page); in calc_total_bfregs()
1616 bfregi->num_static_sys_pages = req->total_num_bfregs / bfregs_per_sys_page; in calc_total_bfregs()
1617 bfregi->num_dyn_bfregs = ALIGN(calc_dynamic_bfregs(uars_per_sys_page), bfregs_per_sys_page); in calc_total_bfregs()
1619 bfregi->num_sys_pages = bfregi->total_num_bfregs / bfregs_per_sys_page; in calc_total_bfregs()
Dqp.c755 unsigned int bfregs_per_sys_page; in bfregn_to_uar_index() local
762 bfregs_per_sys_page = get_uars_per_sys_page(dev, bfregi->lib_uar_4k) * in bfregn_to_uar_index()
764 index_of_sys_page = bfregn / bfregs_per_sys_page; in bfregn_to_uar_index()
779 offset = bfregn % bfregs_per_sys_page / MLX5_NON_FP_BFREGS_PER_UAR; in bfregn_to_uar_index()