Home
last modified time | relevance | path

Searched refs:hmc_info (Results 1 – 11 of 11) sorted by relevance

/linux-6.3-rc2/drivers/infiniband/hw/irdma/
A Dhmc.c28 fpm_addr = hmc_info->hmc_obj[(type)].base + in irdma_find_sd_index_limit()
29 hmc_info->hmc_obj[type].size * idx; in irdma_find_sd_index_limit()
55 fpm_adr = hmc_info->hmc_obj[type].base + in irdma_find_pd_index_limit()
56 hmc_info->hmc_obj[type].size * idx; in irdma_find_pd_index_limit()
155 sdinfo.hmc_fn_id = hmc_info->hmc_fn_id; in irdma_hmc_sd_grp()
264 (dev->hmc_info == info->hmc_info && in irdma_sc_create_hmc_obj()
271 info->hmc_info, in irdma_sc_create_hmc_obj()
449 if (dev->hmc_info != info->hmc_info && in irdma_sc_del_hmc_obj()
518 hmc_info->sd_table.use_cnt++; in irdma_add_sd_table_entry()
673 hmc_info->sd_table.use_cnt--; in irdma_prep_remove_sd_bp()
[all …]
A Dpble.c39 struct irdma_hmc_info *hmc_info; in irdma_hmc_init_pble() local
43 hmc_info = dev->hmc_info; in irdma_hmc_init_pble()
50 hmc_info->hmc_obj[IRDMA_HMC_IW_PBLE].cnt - fpm_idx; in irdma_hmc_init_pble()
91 struct irdma_hmc_info *hmc_info = info->hmc_info; in add_sd_direct() local
96 ret_code = irdma_add_sd_table_entry(dev->hw, hmc_info, in add_sd_direct()
144 struct irdma_hmc_info *hmc_info = info->hmc_info; in add_bp_pages() local
167 status = irdma_add_pd_table_entry(dev, hmc_info, in add_bp_pages()
209 struct irdma_hmc_info *hmc_info; in add_pble_prm() local
232 hmc_info = dev->hmc_info; in add_pble_prm()
236 sd_entry = &hmc_info->sd_table.sd_entry[idx->sd_idx]; in add_pble_prm()
[all …]
A Dhmc.h124 struct irdma_hmc_info *hmc_info; member
135 struct irdma_hmc_info *hmc_info; member
160 struct irdma_hmc_info *hmc_info, u32 sd_index,
163 struct irdma_hmc_info *hmc_info, u32 pd_index,
166 struct irdma_hmc_info *hmc_info, u32 idx);
167 int irdma_prep_remove_sd_bp(struct irdma_hmc_info *hmc_info, u32 idx);
168 int irdma_prep_remove_pd_page(struct irdma_hmc_info *hmc_info, u32 idx);
A Dctrl.c2915 obj_info = hmc_info->hmc_obj; in irdma_sc_parse_fpm_query_buf()
2922 hmc_info->sd_table.sd_cnt = max_pe_sds + hmc_info->first_sd_index; in irdma_sc_parse_fpm_query_buf()
4293 hmc_info = dev->hmc_info; in irdma_sc_init_iw_hmc()
4330 hmc_info = dev->hmc_info; in irdma_sc_cfg_iw_fpm()
4331 obj_info = hmc_info->hmc_obj; in irdma_sc_cfg_iw_fpm()
4375 hmc_info->hmc_obj, in irdma_sc_cfg_iw_fpm()
4783 hmc_info = dev->hmc_info; in irdma_cfg_fpm_val()
4795 hmc_info->hmc_obj[i].cnt = hmc_info->hmc_obj[i].max_cnt; in irdma_cfg_fpm_val()
4854 hmc_info->hmc_obj[IRDMA_HMC_IW_Q1].cnt = irdma_q1_cnt(dev, hmc_info, qpwanted); in irdma_cfg_fpm_val()
4929 hmc_info->sd_table.sd_cnt, hmc_info->first_sd_index); in irdma_cfg_fpm_val()
[all …]
A Dhw.c761 struct irdma_hmc_info *hmc_info, in irdma_close_hmc_objects_type() argument
766 info.hmc_info = hmc_info; in irdma_close_hmc_objects_type()
768 info.count = hmc_info->hmc_obj[obj_type].cnt; in irdma_close_hmc_objects_type()
792 hmc_info, privileged, reset); in irdma_del_hmc_objects()
825 info.hmc_info = dev->hmc_info; in irdma_create_hmc_objs()
855 dev->hmc_info, privileged, in irdma_create_hmc_objs()
1349 struct irdma_hmc_info *hmc_info = rf->sc_dev.hmc_info; in irdma_create_aeq() local
1355 hmc_info->hmc_obj[IRDMA_HMC_IW_CQ].cnt; in irdma_create_aeq()
1539 kfree(dev->hmc_info->sd_table.sd_entry); in irdma_del_init_mem()
1540 dev->hmc_info->sd_table.sd_entry = NULL; in irdma_del_init_mem()
[all …]
A Dpble.h64 struct irdma_hmc_info *hmc_info; member
A Dtype.h645 struct irdma_hmc_info *hmc_info; member
/linux-6.3-rc2/drivers/net/ethernet/intel/i40e/
A Di40e_hmc.c21 struct i40e_hmc_info *hmc_info, in i40e_add_sd_table_entry() argument
33 if (NULL == hmc_info->sd_table.sd_entry) { in i40e_add_sd_table_entry()
39 if (sd_index >= hmc_info->sd_table.sd_cnt) { in i40e_add_sd_table_entry()
79 I40E_INC_SD_REFCNT(&hmc_info->sd_table); in i40e_add_sd_table_entry()
110 struct i40e_hmc_info *hmc_info, in i40e_add_pd_table_entry() argument
189 struct i40e_hmc_info *hmc_info, in i40e_remove_pd_bp() argument
202 if (sd_idx >= hmc_info->sd_table.sd_cnt) { in i40e_remove_pd_bp()
257 I40E_DEC_SD_REFCNT(&hmc_info->sd_table); in i40e_prep_remove_sd_bp()
273 struct i40e_hmc_info *hmc_info, in i40e_remove_sd_bp_new() argument
309 I40E_DEC_SD_REFCNT(&hmc_info->sd_table); in i40e_prep_remove_pd_page()
[all …]
A Di40e_hmc.h158 fpm_addr = (hmc_info)->hmc_obj[(type)].base + \
159 (hmc_info)->hmc_obj[(type)].size * (index); \
182 fpm_adr = (hmc_info)->hmc_obj[(type)].base + \
183 (hmc_info)->hmc_obj[(type)].size * (idx); \
192 struct i40e_hmc_info *hmc_info,
197 struct i40e_hmc_info *hmc_info,
201 struct i40e_hmc_info *hmc_info,
203 int i40e_prep_remove_sd_bp(struct i40e_hmc_info *hmc_info,
206 struct i40e_hmc_info *hmc_info,
208 int i40e_prep_remove_pd_page(struct i40e_hmc_info *hmc_info,
[all …]
A Di40e_lan_hmc.c233 struct i40e_hmc_info *hmc_info, in i40e_remove_pd_page() argument
260 struct i40e_hmc_info *hmc_info, in i40e_remove_sd_bp() argument
296 if (NULL == info->hmc_info) { in i40e_create_lan_hmc_object()
367 info->hmc_info, in i40e_create_lan_hmc_object()
377 i40e_remove_pd_bp(hw, info->hmc_info, in i40e_create_lan_hmc_object()
447 info.hmc_info = &hw->hmc; in i40e_configure_lan_hmc()
537 if (NULL == info->hmc_info) { in i40e_delete_lan_hmc_object()
554 if (NULL == info->hmc_info->hmc_obj) { in i40e_delete_lan_hmc_object()
640 info.hmc_info = &hw->hmc; in i40e_shutdown_lan_hmc()
989 if (NULL == hmc_info) { in i40e_hmc_get_object_va()
[all …]
A Di40e_lan_hmc.h125 struct i40e_hmc_info *hmc_info; member
134 struct i40e_hmc_info *hmc_info; member

Completed in 39 milliseconds