Lines Matching refs:sd_idx
152 u32 sd_idx, rel_pd_idx; in i40e_add_pd_table_entry() local
163 sd_idx = (pd_index / I40E_HMC_PD_CNT_IN_SD); 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()
199 pd_entry->sd_index = sd_idx; in i40e_add_pd_table_entry()
231 u32 sd_idx, rel_pd_idx; in i40e_remove_pd_bp() local
235 sd_idx = idx / I40E_HMC_PD_CNT_IN_SD; in i40e_remove_pd_bp()
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()
261 I40E_INVALIDATE_PF_HMC_PD(hw, sd_idx, idx); in i40e_remove_pd_bp()