Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/irdma/
H A Dpble.c10 static int add_pble_prm(struct irdma_hmc_pble_rsrc *pble_rsrc);
14 * @pble_rsrc: pble resources
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()
34 * @pble_rsrc: pble resources
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 in irdma_hmc_init_pble()
71 get_sd_pd_idx(struct irdma_hmc_pble_rsrc * pble_rsrc,struct sd_pd_idx * idx) get_sd_pd_idx() argument
84 add_sd_direct(struct irdma_hmc_pble_rsrc * pble_rsrc,struct irdma_add_page_info * info) add_sd_direct() argument
122 fpm_to_idx(struct irdma_hmc_pble_rsrc * pble_rsrc,u64 addr) fpm_to_idx() argument
136 add_bp_pages(struct irdma_hmc_pble_rsrc * pble_rsrc,struct irdma_add_page_info * info) add_bp_pages() argument
205 add_pble_prm(struct irdma_hmc_pble_rsrc * pble_rsrc) add_pble_prm() argument
306 free_lvl2(struct irdma_hmc_pble_rsrc * pble_rsrc,struct irdma_pble_alloc * palloc) free_lvl2() argument
334 get_lvl2_pble(struct irdma_hmc_pble_rsrc * pble_rsrc,struct irdma_pble_alloc * palloc) get_lvl2_pble() argument
401 get_lvl1_pble(struct irdma_hmc_pble_rsrc * pble_rsrc,struct irdma_pble_alloc * palloc) get_lvl1_pble() argument
428 get_lvl1_lvl2_pble(struct irdma_hmc_pble_rsrc * pble_rsrc,struct irdma_pble_alloc * palloc,u8 lvl) get_lvl1_lvl2_pble() argument
449 irdma_get_pble(struct irdma_hmc_pble_rsrc * pble_rsrc,struct irdma_pble_alloc * palloc,u32 pble_cnt,u8 lvl) irdma_get_pble() argument
498 irdma_free_pble(struct irdma_hmc_pble_rsrc * pble_rsrc,struct irdma_pble_alloc * palloc) irdma_free_pble() argument
[all...]
H A Dpble.h110 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,
H A Dhw.c615 irdma_free_pble(rf->pble_rsrc, &aeq->palloc); in irdma_destroy_virt_aeq()
1353 status = irdma_get_pble(rf->pble_rsrc, &aeq->palloc, pg_cnt, true); in irdma_create_virt_aeq()
1362 irdma_free_pble(rf->pble_rsrc, &aeq->palloc); in irdma_create_virt_aeq()
1615 rf->pble_rsrc = (struct irdma_hmc_pble_rsrc *)rf->hmc_info_mem; in irdma_initialize_dev()
1618 (rf->pble_rsrc + 1); in irdma_initialize_dev()
1755 irdma_destroy_pble_prm(rf->pble_rsrc); in irdma_ctrl_deinit_hw()
1846 rf->pble_rsrc); in irdma_rt_init_hw()
1856 irdma_destroy_pble_prm(rf->pble_rsrc); in irdma_rt_init_hw()
H A Dmain.h310 struct irdma_hmc_pble_rsrc *pble_rsrc; member