Lines Matching refs:sd_entry
194 if (NULL == hw->hmc.sd_table.sd_entry) { in i40e_init_lan_hmc()
205 hw->hmc.sd_table.sd_entry = in i40e_init_lan_hmc()
279 struct i40e_hmc_sd_entry *sd_entry; in i40e_create_lan_hmc_object() local
351 sd_entry = &info->hmc_info->sd_table.sd_entry[j]; in i40e_create_lan_hmc_object()
352 if (I40E_SD_TYPE_PAGED == sd_entry->entry_type) { in i40e_create_lan_hmc_object()
380 if (!sd_entry->valid) { in i40e_create_lan_hmc_object()
381 sd_entry->valid = true; in i40e_create_lan_hmc_object()
382 switch (sd_entry->entry_type) { in i40e_create_lan_hmc_object()
385 sd_entry->u.pd_table.pd_page_addr.pa, in i40e_create_lan_hmc_object()
386 j, sd_entry->entry_type); in i40e_create_lan_hmc_object()
389 I40E_SET_PF_SD_ENTRY(hw, sd_entry->u.bp.addr.pa, in i40e_create_lan_hmc_object()
390 j, sd_entry->entry_type); in i40e_create_lan_hmc_object()
403 sd_entry = &info->hmc_info->sd_table.sd_entry[j - 1]; in i40e_create_lan_hmc_object()
404 switch (sd_entry->entry_type) { in i40e_create_lan_hmc_object()
545 if (NULL == info->hmc_info->sd_table.sd_entry) { in i40e_delete_lan_hmc_object()
579 info->hmc_info->sd_table.sd_entry[sd_idx].entry_type) in i40e_delete_lan_hmc_object()
585 &info->hmc_info->sd_table.sd_entry[sd_idx].u.pd_table; in i40e_delete_lan_hmc_object()
604 if (!info->hmc_info->sd_table.sd_entry[i].valid) in i40e_delete_lan_hmc_object()
606 switch (info->hmc_info->sd_table.sd_entry[i].entry_type) { in i40e_delete_lan_hmc_object()
648 hw->hmc.sd_table.sd_entry = NULL; in i40e_shutdown_lan_hmc()
979 struct i40e_hmc_sd_entry *sd_entry; in i40e_hmc_get_object_va() local
1016 sd_entry = &hmc_info->sd_table.sd_entry[sd_idx]; in i40e_hmc_get_object_va()
1020 if (I40E_SD_TYPE_PAGED == sd_entry->entry_type) { in i40e_hmc_get_object_va()
1024 pd_entry = &sd_entry->u.pd_table.pd_entry[rel_pd_idx]; in i40e_hmc_get_object_va()
1031 *object_base = (u8 *)sd_entry->u.bp.addr.va + obj_offset_in_sd; in i40e_hmc_get_object_va()