Lines Matching refs:pd_table
56 &sd_entry->u.pd_table.pd_entry_virt_mem, in i40e_add_sd_table_entry()
60 sd_entry->u.pd_table.pd_entry = in i40e_add_sd_table_entry()
62 sd_entry->u.pd_table.pd_entry_virt_mem.va; in i40e_add_sd_table_entry()
63 sd_entry->u.pd_table.pd_page_addr = mem; in i40e_add_sd_table_entry()
107 struct i40e_hmc_pd_table *pd_table; in i40e_add_pd_table_entry() local
129 pd_table = &hmc_info->sd_table.sd_entry[sd_idx].u.pd_table; in i40e_add_pd_table_entry()
130 pd_entry = &pd_table->pd_entry[rel_pd_idx]; in i40e_add_pd_table_entry()
151 pd_addr = (u64 *)pd_table->pd_page_addr.va; in i40e_add_pd_table_entry()
159 I40E_INC_PD_REFCNT(pd_table); in i40e_add_pd_table_entry()
186 struct i40e_hmc_pd_table *pd_table; in i40e_remove_pd_bp() local
207 pd_table = &hmc_info->sd_table.sd_entry[sd_idx].u.pd_table; in i40e_remove_pd_bp()
208 pd_entry = &pd_table->pd_entry[rel_pd_idx]; in i40e_remove_pd_bp()
215 I40E_DEC_PD_REFCNT(pd_table); in i40e_remove_pd_bp()
216 pd_addr = (u64 *)pd_table->pd_page_addr.va; in i40e_remove_pd_bp()
226 if (!pd_table->ref_cnt) in i40e_remove_pd_bp()
227 i40e_free_virt_mem(hw, &pd_table->pd_entry_virt_mem); in i40e_remove_pd_bp()
294 if (sd_entry->u.pd_table.ref_cnt) { in i40e_prep_remove_pd_page()
326 return i40e_free_dma_mem(hw, &sd_entry->u.pd_table.pd_page_addr); in i40e_remove_pd_page_new()