Lines Matching refs:sd_idx
111 u32 sd_idx, rel_pd_idx; in i40e_add_pd_table_entry() local
123 sd_idx = (pd_index / I40E_HMC_PD_CNT_IN_SD); in i40e_add_pd_table_entry()
125 hmc_info->sd_table.sd_entry[sd_idx].entry_type) in i40e_add_pd_table_entry()
129 pd_table = &hmc_info->sd_table.sd_entry[sd_idx].u.pd_table; in i40e_add_pd_table_entry()
157 pd_entry->sd_index = sd_idx; in i40e_add_pd_table_entry()
188 u32 sd_idx, rel_pd_idx; in i40e_remove_pd_bp() local
193 sd_idx = idx / I40E_HMC_PD_CNT_IN_SD; in i40e_remove_pd_bp()
195 if (sd_idx >= hmc_info->sd_table.sd_cnt) { in i40e_remove_pd_bp()
200 sd_entry = &hmc_info->sd_table.sd_entry[sd_idx]; in i40e_remove_pd_bp()
207 pd_table = &hmc_info->sd_table.sd_entry[sd_idx].u.pd_table; in i40e_remove_pd_bp()
219 I40E_INVALIDATE_PF_HMC_PD(hw, sd_idx, idx); in i40e_remove_pd_bp()