Home
last modified time | relevance | path

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

/freebsd/sys/dev/irdma/
H A Dirdma_hmc.c62 hmc_info->hmc_obj[type].size * idx; in irdma_find_sd_index_limit()
89 fpm_adr = hmc_info->hmc_obj[type].base + in irdma_find_pd_index_limit()
90 hmc_info->hmc_obj[type].size * idx; in irdma_find_pd_index_limit()
196 sdinfo.hmc_fn_id = hmc_info->hmc_fn_id; in irdma_hmc_sd_grp()
307 (dev->hmc_info == info->hmc_info && in irdma_sc_create_hmc_obj()
314 info->hmc_info, in irdma_sc_create_hmc_obj()
379 info->hmc_info->sd_indexes[0], in irdma_finish_del_sd_reg()
492 if (dev->hmc_info != info->hmc_info && in irdma_sc_del_hmc_obj()
560 hmc_info->sd_table.use_cnt++; in irdma_add_sd_table_entry()
715 hmc_info->sd_table.use_cnt--; in irdma_prep_remove_sd_bp()
[all …]
H A Dirdma_pble.c75 struct irdma_hmc_info *hmc_info; in irdma_hmc_init_pble() local
79 hmc_info = dev->hmc_info; in irdma_hmc_init_pble()
86 hmc_info->hmc_obj[IRDMA_HMC_IW_PBLE].cnt - fpm_idx; in irdma_hmc_init_pble()
129 struct irdma_hmc_info *hmc_info = info->hmc_info; in add_sd_direct() local
134 ret_code = irdma_add_sd_table_entry(dev->hw, hmc_info, in add_sd_direct()
182 struct irdma_hmc_info *hmc_info = info->hmc_info; in add_bp_pages() local
205 status = irdma_add_pd_table_entry(dev, hmc_info, in add_bp_pages()
249 struct irdma_hmc_info *hmc_info; in add_pble_prm() local
272 hmc_info = dev->hmc_info; in add_pble_prm()
276 sd_entry = &hmc_info->sd_table.sd_entry[idx->sd_idx]; in add_pble_prm()
[all …]
H A Dirdma_hmc.h156 struct irdma_hmc_info *hmc_info; member
167 struct irdma_hmc_info *hmc_info; member
188 struct irdma_hmc_info *hmc_info, u32 sd_index,
191 struct irdma_hmc_info *hmc_info, u32 pd_index,
194 struct irdma_hmc_info *hmc_info, u32 idx);
195 int irdma_prep_remove_sd_bp(struct irdma_hmc_info *hmc_info, u32 idx);
196 int irdma_prep_remove_pd_page(struct irdma_hmc_info *hmc_info, u32 idx);
H A Dirdma_ctrl.c3012 obj_info = hmc_info->hmc_obj; in irdma_sc_parse_fpm_query_buf()
3019 hmc_info->sd_table.sd_cnt = max_pe_sds + hmc_info->first_sd_index; in irdma_sc_parse_fpm_query_buf()
4443 hmc_info = dev->hmc_info; in irdma_sc_init_iw_hmc()
4480 hmc_info = dev->hmc_info; in irdma_sc_cfg_iw_fpm()
4481 obj_info = hmc_info->hmc_obj; in irdma_sc_cfg_iw_fpm()
4523 hmc_info->hmc_obj, in irdma_sc_cfg_iw_fpm()
4921 hmc_info = dev->hmc_info; in irdma_cfg_fpm_val()
4934 hmc_info->hmc_obj[i].cnt = hmc_info->hmc_obj[i].max_cnt; in irdma_cfg_fpm_val()
4999 hmc_info->hmc_obj[IRDMA_HMC_IW_Q1].cnt = irdma_q1_cnt(dev, hmc_info, qpwanted); in irdma_cfg_fpm_val()
5072 hmc_info->sd_table.sd_cnt, hmc_info->first_sd_index); in irdma_cfg_fpm_val()
[all …]
H A Dirdma_hw.c815 struct irdma_hmc_info *hmc_info, in irdma_close_hmc_objects_type() argument
820 info.hmc_info = hmc_info; in irdma_close_hmc_objects_type()
822 info.count = hmc_info->hmc_obj[obj_type].cnt; in irdma_close_hmc_objects_type()
847 hmc_info, privileged, reset); in irdma_del_hmc_objects()
882 info.hmc_info = dev->hmc_info; in irdma_create_hmc_objs()
914 dev->hmc_info, privileged, in irdma_create_hmc_objs()
1477 struct irdma_hmc_info *hmc_info = rf->sc_dev.hmc_info; in irdma_create_aeq() local
1483 hmc_info->hmc_obj[IRDMA_HMC_IW_CQ].cnt; in irdma_create_aeq()
1669 kfree(dev->hmc_info->sd_table.sd_entry); in irdma_del_init_mem()
1670 dev->hmc_info->sd_table.sd_entry = NULL; in irdma_del_init_mem()
[all …]
H A Dirdma_pble.h96 struct irdma_hmc_info *hmc_info; member
H A Dirdma_main.h591 struct irdma_hmc_info *hmc_info, bool privileged,
H A Dirdma_type.h643 struct irdma_hmc_info *hmc_info; member
/freebsd/sys/dev/ixl/
H A Di40e_hmc.c50 struct i40e_hmc_info *hmc_info, in i40e_add_sd_table_entry() argument
62 if (NULL == hmc_info->sd_table.sd_entry) { in i40e_add_sd_table_entry()
68 if (sd_index >= hmc_info->sd_table.sd_cnt) { in i40e_add_sd_table_entry()
112 I40E_INC_SD_REFCNT(&hmc_info->sd_table); in i40e_add_sd_table_entry()
143 struct i40e_hmc_info *hmc_info, in i40e_add_pd_table_entry() argument
224 struct i40e_hmc_info *hmc_info, in i40e_remove_pd_bp() argument
237 if (sd_idx >= hmc_info->sd_table.sd_cnt) { in i40e_remove_pd_bp()
292 I40E_DEC_SD_REFCNT(&hmc_info->sd_table); in i40e_prep_remove_sd_bp()
308 struct i40e_hmc_info *hmc_info, in i40e_remove_sd_bp_new() argument
344 I40E_DEC_SD_REFCNT(&hmc_info->sd_table); in i40e_prep_remove_pd_page()
[all …]
H A Di40e_hmc.h189 fpm_addr = (hmc_info)->hmc_obj[(type)].base + \
190 (hmc_info)->hmc_obj[(type)].size * (index); \
191 fpm_limit = fpm_addr + (hmc_info)->hmc_obj[(type)].size * (cnt);\
213 fpm_adr = (hmc_info)->hmc_obj[(type)].base + \
214 (hmc_info)->hmc_obj[(type)].size * (idx); \
215 fpm_limit = fpm_adr + (hmc_info)->hmc_obj[(type)].size * (cnt); \
222 struct i40e_hmc_info *hmc_info,
228 struct i40e_hmc_info *hmc_info,
232 struct i40e_hmc_info *hmc_info,
237 struct i40e_hmc_info *hmc_info,
[all …]
H A Di40e_lan_hmc.c267 struct i40e_hmc_info *hmc_info, in i40e_remove_pd_page() argument
294 struct i40e_hmc_info *hmc_info, in i40e_remove_sd_bp() argument
330 if (NULL == info->hmc_info) { in i40e_create_lan_hmc_object()
401 info->hmc_info, in i40e_create_lan_hmc_object()
411 i40e_remove_pd_bp(hw, info->hmc_info, in i40e_create_lan_hmc_object()
447 i40e_remove_pd_bp(hw, info->hmc_info, i); in i40e_create_lan_hmc_object()
481 info.hmc_info = &hw->hmc; in i40e_configure_lan_hmc()
571 if (NULL == info->hmc_info) { in i40e_delete_lan_hmc_object()
588 if (NULL == info->hmc_info->hmc_obj) { in i40e_delete_lan_hmc_object()
674 info.hmc_info = &hw->hmc; in i40e_shutdown_lan_hmc()
[all …]
H A Di40e_lan_hmc.h155 struct i40e_hmc_info *hmc_info; member
164 struct i40e_hmc_info *hmc_info; member