Home
last modified time | relevance | path

Searched refs:rel_pd_idx (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/intel/i40e/
Di40e_hmc.c117 u32 sd_idx, rel_pd_idx; in i40e_add_pd_table_entry() local
134 rel_pd_idx = (pd_index % I40E_HMC_PD_CNT_IN_SD); in i40e_add_pd_table_entry()
136 pd_entry = &pd_table->pd_entry[rel_pd_idx]; in i40e_add_pd_table_entry()
158 pd_addr += rel_pd_idx; in i40e_add_pd_table_entry()
194 u32 sd_idx, rel_pd_idx; in i40e_remove_pd_bp() local
200 rel_pd_idx = idx % I40E_HMC_PD_CNT_IN_SD; in i40e_remove_pd_bp()
214 pd_entry = &pd_table->pd_entry[rel_pd_idx]; in i40e_remove_pd_bp()
223 pd_addr += rel_pd_idx; in i40e_remove_pd_bp()
Di40e_lan_hmc.c527 u32 pd_idx, pd_lmt, rel_pd_idx; in i40e_delete_lan_hmc_object() local
585 rel_pd_idx = j % I40E_HMC_PD_CNT_IN_SD; in i40e_delete_lan_hmc_object()
589 if (pd_table->pd_entry[rel_pd_idx].valid) { in i40e_delete_lan_hmc_object()
984 u32 pd_idx, pd_lmt, rel_pd_idx; in i40e_hmc_get_object_va() local
1026 rel_pd_idx = pd_idx % I40E_HMC_PD_CNT_IN_SD; in i40e_hmc_get_object_va()
1027 pd_entry = &sd_entry->u.pd_table.pd_entry[rel_pd_idx]; in i40e_hmc_get_object_va()
/linux-6.6.21/drivers/infiniband/hw/irdma/
Dhmc.c375 u32 pd_idx, pd_lmt, rel_pd_idx; in irdma_sc_del_hmc_obj() local
410 rel_pd_idx = j % IRDMA_HMC_PD_CNT_IN_SD; in irdma_sc_del_hmc_obj()
413 pd_table->pd_entry[rel_pd_idx].valid) { in irdma_sc_del_hmc_obj()
551 u32 sd_idx, rel_pd_idx; in irdma_add_pd_table_entry() local
563 rel_pd_idx = (pd_index % IRDMA_HMC_PD_CNT_IN_SD); in irdma_add_pd_table_entry()
565 pd_entry = &pd_table->pd_entry[rel_pd_idx]; in irdma_add_pd_table_entry()
587 pd_addr += rel_pd_idx; in irdma_add_pd_table_entry()
592 irdma_invalidate_pf_hmc_pd(dev, sd_idx, rel_pd_idx); in irdma_add_pd_table_entry()
620 u32 sd_idx, rel_pd_idx; in irdma_remove_pd_bp() local
625 rel_pd_idx = idx % IRDMA_HMC_PD_CNT_IN_SD; in irdma_remove_pd_bp()
[all …]
Dpble.c76 idx->rel_pd_idx = (idx->pd_idx % IRDMA_HMC_PD_CNT_IN_SD); in get_sd_pd_idx()
106 offset = idx->rel_pd_idx << HMC_PAGED_BP_SHIFT; in add_sd_direct()
147 u32 rel_pd_idx = info->idx.rel_pd_idx; in add_bp_pages() local
165 pd_entry = &sd_entry->u.pd_table.pd_entry[rel_pd_idx++]; in add_bp_pages()
196 sd_entry_type = !idx->rel_pd_idx && pages == IRDMA_HMC_PD_CNT_IN_SD ? in irdma_get_type()
237 pages = (idx->rel_pd_idx) ? (IRDMA_HMC_PD_CNT_IN_SD - idx->rel_pd_idx) : in add_pble_prm()
Dpble.h58 u32 rel_pd_idx; member