Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/infiniband/hw/mlx5/
Dmem.c65 const u64 page_offset_mask = (1UL << page_offset_bits) - 1; in __mlx5_umem_find_best_quantized_pgoff() local
81 while (page_offset & ~(u64)(page_offset_mask * (page_size / scale))) { in __mlx5_umem_find_best_quantized_pgoff()
95 if (WARN_ON(*page_offset_quantized > page_offset_mask)) in __mlx5_umem_find_best_quantized_pgoff()
/Linux-v5.15/drivers/misc/habanalabs/common/mmu/
Dmmu.c505 u64 page_offset_mask; in hl_mmu_pa_page_with_offset() local
517 page_offset_mask = (BIT_ULL(bit) - 1); in hl_mmu_pa_page_with_offset()
518 phys_addr_mask = ~page_offset_mask; in hl_mmu_pa_page_with_offset()
520 (virt_addr & page_offset_mask); in hl_mmu_pa_page_with_offset()