Searched refs:sd_entry (Results 1 – 9 of 9) sorted by relevance
26 struct i40e_hmc_sd_entry *sd_entry; in i40e_add_sd_table_entry() local32 if (NULL == hmc_info->sd_table.sd_entry) { in i40e_add_sd_table_entry()44 sd_entry = &hmc_info->sd_table.sd_entry[sd_index]; in i40e_add_sd_table_entry()45 if (!sd_entry->valid) { in i40e_add_sd_table_entry()62 &sd_entry->u.pd_table.pd_entry_virt_mem, in i40e_add_sd_table_entry()66 sd_entry->u.pd_table.pd_entry = in i40e_add_sd_table_entry()68 sd_entry->u.pd_table.pd_entry_virt_mem.va; in i40e_add_sd_table_entry()69 sd_entry->u.pd_table.pd_page_addr = mem; in i40e_add_sd_table_entry()71 sd_entry->u.bp.addr = mem; in i40e_add_sd_table_entry()72 sd_entry->u.bp.sd_pd_index = sd_index; in i40e_add_sd_table_entry()[all …]
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() local354 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()[all …]
68 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()