Lines Matching refs:sd_idx
138 u32 sd_idx, rel_pd_idx; in i40e_add_pd_table_entry() local
149 sd_idx = (pd_index / I40E_HMC_PD_CNT_IN_SD); 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()
177 pd_entry->sd_index = sd_idx; in i40e_add_pd_table_entry()
210 u32 sd_idx, rel_pd_idx; in i40e_remove_pd_bp() local
214 sd_idx = idx / I40E_HMC_PD_CNT_IN_SD; in i40e_remove_pd_bp()
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()
240 I40E_INVALIDATE_PF_HMC_PD(hw, sd_idx, idx); in i40e_remove_pd_bp()