Lines Matching refs:sd_entry
197 if (NULL == hw->hmc.sd_table.sd_entry) { in i40e_init_lan_hmc()
208 hw->hmc.sd_table.sd_entry = in i40e_init_lan_hmc()
282 struct i40e_hmc_sd_entry *sd_entry; in i40e_create_lan_hmc_object() local
354 sd_entry = &info->hmc_info->sd_table.sd_entry[j]; in i40e_create_lan_hmc_object()
355 if (I40E_SD_TYPE_PAGED == sd_entry->entry_type) { in i40e_create_lan_hmc_object()
383 if (!sd_entry->valid) { in i40e_create_lan_hmc_object()
384 sd_entry->valid = true; in i40e_create_lan_hmc_object()
385 switch (sd_entry->entry_type) { in i40e_create_lan_hmc_object()
388 sd_entry->u.pd_table.pd_page_addr.pa, in i40e_create_lan_hmc_object()
389 j, sd_entry->entry_type); in i40e_create_lan_hmc_object()
392 I40E_SET_PF_SD_ENTRY(hw, sd_entry->u.bp.addr.pa, in i40e_create_lan_hmc_object()
393 j, sd_entry->entry_type); in i40e_create_lan_hmc_object()
406 sd_entry = &info->hmc_info->sd_table.sd_entry[j - 1]; in i40e_create_lan_hmc_object()
407 switch (sd_entry->entry_type) { in i40e_create_lan_hmc_object()
548 if (NULL == info->hmc_info->sd_table.sd_entry) { in i40e_delete_lan_hmc_object()
582 info->hmc_info->sd_table.sd_entry[sd_idx].entry_type) in i40e_delete_lan_hmc_object()
588 &info->hmc_info->sd_table.sd_entry[sd_idx].u.pd_table; in i40e_delete_lan_hmc_object()
607 if (!info->hmc_info->sd_table.sd_entry[i].valid) in i40e_delete_lan_hmc_object()
609 switch (info->hmc_info->sd_table.sd_entry[i].entry_type) { in i40e_delete_lan_hmc_object()
651 hw->hmc.sd_table.sd_entry = NULL; in i40e_shutdown_lan_hmc()
982 struct i40e_hmc_sd_entry *sd_entry; in i40e_hmc_get_object_va() local
1019 sd_entry = &hmc_info->sd_table.sd_entry[sd_idx]; in i40e_hmc_get_object_va()
1023 if (I40E_SD_TYPE_PAGED == sd_entry->entry_type) { in i40e_hmc_get_object_va()
1027 pd_entry = &sd_entry->u.pd_table.pd_entry[rel_pd_idx]; in i40e_hmc_get_object_va()
1034 *object_base = (u8 *)sd_entry->u.bp.addr.va + obj_offset_in_sd; in i40e_hmc_get_object_va()