Searched refs:l1_idx (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/drivers/staging/media/atomisp/pci/mmu/ |
D | isp_mmu.c | 143 phys_addr_t l1_pt, unsigned int l1_idx, in mmu_remap_error() argument 154 (u64)l1_pt, l1_idx, in mmu_remap_error() 162 phys_addr_t l1_pt, unsigned int l1_idx, in mmu_unmap_l2_pte_error() argument 171 (u64)l1_pt, l1_idx, in mmu_unmap_l2_pte_error() 178 phys_addr_t l1_pt, unsigned int l1_idx, in mmu_unmap_l1_pte_error() argument 185 (u64)l1_pt, l1_idx, (unsigned int)isp_virt, in mmu_unmap_l1_pte_error() 200 unsigned int l1_idx, phys_addr_t l2_pt, in mmu_l2_map() argument 220 mmu_remap_error(mmu, l1_pt, l1_idx, in mmu_l2_map() 232 mmu->l2_pgt_refcount[l1_idx]++; in mmu_l2_map() 364 unsigned int l1_idx, phys_addr_t l2_pt, in mmu_l2_unmap() argument [all …]
|
/linux-6.1.9/drivers/staging/media/atomisp/include/mmu/ |
D | isp_mmu.h | 56 #define ISP_PT_TO_VIRT(l1_idx, l2_idx, offset) do {\ argument 57 ((l1_idx) << ISP_L1PT_OFFSET) | \
|
/linux-6.1.9/drivers/infiniband/hw/hns/ |
D | hns_roce_hem.c | 230 mhop->l1_idx = table_idx / chunk_ba_num & (chunk_ba_num - 1); in hns_roce_calc_hem_mhop() 234 mhop->l1_idx = table_idx & (chunk_ba_num - 1); in hns_roce_calc_hem_mhop() 342 u32 l0_idx, l1_idx, l2_idx; in calc_hem_config() local 352 l1_idx = mhop->l1_idx; in calc_hem_config() 358 index->l1 = l0_idx * chunk_ba_num + l1_idx; in calc_hem_config() 361 l1_idx * chunk_ba_num + l2_idx; in calc_hem_config() 365 index->buf = l0_idx * chunk_ba_num + l1_idx; in calc_hem_config() 449 *(table->bt_l0[index->l0] + mhop->l1_idx) = in alloc_mhop_hem() 473 *(table->bt_l0[index->l0] + mhop->l1_idx) = bt_ba; in alloc_mhop_hem() 475 *(table->bt_l0[index->l0] + mhop->l1_idx) = bt_ba; in alloc_mhop_hem() [all …]
|
D | hns_roce_hem.h | 100 u32 l1_idx; /* level 1 base address table index */ member
|
D | hns_roce_hw_v2.c | 4228 u64 l1_idx = 0; in hns_roce_v2_set_hem() local 4238 j = mhop.l1_idx; in hns_roce_v2_set_hem() 4246 l1_idx = i * chunk_ba_num + j; in hns_roce_v2_set_hem() 4268 bt_ba = table->bt_l1_dma_addr[l1_idx]; in hns_roce_v2_set_hem()
|