Lines Matching refs:sd_entry
227 if (NULL == hw->hmc.sd_table.sd_entry) { in i40e_init_lan_hmc()
238 hw->hmc.sd_table.sd_entry = in i40e_init_lan_hmc()
313 struct i40e_hmc_sd_entry *sd_entry; in i40e_create_lan_hmc_object() local
384 sd_entry = &info->hmc_info->sd_table.sd_entry[j]; in i40e_create_lan_hmc_object()
385 if (I40E_SD_TYPE_PAGED == sd_entry->entry_type) { in i40e_create_lan_hmc_object()
413 if (!sd_entry->valid) { in i40e_create_lan_hmc_object()
414 sd_entry->valid = TRUE; in i40e_create_lan_hmc_object()
415 switch (sd_entry->entry_type) { in i40e_create_lan_hmc_object()
418 sd_entry->u.pd_table.pd_page_addr.pa, in i40e_create_lan_hmc_object()
419 j, sd_entry->entry_type); in i40e_create_lan_hmc_object()
422 I40E_SET_PF_SD_ENTRY(hw, sd_entry->u.bp.addr.pa, in i40e_create_lan_hmc_object()
423 j, sd_entry->entry_type); in i40e_create_lan_hmc_object()
436 sd_entry = &info->hmc_info->sd_table.sd_entry[j - 1]; in i40e_create_lan_hmc_object()
437 switch (sd_entry->entry_type) { in i40e_create_lan_hmc_object()
579 if (NULL == info->hmc_info->sd_table.sd_entry) { in i40e_delete_lan_hmc_object()
613 info->hmc_info->sd_table.sd_entry[sd_idx].entry_type) in i40e_delete_lan_hmc_object()
619 &info->hmc_info->sd_table.sd_entry[sd_idx].u.pd_table; in i40e_delete_lan_hmc_object()
638 if (!info->hmc_info->sd_table.sd_entry[i].valid) in i40e_delete_lan_hmc_object()
640 switch (info->hmc_info->sd_table.sd_entry[i].entry_type) { in i40e_delete_lan_hmc_object()
682 hw->hmc.sd_table.sd_entry = NULL; in i40e_shutdown_lan_hmc()
1236 struct i40e_hmc_sd_entry *sd_entry; in i40e_hmc_get_object_va() local
1273 sd_entry = &hmc_info->sd_table.sd_entry[sd_idx]; in i40e_hmc_get_object_va()
1277 if (I40E_SD_TYPE_PAGED == sd_entry->entry_type) { in i40e_hmc_get_object_va()
1281 pd_entry = &sd_entry->u.pd_table.pd_entry[rel_pd_idx]; in i40e_hmc_get_object_va()
1288 *object_base = (u8 *)sd_entry->u.bp.addr.va + obj_offset_in_sd; in i40e_hmc_get_object_va()