Lines Matching refs:hmc_info

50 					      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()
74 sd_entry = &hmc_info->sd_table.sd_entry[sd_index]; in i40e_add_sd_table_entry()
109 hmc_info->sd_table.sd_entry[sd_index].entry_type = type; 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
156 if (pd_index / I40E_HMC_PD_CNT_IN_SD >= hmc_info->sd_table.sd_cnt) { in i40e_add_pd_table_entry()
165 hmc_info->sd_table.sd_entry[sd_idx].entry_type) in i40e_add_pd_table_entry()
169 pd_table = &hmc_info->sd_table.sd_entry[sd_idx].u.pd_table; in i40e_add_pd_table_entry()
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()
242 sd_entry = &hmc_info->sd_table.sd_entry[sd_idx]; in i40e_remove_pd_bp()
249 pd_table = &hmc_info->sd_table.sd_entry[sd_idx].u.pd_table; in i40e_remove_pd_bp()
279 enum i40e_status_code i40e_prep_remove_sd_bp(struct i40e_hmc_info *hmc_info, in i40e_prep_remove_sd_bp() argument
286 sd_entry = &hmc_info->sd_table.sd_entry[idx]; in i40e_prep_remove_sd_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
317 sd_entry = &hmc_info->sd_table.sd_entry[idx]; in i40e_remove_sd_bp_new()
328 enum i40e_status_code i40e_prep_remove_pd_page(struct i40e_hmc_info *hmc_info, in i40e_prep_remove_pd_page() argument
334 sd_entry = &hmc_info->sd_table.sd_entry[idx]; in i40e_prep_remove_pd_page()
344 I40E_DEC_SD_REFCNT(&hmc_info->sd_table); in i40e_prep_remove_pd_page()
357 struct i40e_hmc_info *hmc_info, in i40e_remove_pd_page_new() argument
365 sd_entry = &hmc_info->sd_table.sd_entry[idx]; in i40e_remove_pd_page_new()