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 =
284 * 3. Decrement the ref count for the sd_entry
313 struct i40e_hmc_sd_entry *sd_entry;
384 sd_entry = &info->hmc_info->sd_table.sd_entry[j];
385 if (I40E_SD_TYPE_PAGED == sd_entry->entry_type) {
413 if (!sd_entry->valid) {
414 sd_entry->valid = TRUE;
415 switch (sd_entry->entry_type) {
418 sd_entry->u.pd_table.pd_page_addr.pa,
419 j, sd_entry->entry_type);
422 I40E_SET_PF_SD_ENTRY(hw, sd_entry->u.bp.addr.pa,
423 j, sd_entry->entry_type);
436 sd_entry = &info->hmc_info->sd_table.sd_entry[j - 1];
437 switch (sd_entry->entry_type) {
578 if (NULL == info->hmc_info->sd_table.sd_entry) {
580 DEBUGOUT("i40e_delete_hmc_object: bad sd_entry\n");
612 info->hmc_info->sd_table.sd_entry[sd_idx].entry_type)
618 &info->hmc_info->sd_table.sd_entry[sd_idx].u.pd_table;
637 if (!info->hmc_info->sd_table.sd_entry[i].valid)
639 switch (info->hmc_info->sd_table.sd_entry[i].entry_type) {
681 hw->hmc.sd_table.sd_entry = NULL;
1236 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;