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()
132 struct i40e_hmc_info *hmc_info, in i40e_add_pd_table_entry() argument
145 if (pd_index / I40E_HMC_PD_CNT_IN_SD >= hmc_info->sd_table.sd_cnt) { in i40e_add_pd_table_entry()
154 hmc_info->sd_table.sd_entry[sd_idx].entry_type) in i40e_add_pd_table_entry()
158 pd_table = &hmc_info->sd_table.sd_entry[sd_idx].u.pd_table; in i40e_add_pd_table_entry()
212 struct i40e_hmc_info *hmc_info, in i40e_remove_pd_bp() argument
225 if (sd_idx >= hmc_info->sd_table.sd_cnt) { in i40e_remove_pd_bp()
230 sd_entry = &hmc_info->sd_table.sd_entry[sd_idx]; in i40e_remove_pd_bp()
237 pd_table = &hmc_info->sd_table.sd_entry[sd_idx].u.pd_table; in i40e_remove_pd_bp()
267 i40e_status i40e_prep_remove_sd_bp(struct i40e_hmc_info *hmc_info, in i40e_prep_remove_sd_bp() argument
274 sd_entry = &hmc_info->sd_table.sd_entry[idx]; in i40e_prep_remove_sd_bp()
280 I40E_DEC_SD_REFCNT(&hmc_info->sd_table); in i40e_prep_remove_sd_bp()
296 struct i40e_hmc_info *hmc_info, in i40e_remove_sd_bp_new() argument
305 sd_entry = &hmc_info->sd_table.sd_entry[idx]; in i40e_remove_sd_bp_new()
316 i40e_status i40e_prep_remove_pd_page(struct i40e_hmc_info *hmc_info, in i40e_prep_remove_pd_page() argument
322 sd_entry = &hmc_info->sd_table.sd_entry[idx]; in i40e_prep_remove_pd_page()
332 I40E_DEC_SD_REFCNT(&hmc_info->sd_table); in i40e_prep_remove_pd_page()
345 struct i40e_hmc_info *hmc_info, in i40e_remove_pd_page_new() argument
353 sd_entry = &hmc_info->sd_table.sd_entry[idx]; in i40e_remove_pd_page_new()