Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/i40e/
H A Di40e_hmc.c63 &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()
115 struct i40e_hmc_pd_table *pd_table; in i40e_add_pd_table_entry() local
136 pd_table = &hmc_info->sd_table.sd_entry[sd_idx].u.pd_table; in i40e_add_pd_table_entry()
137 pd_entry = &pd_table->pd_entry[rel_pd_idx]; in i40e_add_pd_table_entry()
158 pd_addr = (u64 *)pd_table->pd_page_addr.va; in i40e_add_pd_table_entry()
166 I40E_INC_PD_REFCNT(pd_table); in i40e_add_pd_table_entry()
194 struct i40e_hmc_pd_table *pd_table; in i40e_remove_pd_bp() local
[all …]
H A Di40e_hmc.h59 struct i40e_hmc_pd_table pd_table; member
84 #define I40E_INC_PD_REFCNT(pd_table) ((pd_table)->ref_cnt++) argument
88 #define I40E_DEC_PD_REFCNT(pd_table) ((pd_table)->ref_cnt--) argument
H A Di40e_lan_hmc.c388 sd_entry->u.pd_table.pd_page_addr.pa, in i40e_create_lan_hmc_object()
527 struct i40e_hmc_pd_table *pd_table; in i40e_delete_lan_hmc_object() local
587 pd_table = in i40e_delete_lan_hmc_object()
588 &info->hmc_info->sd_table.sd_entry[sd_idx].u.pd_table; in i40e_delete_lan_hmc_object()
589 if (pd_table->pd_entry[rel_pd_idx].valid) { in i40e_delete_lan_hmc_object()
1027 pd_entry = &sd_entry->u.pd_table.pd_entry[rel_pd_idx]; in i40e_hmc_get_object_va()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/i40iw/
H A Di40iw_hmc.c197 sd_entry->u.pd_table.pd_page_addr.pa : in i40iw_hmc_sd_grp()
425 &sd_entry->u.pd_table.pd_page_addr : in i40iw_finish_del_sd_reg()
451 struct i40iw_hmc_pd_table *pd_table; in i40iw_sc_del_hmc_obj() local
492 pd_table = &info->hmc_info->sd_table.sd_entry[sd_idx].u.pd_table; in i40iw_sc_del_hmc_obj()
493 if (pd_table->pd_entry[rel_pd_idx].valid) { in i40iw_sc_del_hmc_obj()
571 &sd_entry->u.pd_table.pd_entry_virt_mem, in i40iw_add_sd_table_entry()
575 sd_entry->u.pd_table.pd_entry = (struct i40iw_hmc_pd_entry *) in i40iw_add_sd_table_entry()
576 sd_entry->u.pd_table.pd_entry_virt_mem.va; in i40iw_add_sd_table_entry()
578 memcpy(&sd_entry->u.pd_table.pd_page_addr, &mem, sizeof(struct i40iw_dma_mem)); in i40iw_add_sd_table_entry()
621 struct i40iw_hmc_pd_table *pd_table; in i40iw_add_pd_table_entry() local
[all …]
H A Di40iw_hmc.h57 #define I40IW_INC_PD_REFCNT(pd_table) ((pd_table)->ref_cnt++) argument
61 #define I40IW_DEC_PD_REFCNT(pd_table) ((pd_table)->ref_cnt--) argument
128 struct i40iw_hmc_pd_table pd_table; member
H A Di40iw_pble.c289 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()
396 sd_entry->u.pd_table.pd_page_addr.pa : sd_entry->u.bp.addr.pa; in add_pble_pool()
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/external/mpp/mpp/vproc/iep2/
H A Diep2_pd.c44 static int pd_table[][PD_FRAME_PERIOD] = { variable
120 int type = pd_table[n][(pd_inf->step + 1) % 5]; in iep2_check_pd()
138 for (i = 0; i < MPP_ARRAY_ELEMS(pd_table); ++i) { in iep2_check_pd()
139 if (pd_inf->temporal[idx] == pd_table[i][0] && in iep2_check_pd()
140 pd_inf->temporal[(idx + 1) % 5] == pd_table[i][1] && in iep2_check_pd()
141 pd_inf->temporal[(idx + 2) % 5] == pd_table[i][2] && in iep2_check_pd()
142 pd_inf->temporal[(idx + 3) % 5] == pd_table[i][3] && in iep2_check_pd()
143 pd_inf->temporal[(idx + 4) % 5] == pd_table[i][4]) { in iep2_check_pd()