Home
last modified time | relevance | path

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

/linux-6.3-rc2/arch/powerpc/mm/
A Dhugetlbpage.c54 if (pshift >= pdshift) { in __hugepte_alloc()
69 BUG_ON(pshift > HUGEPD_SHIFT_MASK); in __hugepte_alloc()
118 unsigned pshift = __ffs(sz); in huge_pte_alloc() local
127 if (pshift == PGDIR_SHIFT) in huge_pte_alloc()
130 else if (pshift > PUD_SHIFT) { in huge_pte_alloc()
141 if (pshift == PUD_SHIFT) in huge_pte_alloc()
143 else if (pshift > PMD_SHIFT) { in huge_pte_alloc()
151 if (pshift == PMD_SHIFT) in huge_pte_alloc()
161 if (pshift >= PGDIR_SHIFT) { in huge_pte_alloc()
169 if (pshift >= PUD_SHIFT) { in huge_pte_alloc()
[all …]
/linux-6.3-rc2/drivers/clk/sprd/
A Dpll.c21 #define pshift(pll, member) \ macro
29 GENMASK(pwidth(pll, member) + pshift(pll, member) - 1, \
30 pshift(pll, member)) : 0)
36 (pinternal(pll, cfg, member) >> pshift(pll, member))
76 shift = pshift(pll, PLL_REFIN); in pll_get_refin()
194 shift = pshift(pll, PLL_NINT); in _sprd_pll_set_rate()
201 shift = pshift(pll, PLL_KINT); in _sprd_pll_set_rate()
212 shift = pshift(pll, PLL_IBIAS); in _sprd_pll_set_rate()
/linux-6.3-rc2/arch/powerpc/include/asm/nohash/
A Dhugetlb-e500.h31 static inline void hugepd_populate(hugepd_t *hpdp, pte_t *new, unsigned int pshift) in hugepd_populate() argument
34 *hpdp = __hugepd(((unsigned long)new & ~PD_HUGE) | pshift); in hugepd_populate()
/linux-6.3-rc2/arch/powerpc/include/asm/nohash/32/
A Dhugetlb-8xx.h33 static inline void hugepd_populate(hugepd_t *hpdp, pte_t *new, unsigned int pshift) in hugepd_populate() argument
38 static inline void hugepd_populate_kernel(hugepd_t *hpdp, pte_t *new, unsigned int pshift) in hugepd_populate_kernel() argument
/linux-6.3-rc2/drivers/clk/sunxi/
A Dclk-sun9i-core.c64 .pshift = 16,
172 .pshift = 0,
255 .pshift = 16,
A Dclk-sunxi.c422 .pshift = 16,
443 .pshift = 16,
464 .pshift = 4,
471 .pshift = 4,
478 .pshift = 16,
486 .pshift = 20,
A Dclk-factors.h17 u8 pshift; member
A Dclk-sun6i-ar100.c59 .pshift = 4,
A Dclk-factors.c60 p = FACTOR_GET(config->pshift, config->pwidth, reg); in clk_factors_recalc_rate()
156 reg = FACTOR_SET(config->pshift, config->pwidth, reg, req.p); in clk_factors_set_rate()
A Dclk-mod0.c54 .pshift = 16,
/linux-6.3-rc2/arch/powerpc/kvm/
A Dbook3s_hv_rm_mmu.c1066 unsigned int pshift; in mmio_cache_search() local
1072 pshift = entry->slb_base_pshift; in mmio_cache_search()
1073 if ((entry->eaddr >> pshift) == (eaddr >> pshift) && in mmio_cache_search()
1101 unsigned int pshift; in kvmppc_hv_find_lock_hpte() local
1112 pshift = 12; in kvmppc_hv_find_lock_hpte()
1130 if (pshift >= 24) in kvmppc_hv_find_lock_hpte()
1131 avpn &= ~((1UL << (pshift - 16)) - 1); in kvmppc_hv_find_lock_hpte()
1163 kvmppc_hpte_base_page_shift(v, r) == pshift) in kvmppc_hv_find_lock_hpte()
1277 unsigned int pshift = 12; in kvmppc_hpte_hv_fault() local
1282 pshift = slb_base_page_shift[pshift_index]; in kvmppc_hpte_hv_fault()
[all …]
A Dbook3s_64_mmu_hv.c1225 int pshift; in resize_hpt_rehash_hpte() local
1294 pshift = kvmppc_hpte_base_page_shift(vpte, rpte); in resize_hpt_rehash_hpte()
1307 if (pshift < 23) in resize_hpt_rehash_hpte()
1308 offset |= ((vsid ^ pteg) & old_hash_mask) << pshift; in resize_hpt_rehash_hpte()
1310 hash = vsid ^ (offset >> pshift); in resize_hpt_rehash_hpte()
1317 if (pshift < 23) in resize_hpt_rehash_hpte()
1320 hash = vsid ^ (vsid << 25) ^ (offset >> pshift); in resize_hpt_rehash_hpte()
1823 int pshift; in kvm_htab_write() local
1878 pshift = kvmppc_hpte_base_page_shift(v, r); in kvm_htab_write()
1879 if (pshift <= 0) in kvm_htab_write()
[all …]
A Dbook3s_64_mmu_radix.c310 unsigned int pshift, unsigned int lpid) in kvmppc_radix_tlbie_page() argument
317 if (pshift) in kvmppc_radix_tlbie_page()
318 psize = 1UL << pshift; in kvmppc_radix_tlbie_page()
320 pshift = PAGE_SHIFT; in kvmppc_radix_tlbie_page()
329 psi = shift_to_mmu_psize(pshift); in kvmppc_radix_tlbie_page()
/linux-6.3-rc2/arch/powerpc/include/asm/book3s/64/
A Dhugetlb.h101 static inline void hugepd_populate(hugepd_t *hpdp, pte_t *new, unsigned int pshift) in hugepd_populate() argument
103 *hpdp = __hugepd(__pa(new) | HUGEPD_VAL_BITS | (shift_to_mmu_psize(pshift) << 2)); in hugepd_populate()
/linux-6.3-rc2/arch/powerpc/mm/book3s64/
A Dslice.c283 int pshift = max_t(int, mmu_psize_defs[psize].shift, PAGE_SHIFT); in slice_find_area_bottomup() local
289 info.align_mask = PAGE_MASK & ((1ul << pshift) - 1); in slice_find_area_bottomup()
327 int pshift = max_t(int, mmu_psize_defs[psize].shift, PAGE_SHIFT); in slice_find_area_topdown() local
334 info.align_mask = PAGE_MASK & ((1ul << pshift) - 1); in slice_find_area_topdown()
434 int pshift = max_t(int, mmu_psize_defs[psize].shift, PAGE_SHIFT); in slice_get_unmapped_area() local
435 unsigned long page_size = 1UL << pshift; in slice_get_unmapped_area()
A Dhash_utils.c906 unsigned pshift = mmu_psize_defs[mmu_virtual_psize].shift; in htab_shift_for_mem_size() local
914 pteg_shift = memshift - (pshift + 1); in htab_shift_for_mem_size()
/linux-6.3-rc2/arch/powerpc/include/asm/
A Dkvm_book3s.h194 unsigned int pshift, unsigned int lpid);
/linux-6.3-rc2/arch/x86/kernel/apic/
A Dx2apic_uv_x.c915 static __init void map_high(char *id, unsigned long base, int pshift, int bshift, int max_pnode, en… in map_high() argument
919 paddr = base << pshift; in map_high()
/linux-6.3-rc2/arch/x86/kvm/
A Dx86.c2342 s8 *pshift, u32 *pmultiplier) in kvm_get_time_scale() argument
2365 *pshift = shift; in kvm_get_time_scale()

Completed in 62 milliseconds