Home
last modified time | relevance | path

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

/linux/drivers/accel/habanalabs/gaudi2/
H A Dgaudi2.c11161 u64 div_va; in gaudi2_mmu_scramble_addr() local
11168 div_va = div_u64_rem(raw_addr & GAUDI2_HBM_MMU_SCRM_ADDRESS_MASK, divisor, &mod_va); in gaudi2_mmu_scramble_addr()
11170 (div_va << GAUDI2_HBM_MMU_SCRM_DIV_SHIFT) | in gaudi2_mmu_scramble_addr()
11181 u64 div_va; in gaudi2_mmu_descramble_addr() local
11188 div_va = div_u64_rem(scrambled_addr & GAUDI2_HBM_MMU_SCRM_ADDRESS_MASK, in gaudi2_mmu_descramble_addr()
11192 (div_va * divisor + mod_va)); in gaudi2_mmu_descramble_addr()