Lines Matching refs:pbl_size
515 dma_free_coherent(&pdev->dev, pbl_info->pbl_size, in qedr_free_pbl()
545 va = dma_alloc_coherent(&pdev->dev, pbl_info->pbl_size, &pa, in qedr_alloc_pbl_tbl()
565 dma_free_coherent(&pdev->dev, pbl_info->pbl_size, in qedr_alloc_pbl_tbl()
578 u32 pbl_size; in qedr_prepare_pbl_tbl() local
589 pbl_size = MIN_FW_PBL_PAGE_SIZE; in qedr_prepare_pbl_tbl()
590 pbl_capacity = NUM_PBES_ON_PAGE(pbl_size) * in qedr_prepare_pbl_tbl()
591 NUM_PBES_ON_PAGE(pbl_size); in qedr_prepare_pbl_tbl()
594 pbl_size *= 2; in qedr_prepare_pbl_tbl()
595 pbl_capacity = pbl_size / sizeof(u64); in qedr_prepare_pbl_tbl()
599 num_pbls = DIV_ROUND_UP(num_pbes, NUM_PBES_ON_PAGE(pbl_size)); in qedr_prepare_pbl_tbl()
605 pbl_size = max_t(u32, MIN_FW_PBL_PAGE_SIZE, in qedr_prepare_pbl_tbl()
611 pbl_info->pbl_size = pbl_size; in qedr_prepare_pbl_tbl()
616 pbl_info->num_pbes, pbl_info->num_pbls, pbl_info->pbl_size); in qedr_prepare_pbl_tbl()
664 if (pbe_cnt == (pbl_info->pbl_size / sizeof(u64))) { in qedr_populate_pbls()
3013 mr->hw_mr.pbl_page_size_log = ilog2(mr->info.pbl_info.pbl_size); in qedr_reg_user_mr()
3112 mr->hw_mr.pbl_page_size_log = ilog2(mr->info.pbl_info.pbl_size); in __qedr_alloc_mr()
3170 pbes_in_page = mr->info.pbl_info.pbl_size / sizeof(u64); in qedr_set_page()