Home
last modified time | relevance | path

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

/freebsd/sys/dev/ixl/
H A Di40e_hmc.c152 u32 sd_idx, rel_pd_idx; in i40e_add_pd_table_entry() local
168 rel_pd_idx = (pd_index % I40E_HMC_PD_CNT_IN_SD); in i40e_add_pd_table_entry()
170 pd_entry = &pd_table->pd_entry[rel_pd_idx]; in i40e_add_pd_table_entry()
193 pd_addr += rel_pd_idx; in i40e_add_pd_table_entry()
231 u32 sd_idx, rel_pd_idx; in i40e_remove_pd_bp() local
236 rel_pd_idx = idx % I40E_HMC_PD_CNT_IN_SD; in i40e_remove_pd_bp()
250 pd_entry = &pd_table->pd_entry[rel_pd_idx]; in i40e_remove_pd_bp()
259 pd_addr += rel_pd_idx; in i40e_remove_pd_bp()
H A Di40e_lan_hmc.c562 u32 pd_idx, pd_lmt, rel_pd_idx; in i40e_delete_lan_hmc_object() local
619 rel_pd_idx = j % I40E_HMC_PD_CNT_IN_SD; in i40e_delete_lan_hmc_object()
623 if (pd_table->pd_entry[rel_pd_idx].valid) { in i40e_delete_lan_hmc_object()
1242 u32 pd_idx, pd_lmt, rel_pd_idx; in i40e_hmc_get_object_va() local
1279 rel_pd_idx = pd_idx % I40E_HMC_PD_CNT_IN_SD; in i40e_hmc_get_object_va()
1280 pd_entry = &sd_entry->u.pd_table.pd_entry[rel_pd_idx]; in i40e_hmc_get_object_va()
/freebsd/sys/dev/irdma/
H A Dirdma_hmc.c418 u32 pd_idx, pd_lmt, rel_pd_idx; in irdma_sc_del_hmc_obj() local
453 rel_pd_idx = j % IRDMA_HMC_PD_CNT_IN_SD; in irdma_sc_del_hmc_obj()
456 pd_table->pd_entry[rel_pd_idx].valid) { in irdma_sc_del_hmc_obj()
594 u32 sd_idx, rel_pd_idx; in irdma_add_pd_table_entry() local
606 rel_pd_idx = (pd_index % IRDMA_HMC_PD_CNT_IN_SD); in irdma_add_pd_table_entry()
608 pd_entry = &pd_table->pd_entry[rel_pd_idx]; in irdma_add_pd_table_entry()
629 pd_addr += rel_pd_idx; in irdma_add_pd_table_entry()
634 irdma_invalidate_pf_hmc_pd(dev, sd_idx, rel_pd_idx); in irdma_add_pd_table_entry()
663 u32 sd_idx, rel_pd_idx; in irdma_remove_pd_bp() local
668 rel_pd_idx = idx % IRDMA_HMC_PD_CNT_IN_SD; in irdma_remove_pd_bp()
[all …]
H A Dirdma_pble.c113 idx->rel_pd_idx = (idx->pd_idx % IRDMA_HMC_PD_CNT_IN_SD); in get_sd_pd_idx()
144 offset = idx->rel_pd_idx << HMC_PAGED_BP_SHIFT; in add_sd_direct()
185 u32 rel_pd_idx = info->idx.rel_pd_idx; in add_bp_pages() local
203 pd_entry = &sd_entry->u.pd_table.pd_entry[rel_pd_idx++]; in add_bp_pages()
235 sd_entry_type = !idx->rel_pd_idx && pages == IRDMA_HMC_PD_CNT_IN_SD ? in irdma_get_type()
277 pages = (idx->rel_pd_idx) ? (IRDMA_HMC_PD_CNT_IN_SD - idx->rel_pd_idx) : in add_pble_prm()
H A Dirdma_pble.h90 u32 rel_pd_idx; member