Searched refs:bfregs_per_sys_page (Results 1 – 2 of 2) sorted by relevance
1598 int bfregs_per_sys_page; in calc_total_bfregs() local1611 bfregs_per_sys_page = uars_per_sys_page * MLX5_NON_FP_BFREGS_PER_UAR; in calc_total_bfregs()1613 req->total_num_bfregs = ALIGN(req->total_num_bfregs, bfregs_per_sys_page); in calc_total_bfregs()1617 bfregi->num_static_sys_pages = req->total_num_bfregs / bfregs_per_sys_page; in calc_total_bfregs()1618 bfregi->num_dyn_bfregs = ALIGN(calc_dynamic_bfregs(uars_per_sys_page), bfregs_per_sys_page); in calc_total_bfregs()1620 bfregi->num_sys_pages = bfregi->total_num_bfregs / bfregs_per_sys_page; in calc_total_bfregs()
755 unsigned int bfregs_per_sys_page; in bfregn_to_uar_index() local762 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()