Home
last modified time | relevance | path

Searched refs:l0_idx (Results 1 – 4 of 4) sorted by relevance

/linux-6.15/drivers/infiniband/hw/hns/
H A Dhns_roce_hem.c235 mhop->l0_idx = table_idx / chunk_ba_num; in hns_roce_calc_hem_mhop()
238 mhop->l0_idx = table_idx; in hns_roce_calc_hem_mhop()
245 if (mhop->l0_idx >= mhop->ba_l0_num) in hns_roce_calc_hem_mhop()
246 mhop->l0_idx %= mhop->ba_l0_num; in hns_roce_calc_hem_mhop()
305 u32 l0_idx, l1_idx, l2_idx; in calc_hem_config() local
314 l0_idx = mhop->l0_idx; in calc_hem_config()
321 index->l1 = l0_idx * chunk_ba_num + l1_idx; in calc_hem_config()
322 index->l0 = l0_idx; in calc_hem_config()
327 index->l0 = l0_idx; in calc_hem_config()
331 index->buf = l0_idx; in calc_hem_config()
[all …]
H A Dhns_roce_hem.h83 u32 l0_idx; /* level 0 base address table index */ member
H A Dhns_roce_hw_v2.c4140 i = mhop.l0_idx; in hns_roce_v2_set_hem()
4157 obj = mhop.l0_idx; in hns_roce_v2_set_hem()
/linux-6.15/drivers/gpu/drm/imagination/
H A Dpvr_mmu.c1389 u16 l0_idx; member
1605 op_ctx->curr_page.l0_idx); in pvr_page_table_l0_insert()
1633 op_ctx->curr_page.l0_idx); in pvr_page_table_l0_remove()
2152 op_ctx->curr_page.l0_idx = pvr_page_table_l0_idx(device_addr); in pvr_mmu_op_context_set_curr_page()
2190 if (++op_ctx->curr_page.l0_idx != ROGUE_MMUCTRL_ENTRIES_PT_VALUE_X) in pvr_mmu_op_context_next_page()
2193 op_ctx->curr_page.l0_idx = 0; in pvr_mmu_op_context_next_page()
2249 op_ctx->curr_page.l0_idx)) { in pvr_page_create()
2270 op_ctx->curr_page.l0_idx)) { in pvr_page_destroy()