Searched refs:pble_rsrc (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/drivers/infiniband/hw/irdma/ |
D | pble.c | 10 static int add_pble_prm(struct irdma_hmc_pble_rsrc *pble_rsrc); 16 void irdma_destroy_pble_prm(struct irdma_hmc_pble_rsrc *pble_rsrc) in irdma_destroy_pble_prm() argument 19 struct irdma_pble_prm *pinfo = &pble_rsrc->pinfo; in irdma_destroy_pble_prm() 37 struct irdma_hmc_pble_rsrc *pble_rsrc) in irdma_hmc_init_pble() argument 44 pble_rsrc->dev = dev; in irdma_hmc_init_pble() 45 pble_rsrc->fpm_base_addr = hmc_info->hmc_obj[IRDMA_HMC_IW_PBLE].base; in irdma_hmc_init_pble() 47 if (pble_rsrc->fpm_base_addr & 0xfff) in irdma_hmc_init_pble() 48 fpm_idx = (4096 - (pble_rsrc->fpm_base_addr & 0xfff)) >> 3; in irdma_hmc_init_pble() 49 pble_rsrc->unallocated_pble = in irdma_hmc_init_pble() 51 pble_rsrc->next_fpm_addr = pble_rsrc->fpm_base_addr + (fpm_idx << 3); in irdma_hmc_init_pble() [all …]
|
D | pble.h | 110 void irdma_destroy_pble_prm(struct irdma_hmc_pble_rsrc *pble_rsrc); 112 struct irdma_hmc_pble_rsrc *pble_rsrc); 113 void irdma_free_pble(struct irdma_hmc_pble_rsrc *pble_rsrc, 115 int irdma_get_pble(struct irdma_hmc_pble_rsrc *pble_rsrc, 125 void irdma_pble_acquire_lock(struct irdma_hmc_pble_rsrc *pble_rsrc, 127 void irdma_pble_release_lock(struct irdma_hmc_pble_rsrc *pble_rsrc,
|
D | hw.c | 617 irdma_free_pble(rf->pble_rsrc, &aeq->palloc); in irdma_destroy_virt_aeq() 1355 status = irdma_get_pble(rf->pble_rsrc, &aeq->palloc, pg_cnt, true); in irdma_create_virt_aeq() 1364 irdma_free_pble(rf->pble_rsrc, &aeq->palloc); in irdma_create_virt_aeq() 1617 rf->pble_rsrc = (struct irdma_hmc_pble_rsrc *)rf->hmc_info_mem; in irdma_initialize_dev() 1620 (rf->pble_rsrc + 1); in irdma_initialize_dev() 1757 irdma_destroy_pble_prm(rf->pble_rsrc); in irdma_ctrl_deinit_hw() 1848 rf->pble_rsrc); in irdma_rt_init_hw() 1858 irdma_destroy_pble_prm(rf->pble_rsrc); in irdma_rt_init_hw()
|
D | main.h | 307 struct irdma_hmc_pble_rsrc *pble_rsrc; member
|
D | verbs.c | 2429 status = irdma_get_pble(rf->pble_rsrc, palloc, iwmr->page_cnt, in irdma_setup_pbles() 2526 irdma_free_pble(iwdev->rf->pble_rsrc, palloc); in irdma_handle_q_mem() 2712 err_code = irdma_get_pble(iwdev->rf->pble_rsrc, palloc, iwmr->page_cnt, in irdma_alloc_mr() 2725 irdma_free_pble(iwdev->rf->pble_rsrc, palloc); in irdma_alloc_mr() 2862 irdma_free_pble(iwdev->rf->pble_rsrc, &iwpbl->pble_alloc); in irdma_reg_user_mr_type_mem() 2891 irdma_free_pble(iwdev->rf->pble_rsrc, &iwpbl->pble_alloc); in irdma_reg_user_mr_type_mem() 3263 irdma_free_pble(iwdev->rf->pble_rsrc, in irdma_rereg_user_mr() 3412 irdma_free_pble(iwdev->rf->pble_rsrc, &iwpbl->pble_alloc); in irdma_dereg_mr()
|