Home
last modified time | relevance | path

Searched refs:pd_table (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_hmc.c56 &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()
107 struct i40e_hmc_pd_table *pd_table; in i40e_add_pd_table_entry() local
129 pd_table = &hmc_info->sd_table.sd_entry[sd_idx].u.pd_table; in i40e_add_pd_table_entry()
130 pd_entry = &pd_table->pd_entry[rel_pd_idx]; in i40e_add_pd_table_entry()
151 pd_addr = (u64 *)pd_table->pd_page_addr.va; in i40e_add_pd_table_entry()
159 I40E_INC_PD_REFCNT(pd_table); in i40e_add_pd_table_entry()
186 struct i40e_hmc_pd_table *pd_table; in i40e_remove_pd_bp() local
[all …]
H A Di40e_hmc.h63 struct i40e_hmc_pd_table pd_table; member
88 #define I40E_INC_PD_REFCNT(pd_table) ((pd_table)->ref_cnt++) argument
92 #define I40E_DEC_PD_REFCNT(pd_table) ((pd_table)->ref_cnt--) argument
H A Di40e_lan_hmc.c385 sd_entry->u.pd_table.pd_page_addr.pa, in i40e_create_lan_hmc_object()
523 struct i40e_hmc_pd_table *pd_table; in i40e_delete_lan_hmc_object() local
584 pd_table = in i40e_delete_lan_hmc_object()
585 &info->hmc_info->sd_table.sd_entry[sd_idx].u.pd_table; in i40e_delete_lan_hmc_object()
586 if (pd_table->pd_entry[rel_pd_idx].valid) { in i40e_delete_lan_hmc_object()
1024 pd_entry = &sd_entry->u.pd_table.pd_entry[rel_pd_idx]; in i40e_hmc_get_object_va()
/linux/drivers/infiniband/hw/irdma/
H A Dhmc.c163 sd_entry->u.pd_table.pd_page_addr.pa : in irdma_hmc_sd_grp()
344 &sd_entry->u.pd_table.pd_page_addr : in irdma_finish_del_sd_reg()
373 struct irdma_hmc_pd_table *pd_table; in irdma_sc_del_hmc_obj() local
411 pd_table = &info->hmc_info->sd_table.sd_entry[sd_idx].u.pd_table; in irdma_sc_del_hmc_obj()
412 if (pd_table->pd_entry && in irdma_sc_del_hmc_obj()
413 pd_table->pd_entry[rel_pd_idx].valid) { in irdma_sc_del_hmc_obj()
433 pd_table = &info->hmc_info->sd_table.sd_entry[i].u.pd_table; in irdma_sc_del_hmc_obj()
451 pd_table->pd_entry) { in irdma_sc_del_hmc_obj()
452 kfree(pd_table->pd_entry_virt_mem.va); in irdma_sc_del_hmc_obj()
453 pd_table->pd_entry = NULL; in irdma_sc_del_hmc_obj()
[all …]
H A Dhmc.h84 struct irdma_hmc_pd_table pd_table; member
H A Dpble.c165 pd_entry = &sd_entry->u.pd_table.pd_entry[rel_pd_idx++]; in add_bp_pages()
280 sd_entry->u.pd_table.pd_page_addr.pa : in add_pble_prm()
/linux/drivers/infiniband/hw/mthca/
H A Dmthca_pd.c46 pd->pd_num = mthca_alloc(&dev->pd_table.alloc); in mthca_pd_alloc()
56 mthca_free(&dev->pd_table.alloc, pd->pd_num); in mthca_pd_alloc()
66 mthca_free(&dev->pd_table.alloc, pd->pd_num); in mthca_pd_free()
71 return mthca_alloc_init(&dev->pd_table.alloc, in mthca_init_pd_table()
80 mthca_alloc_cleanup(&dev->pd_table.alloc); in mthca_cleanup_pd_table()
H A Dmthca_dev.h339 struct mthca_pd_table pd_table; member