/Linux-v4.19/arch/powerpc/mm/ |
D | hugetlbpage.c | 56 unsigned int pshift, spinlock_t *ptl) in __hugepte_alloc() argument 63 if (pshift >= pdshift) { in __hugepte_alloc() 65 num_hugepd = 1 << (pshift - pdshift); in __hugepte_alloc() 67 cachep = PGT_CACHE(pdshift - pshift); in __hugepte_alloc() 73 BUG_ON(pshift > HUGEPD_SHIFT_MASK); in __hugepte_alloc() 99 (shift_to_mmu_psize(pshift) << 2)); in __hugepte_alloc() 102 (pshift == PAGE_SHIFT_8M ? _PMD_PAGE_8M : in __hugepte_alloc() 106 *hpdp = __hugepd(((unsigned long)new & ~PD_HUGE) | pshift); in __hugepte_alloc() 130 unsigned pshift = __ffs(sz); in huge_pte_alloc() local 138 if (pshift == PGDIR_SHIFT) in huge_pte_alloc() [all …]
|
D | slice.c | 323 int pshift = max_t(int, mmu_psize_defs[psize].shift, PAGE_SHIFT); in slice_find_area_bottomup() local 329 info.align_mask = PAGE_MASK & ((1ul << pshift) - 1); in slice_find_area_bottomup() 369 int pshift = max_t(int, mmu_psize_defs[psize].shift, PAGE_SHIFT); in slice_find_area_topdown() local 375 info.align_mask = PAGE_MASK & ((1ul << pshift) - 1); in slice_find_area_topdown() 477 int pshift = max_t(int, mmu_psize_defs[psize].shift, PAGE_SHIFT); in slice_get_unmapped_area() local 478 unsigned long page_size = 1UL << pshift; in slice_get_unmapped_area()
|
D | hash_utils_64.c | 726 unsigned pshift = mmu_psize_defs[mmu_virtual_psize].shift; in htab_shift_for_mem_size() local 734 pteg_shift = memshift - (pshift + 1); in htab_shift_for_mem_size()
|
/Linux-v4.19/drivers/clk/sprd/ |
D | pll.c | 21 #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() 192 shift = pshift(pll, PLL_NINT); in _sprd_pll_set_rate() 199 shift = pshift(pll, PLL_KINT); in _sprd_pll_set_rate() 210 shift = pshift(pll, PLL_IBIAS); in _sprd_pll_set_rate()
|
/Linux-v4.19/arch/powerpc/kvm/ |
D | book3s_hv_rm_mmu.c | 920 unsigned int pshift; in mmio_cache_search() local 926 pshift = entry->slb_base_pshift; in mmio_cache_search() 927 if ((entry->eaddr >> pshift) == (eaddr >> pshift) && in mmio_cache_search() 955 unsigned int pshift; in kvmppc_hv_find_lock_hpte() local 966 pshift = 12; in kvmppc_hv_find_lock_hpte() 970 pshift = slb_base_page_shift[(slb_v & SLB_VSID_LP) >> 4]; in kvmppc_hv_find_lock_hpte() 980 hash = (vsid ^ ((eaddr & somask) >> pshift)) & kvmppc_hpt_mask(&kvm->arch.hpt); in kvmppc_hv_find_lock_hpte() 984 if (pshift >= 24) in kvmppc_hv_find_lock_hpte() 985 avpn &= ~((1UL << (pshift - 16)) - 1); in kvmppc_hv_find_lock_hpte() 1017 kvmppc_hpte_base_page_shift(v, r) == pshift) in kvmppc_hv_find_lock_hpte() [all …]
|
D | book3s_64_mmu_hv.c | 1244 int pshift; in resize_hpt_rehash_hpte() local 1313 pshift = kvmppc_hpte_base_page_shift(vpte, rpte); in resize_hpt_rehash_hpte() 1314 avpn = HPTE_V_AVPN_VAL(vpte) & ~(((1ul << pshift) - 1) >> 23); in resize_hpt_rehash_hpte() 1326 if (pshift < 23) in resize_hpt_rehash_hpte() 1327 offset |= ((vsid ^ pteg) & old_hash_mask) << pshift; in resize_hpt_rehash_hpte() 1329 hash = vsid ^ (offset >> pshift); in resize_hpt_rehash_hpte() 1336 if (pshift < 23) in resize_hpt_rehash_hpte() 1337 offset |= ((vsid ^ (vsid << 25) ^ pteg) & old_hash_mask) << pshift; in resize_hpt_rehash_hpte() 1339 hash = vsid ^ (vsid << 25) ^ (offset >> pshift); in resize_hpt_rehash_hpte() 1842 int pshift; in kvm_htab_write() local [all …]
|
D | book3s_64_mmu_radix.c | 140 unsigned int pshift) in kvmppc_radix_tlbie_page() argument 144 if (pshift) in kvmppc_radix_tlbie_page() 145 psize = 1UL << pshift; in kvmppc_radix_tlbie_page()
|
/Linux-v4.19/drivers/clk/sunxi/ |
D | clk-sun9i-core.c | 73 .pshift = 16, 181 .pshift = 0, 264 .pshift = 16,
|
D | clk-sunxi.c | 430 .pshift = 16, 451 .pshift = 16, 472 .pshift = 4, 479 .pshift = 4, 486 .pshift = 16, 494 .pshift = 20,
|
D | clk-factors.h | 17 u8 pshift; member
|
D | clk-sun6i-ar100.c | 60 .pshift = 4,
|
D | clk-factors.c | 63 p = FACTOR_GET(config->pshift, config->pwidth, reg); in clk_factors_recalc_rate() 159 reg = FACTOR_SET(config->pshift, config->pwidth, reg, req.p); in clk_factors_set_rate()
|
D | clk-mod0.c | 62 .pshift = 16,
|
/Linux-v4.19/arch/x86/kernel/apic/ |
D | x2apic_uv_x.c | 753 static __init void map_high(char *id, unsigned long base, int pshift, int bshift, int max_pnode, en… in map_high() argument 757 paddr = base << pshift; in map_high()
|
/Linux-v4.19/arch/x86/kvm/ |
D | x86.c | 1378 s8 *pshift, u32 *pmultiplier) in kvm_get_time_scale() argument 1401 *pshift = shift; in kvm_get_time_scale()
|