Lines Matching refs:hmc_obj

91 	hw->hmc.hmc_obj = (struct i40e_hmc_obj_info *)  in i40e_init_lan_hmc()
95 full_obj = &hw->hmc.hmc_obj[I40E_HMC_LAN_FULL]; in i40e_init_lan_hmc()
102 obj = &hw->hmc.hmc_obj[I40E_HMC_LAN_TX]; in i40e_init_lan_hmc()
122 obj = &hw->hmc.hmc_obj[I40E_HMC_LAN_RX]; in i40e_init_lan_hmc()
125 obj->base = hw->hmc.hmc_obj[I40E_HMC_LAN_TX].base + in i40e_init_lan_hmc()
126 (hw->hmc.hmc_obj[I40E_HMC_LAN_TX].cnt * in i40e_init_lan_hmc()
127 hw->hmc.hmc_obj[I40E_HMC_LAN_TX].size); in i40e_init_lan_hmc()
145 obj = &hw->hmc.hmc_obj[I40E_HMC_FCOE_CTX]; in i40e_init_lan_hmc()
148 obj->base = hw->hmc.hmc_obj[I40E_HMC_LAN_RX].base + in i40e_init_lan_hmc()
149 (hw->hmc.hmc_obj[I40E_HMC_LAN_RX].cnt * in i40e_init_lan_hmc()
150 hw->hmc.hmc_obj[I40E_HMC_LAN_RX].size); in i40e_init_lan_hmc()
168 obj = &hw->hmc.hmc_obj[I40E_HMC_FCOE_FILT]; in i40e_init_lan_hmc()
171 obj->base = hw->hmc.hmc_obj[I40E_HMC_FCOE_CTX].base + in i40e_init_lan_hmc()
172 (hw->hmc.hmc_obj[I40E_HMC_FCOE_CTX].cnt * in i40e_init_lan_hmc()
173 hw->hmc.hmc_obj[I40E_HMC_FCOE_CTX].size); in i40e_init_lan_hmc()
304 if (info->start_idx >= info->hmc_info->hmc_obj[info->rsrc_type].cnt) { in i40e_create_lan_hmc_object()
311 info->hmc_info->hmc_obj[info->rsrc_type].cnt) { in i40e_create_lan_hmc_object()
447 info.direct_mode_sz = hw->hmc.hmc_obj[I40E_HMC_LAN_FULL].size; in i40e_configure_lan_hmc()
483 obj = &hw->hmc.hmc_obj[I40E_HMC_LAN_TX]; in i40e_configure_lan_hmc()
489 obj = &hw->hmc.hmc_obj[I40E_HMC_LAN_RX]; in i40e_configure_lan_hmc()
495 obj = &hw->hmc.hmc_obj[I40E_HMC_FCOE_CTX]; in i40e_configure_lan_hmc()
501 obj = &hw->hmc.hmc_obj[I40E_HMC_FCOE_FILT]; in i40e_configure_lan_hmc()
551 if (NULL == info->hmc_info->hmc_obj) { in i40e_delete_lan_hmc_object()
556 if (info->start_idx >= info->hmc_info->hmc_obj[info->rsrc_type].cnt) { in i40e_delete_lan_hmc_object()
564 info->hmc_info->hmc_obj[info->rsrc_type].cnt) { in i40e_delete_lan_hmc_object()
652 hw->hmc.hmc_obj = NULL; in i40e_shutdown_lan_hmc()
920 memset(context_bytes, 0, (u32)hw->hmc.hmc_obj[hmc_type].size); in i40e_clear_hmc_context()
991 if (NULL == hmc_info->hmc_obj) { in i40e_hmc_get_object_va()
1006 if (obj_idx >= hmc_info->hmc_obj[rsrc_type].cnt) { in i40e_hmc_get_object_va()
1017 obj_offset_in_fpm = hmc_info->hmc_obj[rsrc_type].base + in i40e_hmc_get_object_va()
1018 hmc_info->hmc_obj[rsrc_type].size * obj_idx; in i40e_hmc_get_object_va()