Lines Matching refs:sd_idx
141 u32 sd_idx, rel_pd_idx; in i40e_add_pd_table_entry() local
152 sd_idx = (pd_index / I40E_HMC_PD_CNT_IN_SD); 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()
186 pd_entry->sd_index = sd_idx; in i40e_add_pd_table_entry()
219 u32 sd_idx, rel_pd_idx; in i40e_remove_pd_bp() local
223 sd_idx = idx / I40E_HMC_PD_CNT_IN_SD; in i40e_remove_pd_bp()
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()
249 I40E_INVALIDATE_PF_HMC_PD(hw, sd_idx, idx); in i40e_remove_pd_bp()