Lines Matching refs:hmc_info
43 struct i40e_hmc_info *hmc_info, in i40e_add_sd_table_entry() argument
55 if (NULL == hmc_info->sd_table.sd_entry) { in i40e_add_sd_table_entry()
61 if (sd_index >= hmc_info->sd_table.sd_cnt) { in i40e_add_sd_table_entry()
67 sd_entry = &hmc_info->sd_table.sd_entry[sd_index]; in i40e_add_sd_table_entry()
98 hmc_info->sd_table.sd_entry[sd_index].entry_type = type; in i40e_add_sd_table_entry()
101 I40E_INC_SD_REFCNT(&hmc_info->sd_table); in i40e_add_sd_table_entry()
131 struct i40e_hmc_info *hmc_info, in i40e_add_pd_table_entry() argument
142 if (pd_index / I40E_HMC_PD_CNT_IN_SD >= hmc_info->sd_table.sd_cnt) { in i40e_add_pd_table_entry()
151 hmc_info->sd_table.sd_entry[sd_idx].entry_type) in i40e_add_pd_table_entry()
155 pd_table = &hmc_info->sd_table.sd_entry[sd_idx].u.pd_table; in i40e_add_pd_table_entry()
203 struct i40e_hmc_info *hmc_info, in i40e_remove_pd_bp() argument
216 if (sd_idx >= hmc_info->sd_table.sd_cnt) { in i40e_remove_pd_bp()
221 sd_entry = &hmc_info->sd_table.sd_entry[sd_idx]; in i40e_remove_pd_bp()
228 pd_table = &hmc_info->sd_table.sd_entry[sd_idx].u.pd_table; in i40e_remove_pd_bp()
257 i40e_status i40e_prep_remove_sd_bp(struct i40e_hmc_info *hmc_info, in i40e_prep_remove_sd_bp() argument
264 sd_entry = &hmc_info->sd_table.sd_entry[idx]; in i40e_prep_remove_sd_bp()
270 I40E_DEC_SD_REFCNT(&hmc_info->sd_table); in i40e_prep_remove_sd_bp()
286 struct i40e_hmc_info *hmc_info, in i40e_remove_sd_bp_new() argument
293 sd_entry = &hmc_info->sd_table.sd_entry[idx]; in i40e_remove_sd_bp_new()
312 i40e_status i40e_prep_remove_pd_page(struct i40e_hmc_info *hmc_info, in i40e_prep_remove_pd_page() argument
318 sd_entry = &hmc_info->sd_table.sd_entry[idx]; in i40e_prep_remove_pd_page()
328 I40E_DEC_SD_REFCNT(&hmc_info->sd_table); in i40e_prep_remove_pd_page()
341 struct i40e_hmc_info *hmc_info, in i40e_remove_pd_page_new() argument
347 sd_entry = &hmc_info->sd_table.sd_entry[idx]; in i40e_remove_pd_page_new()