Home
last modified time | relevance | path

Searched refs:sd_entry (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/intel/i40e/
Di40e_hmc.c27 struct i40e_hmc_sd_entry *sd_entry; in i40e_add_sd_table_entry() local
33 if (NULL == hmc_info->sd_table.sd_entry) { in i40e_add_sd_table_entry()
45 sd_entry = &hmc_info->sd_table.sd_entry[sd_index]; in i40e_add_sd_table_entry()
46 if (!sd_entry->valid) { in i40e_add_sd_table_entry()
63 &sd_entry->u.pd_table.pd_entry_virt_mem, in i40e_add_sd_table_entry()
67 sd_entry->u.pd_table.pd_entry = in i40e_add_sd_table_entry()
69 sd_entry->u.pd_table.pd_entry_virt_mem.va; in i40e_add_sd_table_entry()
70 sd_entry->u.pd_table.pd_page_addr = mem; in i40e_add_sd_table_entry()
72 sd_entry->u.bp.addr = mem; in i40e_add_sd_table_entry()
73 sd_entry->u.bp.sd_pd_index = sd_index; in i40e_add_sd_table_entry()
[all …]
Di40e_lan_hmc.c197 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()
283 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()
[all …]
Di40e_hmc.h69 struct i40e_hmc_sd_entry *sd_entry; /* (sd_cnt*512) entries max */ member
/Linux-v5.4/drivers/infiniband/hw/i40iw/
Di40iw_hmc.c181 struct i40iw_hmc_sd_entry *sd_entry; in i40iw_hmc_sd_grp() local
190 sd_entry = &hmc_info->sd_table.sd_entry[i]; in i40iw_hmc_sd_grp()
191 if (!sd_entry || in i40iw_hmc_sd_grp()
192 (!sd_entry->valid && setsd) || in i40iw_hmc_sd_grp()
193 (sd_entry->valid && !setsd)) in i40iw_hmc_sd_grp()
196 pa = (sd_entry->entry_type == I40IW_SD_TYPE_PAGED) ? in i40iw_hmc_sd_grp()
197 sd_entry->u.pd_table.pd_page_addr.pa : in i40iw_hmc_sd_grp()
198 sd_entry->u.bp.addr.pa; in i40iw_hmc_sd_grp()
199 i40iw_set_sd_entry(pa, i, sd_entry->entry_type, in i40iw_hmc_sd_grp()
202 i40iw_clr_sd_entry(i, sd_entry->entry_type, in i40iw_hmc_sd_grp()
[all …]
Di40iw_pble.c140 struct i40iw_hmc_sd_entry *sd_entry = info->sd_entry; in add_sd_direct() local
143 if (!sd_entry->valid) { in add_sd_direct()
156 chunk->vaddr = ((u8 *)sd_entry->u.bp.addr.va + offset); in add_sd_direct()
257 struct i40iw_hmc_sd_entry *sd_entry = info->sd_entry; in add_bp_pages() local
289 pd_entry = &sd_entry->u.pd_table.pd_entry[rel_pd_idx++]; in add_bp_pages()
303 vf_pble_info.pd_pl_pba = sd_entry->u.pd_table.pd_page_addr.pa; in add_bp_pages()
327 struct i40iw_hmc_sd_entry *sd_entry; in add_pble_pool() local
349 sd_entry = &hmc_info->sd_table.sd_entry[idx->sd_idx]; in add_pble_pool()
356 info.sd_entry = sd_entry; in add_pble_pool()
357 if (!sd_entry->valid) { in add_pble_pool()
[all …]
Di40iw_pble.h84 struct i40iw_hmc_sd_entry *sd_entry; member
Di40iw_hmc.h137 struct i40iw_hmc_sd_entry *sd_entry; member
Di40iw_main.c1027 kfree(dev->hmc_info->sd_table.sd_entry); in i40iw_del_init_mem()
1028 dev->hmc_info->sd_table.sd_entry = NULL; in i40iw_del_init_mem()
Di40iw_ctrl.c3556 hmc_info->sd_table.sd_entry = virt_mem.va; in i40iw_sc_init_iw_hmc()
4024 hmc_info->sd_table.sd_entry = virt_mem.va; in i40iw_config_fpm_values()