Searched refs:sd_entry (Results 1 – 9 of 9) sorted by relevance
23 struct i40e_hmc_sd_entry *sd_entry; in i40e_add_sd_table_entry() local29 if (NULL == hmc_info->sd_table.sd_entry) { in i40e_add_sd_table_entry()41 sd_entry = &hmc_info->sd_table.sd_entry[sd_index]; in i40e_add_sd_table_entry()42 if (!sd_entry->valid) { in i40e_add_sd_table_entry()56 &sd_entry->u.pd_table.pd_entry_virt_mem, in i40e_add_sd_table_entry()60 sd_entry->u.pd_table.pd_entry = in i40e_add_sd_table_entry()62 sd_entry->u.pd_table.pd_entry_virt_mem.va; in i40e_add_sd_table_entry()63 sd_entry->u.pd_table.pd_page_addr = mem; in i40e_add_sd_table_entry()65 sd_entry->u.bp.addr = mem; in i40e_add_sd_table_entry()66 sd_entry->u.bp.sd_pd_index = sd_index; in i40e_add_sd_table_entry()[all …]
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() local351 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()[all …]
72 struct i40e_hmc_sd_entry *sd_entry; /* (sd_cnt*512) entries max */ member
149 struct irdma_hmc_sd_entry *sd_entry; in irdma_hmc_sd_grp() local157 sd_entry = &hmc_info->sd_table.sd_entry[i]; in irdma_hmc_sd_grp()158 if (!sd_entry || (!sd_entry->valid && setsd) || in irdma_hmc_sd_grp()159 (sd_entry->valid && !setsd)) in irdma_hmc_sd_grp()162 pa = (sd_entry->entry_type == IRDMA_SD_TYPE_PAGED) ? in irdma_hmc_sd_grp()163 sd_entry->u.pd_table.pd_page_addr.pa : in irdma_hmc_sd_grp()164 sd_entry->u.bp.addr.pa; in irdma_hmc_sd_grp()165 irdma_set_sd_entry(pa, i, sd_entry->entry_type, in irdma_hmc_sd_grp()168 irdma_clr_sd_entry(i, sd_entry->entry_type, in irdma_hmc_sd_grp()223 struct irdma_hmc_sd_entry *sd_entry; in irdma_sc_create_hmc_obj() local[all …]
92 struct irdma_hmc_sd_entry *sd_entry = info->sd_entry; in add_sd_direct() local95 if (!sd_entry->valid) { in add_sd_direct()108 chunk->vaddr = sd_entry->u.bp.addr.va + offset; in add_sd_direct()143 struct irdma_hmc_sd_entry *sd_entry = info->sd_entry; in add_bp_pages() local165 pd_entry = &sd_entry->u.pd_table.pd_entry[rel_pd_idx++]; in add_bp_pages()208 struct irdma_hmc_sd_entry *sd_entry; in add_pble_prm() local236 sd_entry = &hmc_info->sd_table.sd_entry[idx->sd_idx]; in add_pble_prm()243 info.sd_entry = sd_entry; in add_pble_prm()244 if (!sd_entry->valid) in add_pble_prm()247 sd_entry_type = sd_entry->entry_type; in add_pble_prm()[all …]
63 struct irdma_hmc_sd_entry *sd_entry; member
93 struct irdma_hmc_sd_entry *sd_entry; member
1574 kfree(dev->hmc_info->sd_table.sd_entry); in irdma_del_init_mem()1575 dev->hmc_info->sd_table.sd_entry = NULL; in irdma_del_init_mem()
4971 hmc_info->sd_table.sd_entry = virt_mem.va; in irdma_cfg_fpm_val()