Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/staging/media/atomisp/pci/mmu/
A Disp_mmu.c143 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()
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
387 mmu->l2_pgt_refcount[l1_idx]--; in mmu_l2_unmap()
[all …]
/linux-6.3-rc2/drivers/staging/media/atomisp/include/mmu/
A Disp_mmu.h56 #define ISP_PT_TO_VIRT(l1_idx, l2_idx, offset) do {\ argument
57 ((l1_idx) << ISP_L1PT_OFFSET) | \
/linux-6.3-rc2/drivers/infiniband/hw/hns/
A Dhns_roce_hem.c230 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 …]
A Dhns_roce_hem.h100 u32 l1_idx; /* level 1 base address table index */ member
A Dhns_roce_hw_v2.c4165 u64 l1_idx = 0; in hns_roce_v2_set_hem() local
4175 j = mhop.l1_idx; in hns_roce_v2_set_hem()
4183 l1_idx = i * chunk_ba_num + j; in hns_roce_v2_set_hem()
4205 bt_ba = table->bt_l1_dma_addr[l1_idx]; in hns_roce_v2_set_hem()

Completed in 22 milliseconds