Home
last modified time | relevance | path

Searched refs:sd_entry (Results 1 - 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
H A 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()
35 hw_dbg(hw, "i40e_add_sd_table_entry: bad sd_entry\n"); 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 in i40e_add_sd_table_entry()
195 struct i40e_hmc_sd_entry *sd_entry; i40e_remove_pd_bp() local
248 struct i40e_hmc_sd_entry *sd_entry; i40e_prep_remove_sd_bp() local
276 struct i40e_hmc_sd_entry *sd_entry; i40e_remove_sd_bp_new() local
297 struct i40e_hmc_sd_entry *sd_entry; i40e_prep_remove_pd_page() local
325 struct i40e_hmc_sd_entry *sd_entry; i40e_remove_pd_page_new() local
[all...]
H A Di40e_lan_hmc.c197 if (NULL == hw->hmc.sd_table.sd_entry) { in i40e_init_lan_hmc()
202 /* allocate the sd_entry members in the sd_table */ in i40e_init_lan_hmc()
208 hw->hmc.sd_table.sd_entry = in i40e_init_lan_hmc()
254 * 3. Decrement the ref count for the sd_entry
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 in i40e_create_lan_hmc_object()
982 struct i40e_hmc_sd_entry *sd_entry; i40e_hmc_get_object_va() local
[all...]
H A Di40e_hmc.h65 struct i40e_virt_mem addr; /* used to track sd_entry allocations */
68 struct i40e_hmc_sd_entry *sd_entry; /* (sd_cnt*512) entries max */ member
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/i40e/
H A Di40e_hmc.c26 struct i40e_hmc_sd_entry *sd_entry; in i40e_add_sd_table_entry() local
32 if (NULL == hmc_info->sd_table.sd_entry) { in i40e_add_sd_table_entry()
34 hw_dbg(hw, "i40e_add_sd_table_entry: bad sd_entry\n"); 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 in i40e_add_sd_table_entry()
193 struct i40e_hmc_sd_entry *sd_entry; i40e_remove_pd_bp() local
246 struct i40e_hmc_sd_entry *sd_entry; i40e_prep_remove_sd_bp() local
275 struct i40e_hmc_sd_entry *sd_entry; i40e_remove_sd_bp_new() local
295 struct i40e_hmc_sd_entry *sd_entry; i40e_prep_remove_pd_page() local
324 struct i40e_hmc_sd_entry *sd_entry; i40e_remove_pd_page_new() local
[all...]
H A Di40e_lan_hmc.c197 if (NULL == hw->hmc.sd_table.sd_entry) { in i40e_init_lan_hmc()
202 /* allocate the sd_entry members in the sd_table */ in i40e_init_lan_hmc()
208 hw->hmc.sd_table.sd_entry = in i40e_init_lan_hmc()
254 * 3. Decrement the ref count for the sd_entry
282 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 in i40e_create_lan_hmc_object()
982 struct i40e_hmc_sd_entry *sd_entry; i40e_hmc_get_object_va() local
[all...]
H A Di40e_hmc.h65 struct i40e_virt_mem addr; /* used to track sd_entry allocations */
68 struct i40e_hmc_sd_entry *sd_entry; /* (sd_cnt*512) entries max */ member
/kernel/linux/linux-6.6/drivers/infiniband/hw/irdma/
H A Dhmc.c149 struct irdma_hmc_sd_entry *sd_entry; in irdma_hmc_sd_grp() local
157 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 in irdma_hmc_sd_grp()
223 struct irdma_hmc_sd_entry *sd_entry; irdma_sc_create_hmc_obj() local
328 struct irdma_hmc_sd_entry *sd_entry; irdma_finish_del_sd_reg() local
477 struct irdma_hmc_sd_entry *sd_entry; irdma_add_sd_table_entry() local
619 struct irdma_hmc_sd_entry *sd_entry; irdma_remove_pd_bp() local
667 struct irdma_hmc_sd_entry *sd_entry; irdma_prep_remove_sd_bp() local
686 struct irdma_hmc_sd_entry *sd_entry; irdma_prep_remove_pd_page() local
[all...]
H A Dpble.c92 struct irdma_hmc_sd_entry *sd_entry = info->sd_entry; in add_sd_direct() local
95 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() local
165 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() local
236 sd_entry = &hmc_info->sd_table.sd_entry[id in add_pble_prm()
[all...]
H A Dhmc.h93 struct irdma_hmc_sd_entry *sd_entry; member
H A Dpble.h63 struct irdma_hmc_sd_entry *sd_entry; member
H A Dhw.c1574 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()
H A Dctrl.c4968 "HMC: failed to allocate memory for sd_entry buffer\n"); in irdma_cfg_fpm_val()
4971 hmc_info->sd_table.sd_entry = virt_mem.va; in irdma_cfg_fpm_val()
/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/
H A 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 in i40iw_hmc_sd_grp()
298 struct i40iw_hmc_sd_entry *sd_entry; i40iw_sc_create_hmc_obj() local
406 struct i40iw_hmc_sd_entry *sd_entry; i40iw_finish_del_sd_reg() local
551 struct i40iw_hmc_sd_entry *sd_entry; i40iw_add_sd_table_entry() local
699 struct i40iw_hmc_sd_entry *sd_entry; i40iw_remove_pd_bp() local
749 struct i40iw_hmc_sd_entry *sd_entry; i40iw_prep_remove_sd_bp() local
770 struct i40iw_hmc_sd_entry *sd_entry; i40iw_prep_remove_pd_page() local
[all...]
H A 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 in add_pble_pool()
[all...]
H A Di40iw_pble.h84 struct i40iw_hmc_sd_entry *sd_entry; member
H A Di40iw_hmc.h137 struct i40iw_hmc_sd_entry *sd_entry; member
H A Di40iw_main.c1023 kfree(dev->hmc_info->sd_table.sd_entry); in i40iw_del_init_mem()
1024 dev->hmc_info->sd_table.sd_entry = NULL; in i40iw_del_init_mem()
H A Di40iw_ctrl.c3650 hmc_info->sd_table.sd_entry = virt_mem.va; in i40iw_sc_init_iw_hmc()
4114 "%s: failed to allocate memory for sd_entry buffer\n", in i40iw_config_fpm_values()
4118 hmc_info->sd_table.sd_entry = virt_mem.va; in i40iw_config_fpm_values()

Completed in 25 milliseconds