Lines Matching defs:hw
46 * @hw: pointer to our hw struct
52 enum i40e_status_code i40e_add_sd_table_entry(struct i40e_hw *hw,
88 ret_code = i40e_allocate_dma_mem(hw, &mem, mem_type, alloc_len,
94 ret_code = i40e_allocate_virt_mem(hw,
123 i40e_free_dma_mem(hw, &mem);
130 * @hw: pointer to our HW structure
145 enum i40e_status_code i40e_add_pd_table_entry(struct i40e_hw *hw,
180 ret_code = i40e_allocate_dma_mem(hw, page, i40e_mem_bp,
213 * @hw: pointer to our HW structure
227 enum i40e_status_code i40e_remove_pd_bp(struct i40e_hw *hw,
265 I40E_INVALIDATE_PF_HMC_PD(hw, sd_idx, idx);
269 ret_code = i40e_free_dma_mem(hw, &(pd_entry->bp.addr));
273 i40e_free_virt_mem(hw, &pd_table->pd_entry_virt_mem);
306 * @hw: pointer to our hw struct
311 enum i40e_status_code i40e_remove_sd_bp_new(struct i40e_hw *hw,
322 I40E_CLEAR_PF_SD_ENTRY(hw, idx, I40E_SD_TYPE_DIRECT);
324 return i40e_free_dma_mem(hw, &(sd_entry->u.bp.addr));
355 * @hw: pointer to our hw struct
360 enum i40e_status_code i40e_remove_pd_page_new(struct i40e_hw *hw,
370 I40E_CLEAR_PF_SD_ENTRY(hw, idx, I40E_SD_TYPE_PAGED);
372 return i40e_free_dma_mem(hw, &(sd_entry->u.pd_table.pd_page_addr));