Searched refs:l1_idx (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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) | \
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/ |
D | hns_roce_hem.c | 224 mhop->l1_idx = table_idx / chunk_ba_num & (chunk_ba_num - 1); in hns_roce_calc_hem_mhop() 228 mhop->l1_idx = table_idx & (chunk_ba_num - 1); in hns_roce_calc_hem_mhop() 412 u32 l0_idx, l1_idx, l2_idx; in calc_hem_config() local 422 l1_idx = mhop->l1_idx; in calc_hem_config() 428 index->l1 = l0_idx * chunk_ba_num + l1_idx; in calc_hem_config() 431 l1_idx * chunk_ba_num + l2_idx; in calc_hem_config() 435 index->buf = l0_idx * chunk_ba_num + l1_idx; in calc_hem_config() 519 *(table->bt_l0[index->l0] + mhop->l1_idx) = in alloc_mhop_hem() 543 *(table->bt_l0[index->l0] + mhop->l1_idx) = bt_ba; in alloc_mhop_hem() 545 *(table->bt_l0[index->l0] + mhop->l1_idx) = bt_ba; in alloc_mhop_hem() [all …]
|
D | hns_roce_hem.h | 106 u32 l1_idx; /* level 1 base address table index */ member
|
D | hns_roce_hw_v2.c | 3628 u64 l1_idx = 0; in hns_roce_v2_set_hem() local 3638 j = mhop.l1_idx; in hns_roce_v2_set_hem() 3646 l1_idx = i * chunk_ba_num + j; in hns_roce_v2_set_hem() 3668 bt_ba = table->bt_l1_dma_addr[l1_idx]; in hns_roce_v2_set_hem()
|