/Linux-v5.10/arch/powerpc/mm/book3s64/ |
D | hash_native.c | 151 int apsize, int ssize) in ___tlbie() argument 178 sllp = get_sllp_encoding(apsize); in ___tlbie() 186 penc = mmu_psize_defs[psize].penc[apsize]; in ___tlbie() 187 va &= ~((1ul << mmu_psize_defs[apsize].shift) - 1); in ___tlbie() 208 int apsize, int ssize) in fixup_tlbie_vpn() argument 235 ___tlbie(vpn, psize, apsize, ssize); in fixup_tlbie_vpn() 239 static inline void __tlbie(unsigned long vpn, int psize, int apsize, int ssize) in __tlbie() argument 243 rb = ___tlbie(vpn, psize, apsize, ssize); in __tlbie() 247 static inline void __tlbiel(unsigned long vpn, int psize, int apsize, int ssize) in __tlbiel() argument 268 sllp = get_sllp_encoding(apsize); in __tlbiel() [all …]
|
D | hash_utils.c | 555 int bpsize, apsize; in mmu_psize_set_default_penc() local 557 for (apsize = 0; apsize < MMU_PAGE_COUNT; apsize++) in mmu_psize_set_default_penc() 558 mmu_psize_defs[bpsize].penc[apsize] = -1; in mmu_psize_set_default_penc()
|
/Linux-v5.10/arch/powerpc/platforms/ps3/ |
D | htab.c | 37 int psize, int apsize, int ssize) in ps3_hpte_insert() argument 53 hpte_v = hpte_encode_v(vpn, psize, apsize, ssize) | vflags | HPTE_V_VALID; in ps3_hpte_insert() 54 hpte_r = hpte_encode_r(ps3_mm_phys_to_lpar(pa), psize, apsize) | rflags; in ps3_hpte_insert() 100 unsigned long vpn, int psize, int apsize, in ps3_hpte_updatepp() argument 154 int psize, int apsize, int ssize, int local) in ps3_hpte_invalidate() argument
|
/Linux-v5.10/arch/x86/kernel/ |
D | aperture_64.c | 158 u32 apsize; in read_agp() local 176 apsize = apsizereg & 0xfff; in read_agp() 178 if (apsize & 0xff) in read_agp() 179 apsize |= 0xf00; in read_agp() 180 nbits = hweight16(apsize); in read_agp()
|
/Linux-v5.10/drivers/char/agp/ |
D | amd64-agp.c | 276 u16 apsize; in fix_northbridge() local 285 pci_read_config_word(agp, cap+0x14, &apsize); in fix_northbridge() 286 if (apsize == 0xffff) { in fix_northbridge() 292 apsize &= 0xfff; in fix_northbridge() 294 if (apsize & 0xff) in fix_northbridge() 295 apsize |= 0xf00; in fix_northbridge() 296 order = 7 - hweight16(apsize); in fix_northbridge()
|
/Linux-v5.10/arch/powerpc/include/asm/book3s/64/ |
D | mmu-hash.h | 138 int bpsize, int apsize, 143 int bpsize, int apsize, 153 int psize, int apsize,
|
/Linux-v5.10/arch/powerpc/platforms/pseries/ |
D | lpar.c | 717 int psize, int apsize, int ssize) in pSeries_lpar_hpte_insert() argument 729 hpte_v = hpte_encode_v(vpn, psize, apsize, ssize) | vflags | HPTE_V_VALID; in pSeries_lpar_hpte_insert() 730 hpte_r = hpte_encode_r(pa, psize, apsize) | rflags; in pSeries_lpar_hpte_insert() 881 int psize, int apsize, in pSeries_lpar_hpte_updatepp() argument 990 int psize, int apsize, in pSeries_lpar_hpte_invalidate() argument
|
/Linux-v5.10/arch/powerpc/kvm/ |
D | book3s_64_mmu_hv.c | 1240 unsigned long apsize, avpn, pteg, hash; in resize_hpt_rehash_hpte() local 1273 apsize = kvmppc_actual_pgsz(vpte, guest_rpte); in resize_hpt_rehash_hpte() 1274 if (!apsize) in resize_hpt_rehash_hpte() 1278 unsigned long gfn = hpte_rpn(guest_rpte, apsize); in resize_hpt_rehash_hpte()
|