Home
last modified time | relevance | path

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

/linux-4.4.14/arch/powerpc/mm/
Dhugetlbpage.c135 unsigned long address, unsigned pdshift, unsigned pshift) in __hugepte_alloc() argument
142 int num_hugepd = 1 << (pshift - pdshift); in __hugepte_alloc()
145 cachep = PGT_CACHE(pdshift - pshift); in __hugepte_alloc()
150 BUG_ON(pshift > HUGEPD_SHIFT_MASK); in __hugepte_alloc()
169 hpdp->pd = ((unsigned long)new & ~PD_HUGE) | pshift; in __hugepte_alloc()
183 (shift_to_mmu_psize(pshift) << 2); in __hugepte_alloc()
185 hpdp->pd = ((unsigned long)new & ~PD_HUGE) | pshift; in __hugepte_alloc()
216 unsigned pshift = __ffs(sz); in huge_pte_alloc() local
222 if (pshift == PGDIR_SHIFT) in huge_pte_alloc()
225 else if (pshift > PUD_SHIFT) in huge_pte_alloc()
[all …]
Dslice.c270 int pshift = max_t(int, mmu_psize_defs[psize].shift, PAGE_SHIFT); in slice_find_area_bottomup() local
276 info.align_mask = PAGE_MASK & ((1ul << pshift) - 1); in slice_find_area_bottomup()
313 int pshift = max_t(int, mmu_psize_defs[psize].shift, PAGE_SHIFT); in slice_find_area_topdown() local
319 info.align_mask = PAGE_MASK & ((1ul << pshift) - 1); in slice_find_area_topdown()
393 int pshift = max_t(int, mmu_psize_defs[psize].shift, PAGE_SHIFT); in slice_get_unmapped_area() local
406 if (len & ((1ul << pshift) - 1)) in slice_get_unmapped_area()
408 if (fixed && (addr & ((1ul << pshift) - 1))) in slice_get_unmapped_area()
415 addr = _ALIGN_UP(addr, 1ul << pshift); in slice_get_unmapped_area()
/linux-4.4.14/drivers/clk/sunxi/
Dclk-sun9i-core.c79 .pshift = 16,
203 .pshift = 0,
295 .pshift = 16,
Dclk-factors.h17 u8 pshift; member
Dclk-factors.c64 p = FACTOR_GET(config->pshift, config->pwidth, reg); in clk_factors_recalc_rate()
141 reg = FACTOR_SET(config->pshift, config->pwidth, reg, p); in clk_factors_set_rate()
Dclk-sunxi.c618 .pshift = 16,
639 .pshift = 16,
660 .pshift = 4,
667 .pshift = 16,
675 .pshift = 20,
Dclk-mod0.c68 .pshift = 16,
/linux-4.4.14/arch/powerpc/kvm/
Dbook3s_hv_rm_mmu.c839 unsigned int pshift; in kvmppc_hv_find_lock_hpte() local
850 pshift = 12; in kvmppc_hv_find_lock_hpte()
854 pshift = slb_base_page_shift[(slb_v & SLB_VSID_LP) >> 4]; in kvmppc_hv_find_lock_hpte()
864 hash = (vsid ^ ((eaddr & somask) >> pshift)) & kvm->arch.hpt_mask; in kvmppc_hv_find_lock_hpte()
868 if (pshift >= 24) in kvmppc_hv_find_lock_hpte()
869 avpn &= ~((1UL << (pshift - 16)) - 1); in kvmppc_hv_find_lock_hpte()
895 hpte_base_page_size(v, r) == (1ul << pshift)) in kvmppc_hv_find_lock_hpte()
/linux-4.4.14/arch/x86/kernel/apic/
Dx2apic_uv_x.c492 static __init void map_high(char *id, unsigned long base, int pshift, in map_high() argument
497 paddr = base << pshift; in map_high()
/linux-4.4.14/arch/x86/kvm/
Dx86.c1206 s8 *pshift, u32 *pmultiplier) in kvm_get_time_scale() argument
1229 *pshift = shift; in kvm_get_time_scale()