Home
last modified time | relevance | path

Searched refs:pble_rsrc (Results 1 – 6 of 6) sorted by relevance

/freebsd/sys/dev/irdma/
H A Dirdma_pble.c42 static int add_pble_prm(struct irdma_hmc_pble_rsrc *pble_rsrc);
49 irdma_destroy_pble_prm(struct irdma_hmc_pble_rsrc *pble_rsrc) in irdma_destroy_pble_prm() argument
52 struct irdma_pble_prm *pinfo = &pble_rsrc->pinfo; in irdma_destroy_pble_prm()
63 mutex_destroy(&pble_rsrc->pble_mutex_lock); in irdma_destroy_pble_prm()
73 struct irdma_hmc_pble_rsrc *pble_rsrc) in irdma_hmc_init_pble() argument
80 pble_rsrc->dev = dev; in irdma_hmc_init_pble()
81 pble_rsrc->fpm_base_addr = hmc_info->hmc_obj[IRDMA_HMC_IW_PBLE].base; in irdma_hmc_init_pble()
83 if (pble_rsrc->fpm_base_addr & 0xfff) in irdma_hmc_init_pble()
84 fpm_idx = (4096 - (pble_rsrc->fpm_base_addr & 0xfff)) >> 3; in irdma_hmc_init_pble()
85 pble_rsrc->unallocated_pble = in irdma_hmc_init_pble()
[all …]
H A Dirdma_pble.h142 void irdma_destroy_pble_prm(struct irdma_hmc_pble_rsrc *pble_rsrc);
144 struct irdma_hmc_pble_rsrc *pble_rsrc);
145 void irdma_free_pble(struct irdma_hmc_pble_rsrc *pble_rsrc,
147 int irdma_get_pble(struct irdma_hmc_pble_rsrc *pble_rsrc,
157 void irdma_pble_acquire_lock(struct irdma_hmc_pble_rsrc *pble_rsrc,
159 void irdma_pble_release_lock(struct irdma_hmc_pble_rsrc *pble_rsrc,
H A Dirdma_hw.c650 irdma_free_pble(rf->pble_rsrc, &aeq->palloc); in irdma_destroy_virt_aeq()
1447 status = irdma_get_pble(rf->pble_rsrc, &aeq->palloc, pg_cnt, true); in irdma_create_virt_aeq()
1456 irdma_free_pble(rf->pble_rsrc, &aeq->palloc); in irdma_create_virt_aeq()
1711 rf->pble_rsrc = (struct irdma_hmc_pble_rsrc *)rf->hmc_info_mem; in irdma_initialize_dev()
1714 (rf->pble_rsrc + 1); in irdma_initialize_dev()
1867 irdma_destroy_pble_prm(rf->pble_rsrc); in irdma_ctrl_deinit_hw()
1970 rf->pble_rsrc); in irdma_rt_init_hw()
1980 irdma_destroy_pble_prm(rf->pble_rsrc); in irdma_rt_init_hw()
H A Dirdma_kcompat.c140 status = irdma_get_pble(iwdev->rf->pble_rsrc, palloc, iwmr->page_cnt, in irdma_alloc_mr()
153 irdma_free_pble(iwdev->rf->pble_rsrc, palloc); in irdma_alloc_mr()
1220 irdma_free_pble(iwdev->rf->pble_rsrc, &iwpbl->pble_alloc); in irdma_dereg_mr()
1265 irdma_free_pble(iwdev->rf->pble_rsrc, in irdma_rereg_user_mr()
H A Dirdma_main.h338 struct irdma_hmc_pble_rsrc *pble_rsrc; member
H A Dirdma_verbs.c1733 status = irdma_get_pble(rf->pble_rsrc, palloc, iwmr->page_cnt, in irdma_setup_pbles()
1830 irdma_free_pble(iwdev->rf->pble_rsrc, palloc); in irdma_handle_q_mem()
2057 irdma_free_pble(iwdev->rf->pble_rsrc, &iwpbl->pble_alloc); in irdma_reg_user_mr_type_mem()
2086 irdma_free_pble(iwdev->rf->pble_rsrc, &iwpbl->pble_alloc); in irdma_reg_user_mr_type_mem()