Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/infiniband/hw/mlx5/
Dmain.c1616 int bfregs_per_sys_page; in calc_total_bfregs() local
1629 bfregs_per_sys_page = uars_per_sys_page * MLX5_NON_FP_BFREGS_PER_UAR; in calc_total_bfregs()
1631 req->total_num_bfregs = ALIGN(req->total_num_bfregs, bfregs_per_sys_page); in calc_total_bfregs()
1635 bfregi->num_static_sys_pages = req->total_num_bfregs / bfregs_per_sys_page; in calc_total_bfregs()
1636 bfregi->num_dyn_bfregs = ALIGN(calc_dynamic_bfregs(uars_per_sys_page), bfregs_per_sys_page); in calc_total_bfregs()
1638 bfregi->num_sys_pages = bfregi->total_num_bfregs / bfregs_per_sys_page; in calc_total_bfregs()
Dqp.c836 unsigned int bfregs_per_sys_page; in bfregn_to_uar_index() local
843 bfregs_per_sys_page = get_uars_per_sys_page(dev, bfregi->lib_uar_4k) * in bfregn_to_uar_index()
845 index_of_sys_page = bfregn / bfregs_per_sys_page; in bfregn_to_uar_index()
860 offset = bfregn % bfregs_per_sys_page / MLX5_NON_FP_BFREGS_PER_UAR; in bfregn_to_uar_index()