Lines Matching refs:hmc_info
21 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()
45 sd_entry = &hmc_info->sd_table.sd_entry[sd_index]; in i40e_add_sd_table_entry()
76 hmc_info->sd_table.sd_entry[sd_index].entry_type = type; 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
123 if (pd_index / I40E_HMC_PD_CNT_IN_SD >= hmc_info->sd_table.sd_cnt) { in i40e_add_pd_table_entry()
132 hmc_info->sd_table.sd_entry[sd_idx].entry_type) in i40e_add_pd_table_entry()
136 pd_table = &hmc_info->sd_table.sd_entry[sd_idx].u.pd_table; in i40e_add_pd_table_entry()
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()
207 sd_entry = &hmc_info->sd_table.sd_entry[sd_idx]; in i40e_remove_pd_bp()
214 pd_table = &hmc_info->sd_table.sd_entry[sd_idx].u.pd_table; in i40e_remove_pd_bp()
244 i40e_status i40e_prep_remove_sd_bp(struct i40e_hmc_info *hmc_info, in i40e_prep_remove_sd_bp() argument
251 sd_entry = &hmc_info->sd_table.sd_entry[idx]; in i40e_prep_remove_sd_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
282 sd_entry = &hmc_info->sd_table.sd_entry[idx]; in i40e_remove_sd_bp_new()
293 i40e_status i40e_prep_remove_pd_page(struct i40e_hmc_info *hmc_info, in i40e_prep_remove_pd_page() argument
299 sd_entry = &hmc_info->sd_table.sd_entry[idx]; in i40e_prep_remove_pd_page()
309 I40E_DEC_SD_REFCNT(&hmc_info->sd_table); in i40e_prep_remove_pd_page()
322 struct i40e_hmc_info *hmc_info, in i40e_remove_pd_page_new() argument
330 sd_entry = &hmc_info->sd_table.sd_entry[idx]; in i40e_remove_pd_page_new()