Searched refs:l1_idx (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/staging/media/atomisp/pci/mmu/ |
A 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() 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/drivers/staging/media/atomisp/include/mmu/ |
A D | isp_mmu.h | 56 #define ISP_PT_TO_VIRT(l1_idx, l2_idx, offset) do {\ argument 57 ((l1_idx) << ISP_L1PT_OFFSET) | \
|
/linux/drivers/infiniband/hw/hns/ |
A D | hns_roce_hem.c | 231 mhop->l1_idx = table_idx / chunk_ba_num & (chunk_ba_num - 1); in hns_roce_calc_hem_mhop() 235 mhop->l1_idx = table_idx & (chunk_ba_num - 1); in hns_roce_calc_hem_mhop() 343 u32 l0_idx, l1_idx, l2_idx; in calc_hem_config() local 353 l1_idx = mhop->l1_idx; in calc_hem_config() 359 index->l1 = l0_idx * chunk_ba_num + l1_idx; in calc_hem_config() 362 l1_idx * chunk_ba_num + l2_idx; in calc_hem_config() 366 index->buf = l0_idx * chunk_ba_num + l1_idx; in calc_hem_config() 450 *(table->bt_l0[index->l0] + mhop->l1_idx) = in alloc_mhop_hem() 474 *(table->bt_l0[index->l0] + mhop->l1_idx) = bt_ba; in alloc_mhop_hem() 476 *(table->bt_l0[index->l0] + mhop->l1_idx) = bt_ba; in alloc_mhop_hem() [all …]
|
A D | hns_roce_hem.h | 100 u32 l1_idx; /* level 1 base address table index */ member
|
A D | hns_roce_hw_v2.c | 3901 u64 l1_idx = 0; in hns_roce_v2_set_hem() local 3911 j = mhop.l1_idx; in hns_roce_v2_set_hem() 3919 l1_idx = i * chunk_ba_num + j; in hns_roce_v2_set_hem() 3941 bt_ba = table->bt_l1_dma_addr[l1_idx]; in hns_roce_v2_set_hem()
|
Completed in 24 milliseconds