Lines Matching refs:hmc

86 	hw->hmc.signature = I40E_HMC_INFO_SIGNATURE;  in i40e_init_lan_hmc()
87 hw->hmc.hmc_fn_id = hw->pf_id; in i40e_init_lan_hmc()
90 ret_code = i40e_allocate_virt_mem(hw, &hw->hmc.hmc_obj_virt_mem, in i40e_init_lan_hmc()
94 hw->hmc.hmc_obj = (struct i40e_hmc_obj_info *) in i40e_init_lan_hmc()
95 hw->hmc.hmc_obj_virt_mem.va; in i40e_init_lan_hmc()
98 full_obj = &hw->hmc.hmc_obj[I40E_HMC_LAN_FULL]; in i40e_init_lan_hmc()
105 obj = &hw->hmc.hmc_obj[I40E_HMC_LAN_TX]; in i40e_init_lan_hmc()
125 obj = &hw->hmc.hmc_obj[I40E_HMC_LAN_RX]; in i40e_init_lan_hmc()
128 obj->base = hw->hmc.hmc_obj[I40E_HMC_LAN_TX].base + in i40e_init_lan_hmc()
129 (hw->hmc.hmc_obj[I40E_HMC_LAN_TX].cnt * in i40e_init_lan_hmc()
130 hw->hmc.hmc_obj[I40E_HMC_LAN_TX].size); in i40e_init_lan_hmc()
148 obj = &hw->hmc.hmc_obj[I40E_HMC_FCOE_CTX]; in i40e_init_lan_hmc()
151 obj->base = hw->hmc.hmc_obj[I40E_HMC_LAN_RX].base + in i40e_init_lan_hmc()
152 (hw->hmc.hmc_obj[I40E_HMC_LAN_RX].cnt * in i40e_init_lan_hmc()
153 hw->hmc.hmc_obj[I40E_HMC_LAN_RX].size); in i40e_init_lan_hmc()
171 obj = &hw->hmc.hmc_obj[I40E_HMC_FCOE_FILT]; in i40e_init_lan_hmc()
174 obj->base = hw->hmc.hmc_obj[I40E_HMC_FCOE_CTX].base + in i40e_init_lan_hmc()
175 (hw->hmc.hmc_obj[I40E_HMC_FCOE_CTX].cnt * in i40e_init_lan_hmc()
176 hw->hmc.hmc_obj[I40E_HMC_FCOE_CTX].size); in i40e_init_lan_hmc()
193 hw->hmc.first_sd_index = 0; in i40e_init_lan_hmc()
194 hw->hmc.sd_table.ref_cnt = 0; in i40e_init_lan_hmc()
197 if (NULL == hw->hmc.sd_table.sd_entry) { in i40e_init_lan_hmc()
198 hw->hmc.sd_table.sd_cnt = (u32) in i40e_init_lan_hmc()
203 ret_code = i40e_allocate_virt_mem(hw, &hw->hmc.sd_table.addr, in i40e_init_lan_hmc()
205 hw->hmc.sd_table.sd_cnt)); in i40e_init_lan_hmc()
208 hw->hmc.sd_table.sd_entry = in i40e_init_lan_hmc()
209 (struct i40e_hmc_sd_entry *)hw->hmc.sd_table.addr.va; in i40e_init_lan_hmc()
443 u8 hmc_fn_id = hw->hmc.hmc_fn_id; in i40e_configure_lan_hmc()
447 info.hmc_info = &hw->hmc; in i40e_configure_lan_hmc()
450 info.direct_mode_sz = hw->hmc.hmc_obj[I40E_HMC_LAN_FULL].size; in i40e_configure_lan_hmc()
486 obj = &hw->hmc.hmc_obj[I40E_HMC_LAN_TX]; in i40e_configure_lan_hmc()
492 obj = &hw->hmc.hmc_obj[I40E_HMC_LAN_RX]; in i40e_configure_lan_hmc()
498 obj = &hw->hmc.hmc_obj[I40E_HMC_FCOE_CTX]; in i40e_configure_lan_hmc()
504 obj = &hw->hmc.hmc_obj[I40E_HMC_FCOE_FILT]; in i40e_configure_lan_hmc()
640 info.hmc_info = &hw->hmc; in i40e_shutdown_lan_hmc()
649 i40e_free_virt_mem(hw, &hw->hmc.sd_table.addr); in i40e_shutdown_lan_hmc()
650 hw->hmc.sd_table.sd_cnt = 0; in i40e_shutdown_lan_hmc()
651 hw->hmc.sd_table.sd_entry = NULL; in i40e_shutdown_lan_hmc()
654 i40e_free_virt_mem(hw, &hw->hmc.hmc_obj_virt_mem); in i40e_shutdown_lan_hmc()
655 hw->hmc.hmc_obj = NULL; in i40e_shutdown_lan_hmc()
923 memset(context_bytes, 0, (u32)hw->hmc.hmc_obj[hmc_type].size); in i40e_clear_hmc_context()
980 struct i40e_hmc_info *hmc_info = &hw->hmc; in i40e_hmc_get_object_va()