Searched refs:pble_rsrc (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.4/drivers/infiniband/hw/i40iw/ |
D | i40iw_pble.c | 52 struct i40iw_hmc_pble_rsrc *pble_rsrc); 59 void i40iw_destroy_pble_pool(struct i40iw_sc_dev *dev, struct i40iw_hmc_pble_rsrc *pble_rsrc) in i40iw_destroy_pble_pool() argument 64 struct i40iw_pble_pool *pinfo = &pble_rsrc->pinfo; in i40iw_destroy_pble_pool() 83 struct i40iw_hmc_pble_rsrc *pble_rsrc) in i40iw_hmc_init_pble() argument 89 pble_rsrc->fpm_base_addr = hmc_info->hmc_obj[I40IW_HMC_IW_PBLE].base; in i40iw_hmc_init_pble() 91 if (pble_rsrc->fpm_base_addr & 0xfff) in i40iw_hmc_init_pble() 92 fpm_idx = (PAGE_SIZE - (pble_rsrc->fpm_base_addr & 0xfff)) >> 3; in i40iw_hmc_init_pble() 94 pble_rsrc->unallocated_pble = in i40iw_hmc_init_pble() 96 pble_rsrc->next_fpm_addr = pble_rsrc->fpm_base_addr + (fpm_idx << 3); in i40iw_hmc_init_pble() 98 pble_rsrc->pinfo.pool_shift = POOL_SHIFT; in i40iw_hmc_init_pble() [all …]
|
D | i40iw_pble.h | 123 void i40iw_destroy_pble_pool(struct i40iw_sc_dev *dev, struct i40iw_hmc_pble_rsrc *pble_rsrc); 125 struct i40iw_hmc_pble_rsrc *pble_rsrc); 126 void i40iw_free_pble(struct i40iw_hmc_pble_rsrc *pble_rsrc, struct i40iw_pble_alloc *palloc); 128 struct i40iw_hmc_pble_rsrc *pble_rsrc,
|
D | i40iw_verbs.c | 380 i40iw_free_pble(iwdev->pble_rsrc, &iwpbl->pble_alloc); in i40iw_free_qp_resources() 1404 status = i40iw_get_pble(&iwdev->sc_dev, iwdev->pble_rsrc, palloc, iwmr->page_cnt); in i40iw_setup_pbles() 1456 i40iw_free_pble(iwdev->pble_rsrc, palloc); in i40iw_handle_q_mem() 1497 i40iw_free_pble(iwdev->pble_rsrc, palloc); in i40iw_handle_q_mem() 1583 status = i40iw_get_pble(&iwdev->sc_dev, iwdev->pble_rsrc, palloc, iwmr->page_cnt); in i40iw_alloc_mr() 1597 i40iw_free_pble(iwdev->pble_rsrc, palloc); in i40iw_alloc_mr() 1837 i40iw_free_pble(iwdev->pble_rsrc, palloc); in i40iw_reg_user_mr() 1871 i40iw_free_pble(iwdev->pble_rsrc, palloc); in i40iw_reg_user_mr() 2012 i40iw_free_pble(iwdev->pble_rsrc, palloc); in i40iw_dereg_mr() 2042 i40iw_free_pble(iwdev->pble_rsrc, palloc); in i40iw_dereg_mr()
|
D | i40iw_main.c | 1332 iwdev->pble_rsrc = (struct i40iw_hmc_pble_rsrc *)iwdev->hmc_info_mem; in i40iw_initialize_dev() 1334 dev->hmc_info->hmc_obj = (struct i40iw_hmc_obj_info *)(iwdev->pble_rsrc + 1); in i40iw_initialize_dev() 1503 i40iw_destroy_pble_pool(dev, iwdev->pble_rsrc); in i40iw_deinit_device() 1696 status = i40iw_hmc_init_pble(&iwdev->sc_dev, iwdev->pble_rsrc); in i40iw_open()
|
D | i40iw.h | 254 struct i40iw_hmc_pble_rsrc *pble_rsrc; member
|