Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/infiniband/hw/mlx5/
Dmain.c1580 int bfregs_per_sys_page; in calc_total_bfregs() local
1593 bfregs_per_sys_page = uars_per_sys_page * MLX5_NON_FP_BFREGS_PER_UAR; in calc_total_bfregs()
1595 req->total_num_bfregs = ALIGN(req->total_num_bfregs, bfregs_per_sys_page); in calc_total_bfregs()
1599 bfregi->num_static_sys_pages = req->total_num_bfregs / bfregs_per_sys_page; in calc_total_bfregs()
1600 bfregi->num_dyn_bfregs = ALIGN(calc_dynamic_bfregs(uars_per_sys_page), bfregs_per_sys_page); in calc_total_bfregs()
1602 bfregi->num_sys_pages = bfregi->total_num_bfregs / bfregs_per_sys_page; in calc_total_bfregs()
Dqp.c753 unsigned int bfregs_per_sys_page; in bfregn_to_uar_index() local
760 bfregs_per_sys_page = get_uars_per_sys_page(dev, bfregi->lib_uar_4k) * in bfregn_to_uar_index()
762 index_of_sys_page = bfregn / bfregs_per_sys_page; in bfregn_to_uar_index()
777 offset = bfregn % bfregs_per_sys_page / MLX5_NON_FP_BFREGS_PER_UAR; in bfregn_to_uar_index()