Lines Matching defs:sd_entry
227 if (NULL == hw->hmc.sd_table.sd_entry) {
232 /* allocate the sd_entry members in the sd_table */
238 hw->hmc.sd_table.sd_entry =
289 * 3. Decrement the ref count for the sd_entry
318 struct i40e_hmc_sd_entry *sd_entry;
389 sd_entry = &info->hmc_info->sd_table.sd_entry[j];
390 if (I40E_SD_TYPE_PAGED == sd_entry->entry_type) {
418 if (!sd_entry->valid) {
419 sd_entry->valid = TRUE;
420 switch (sd_entry->entry_type) {
423 sd_entry->u.pd_table.pd_page_addr.pa,
424 j, sd_entry->entry_type);
427 I40E_SET_PF_SD_ENTRY(hw, sd_entry->u.bp.addr.pa,
428 j, sd_entry->entry_type);
441 sd_entry = &info->hmc_info->sd_table.sd_entry[j - 1];
442 switch (sd_entry->entry_type) {
583 if (NULL == info->hmc_info->sd_table.sd_entry) {
585 DEBUGOUT("i40e_delete_hmc_object: bad sd_entry\n");
617 info->hmc_info->sd_table.sd_entry[sd_idx].entry_type)
623 &info->hmc_info->sd_table.sd_entry[sd_idx].u.pd_table;
642 if (!info->hmc_info->sd_table.sd_entry[i].valid)
644 switch (info->hmc_info->sd_table.sd_entry[i].entry_type) {
686 hw->hmc.sd_table.sd_entry = NULL;
1241 struct i40e_hmc_sd_entry *sd_entry;
1273 sd_entry = &hmc_info->sd_table.sd_entry[sd_idx];
1277 if (I40E_SD_TYPE_PAGED == sd_entry->entry_type) {
1281 pd_entry = &sd_entry->u.pd_table.pd_entry[rel_pd_idx];
1288 *object_base = (u8 *)sd_entry->u.bp.addr.va + obj_offset_in_sd;