/arch/powerpc/mm/ |
D | hash_native_64.c | 42 static inline void __tlbie(unsigned long vpn, int psize, int apsize, int ssize) in __tlbie() argument 66 va |= ssize << 8; in __tlbie() 77 va |= ssize << 8; in __tlbie() 97 static inline void __tlbiel(unsigned long vpn, int psize, int apsize, int ssize) in __tlbiel() argument 115 va |= ssize << 8; in __tlbiel() 125 va |= ssize << 8; in __tlbiel() 146 int ssize, int local) in tlbie() argument 157 __tlbiel(vpn, psize, apsize, ssize); in tlbie() 160 __tlbie(vpn, psize, apsize, ssize); in tlbie() 188 unsigned long vflags, int psize, int apsize, int ssize) in native_hpte_insert() argument [all …]
|
D | slb.c | 40 #define slb_esid_mask(ssize) \ argument 41 (((ssize) == MMU_SEGSIZE_256M)? ESID_MASK: ESID_MASK_1T) 43 static inline unsigned long mk_esid_data(unsigned long ea, int ssize, in mk_esid_data() argument 46 return (ea & slb_esid_mask(ssize)) | SLB_ESID_V | slot; in mk_esid_data() 49 #define slb_vsid_shift(ssize) \ argument 50 ((ssize) == MMU_SEGSIZE_256M? SLB_VSID_SHIFT: SLB_VSID_SHIFT_1T) 52 static inline unsigned long mk_vsid_data(unsigned long ea, int ssize, in mk_vsid_data() argument 55 return (get_kernel_vsid(ea, ssize) << slb_vsid_shift(ssize)) | flags | in mk_vsid_data() 56 ((unsigned long) ssize << SLB_VSID_SSIZE_SHIFT); in mk_vsid_data() 59 static inline void slb_shadow_update(unsigned long ea, int ssize, in slb_shadow_update() argument [all …]
|
D | tlb_hash64.c | 49 int ssize; in hpte_need_flush() local 83 ssize = user_segment_size(addr); in hpte_need_flush() 84 vsid = get_vsid(mm->context.id, addr, ssize); in hpte_need_flush() 87 ssize = mmu_kernel_ssize; in hpte_need_flush() 90 vpn = hpt_vpn(addr, vsid, ssize); in hpte_need_flush() 100 flush_hash_page(vpn, rpte, psize, ssize, 0); in hpte_need_flush() 116 batch->ssize != ssize)) { in hpte_need_flush() 123 batch->ssize = ssize; in hpte_need_flush() 151 batch->psize, batch->ssize, local); in __flush_tlb_pending()
|
D | hugetlbpage-hash64.c | 19 unsigned long vflags, int psize, int ssize); 22 pte_t *ptep, unsigned long trap, int local, int ssize, in __hash_page_huge() argument 33 vpn = hpt_vpn(ea, vsid, ssize); in __hash_page_huge() 77 hash = hpt_hash(vpn, shift, ssize); in __hash_page_huge() 84 ssize, local) == -1) in __hash_page_huge() 89 unsigned long hash = hpt_hash(vpn, shift, ssize); in __hash_page_huge() 104 mmu_psize, ssize); in __hash_page_huge() 112 hash_failure_debug(ea, access, vsid, trap, ssize, in __hash_page_huge()
|
D | hash_utils_64.c | 179 int psize, int ssize) in htab_bolt_mapping() argument 191 vstart, vend, pstart, prot, psize, ssize); in htab_bolt_mapping() 196 unsigned long vsid = get_kernel_vsid(vaddr, ssize); in htab_bolt_mapping() 197 unsigned long vpn = hpt_vpn(vaddr, vsid, ssize); in htab_bolt_mapping() 209 hash = hpt_hash(vpn, shift, ssize); in htab_bolt_mapping() 214 HPTE_V_BOLTED, psize, psize, ssize); in htab_bolt_mapping() 228 int psize, int ssize) in htab_remove_mapping() argument 243 ppc_md.hpte_removebolted(vaddr, psize, ssize); in htab_remove_mapping() 940 int ssize, int psize, int lpsize, unsigned long pte) in hash_failure_debug() argument 947 trap, vsid, ssize, psize, lpsize, pte); in hash_failure_debug() [all …]
|
/arch/powerpc/include/asm/ |
D | mmu-hash64.h | 212 static inline int segment_shift(int ssize) in segment_shift() argument 214 if (ssize == MMU_SEGSIZE_256M) in segment_shift() 246 int ssize) in hpte_encode_avpn() argument 259 v |= ((unsigned long) ssize) << HPTE_V_SSIZE_SHIFT; in hpte_encode_avpn() 268 int actual_psize, int ssize) in hpte_encode_v() argument 271 v = hpte_encode_avpn(vpn, base_psize, ssize); in hpte_encode_v() 299 unsigned long vsid, int ssize) in hpt_vpn() argument 302 int s_shift = segment_shift(ssize); in hpt_vpn() 312 unsigned int shift, int ssize) in hpt_hash() argument 318 if (ssize == MMU_SEGSIZE_256M) { in hpt_hash() [all …]
|
D | machdep.h | 39 int psize, int ssize, 44 int psize, int ssize, 48 int psize, int ssize); 55 int ssize); 58 int psize, int ssize);
|
D | tlbflush.h | 100 int ssize; member 128 int ssize, int local);
|
/arch/powerpc/platforms/pseries/ |
D | lpar.c | 112 int psize, int apsize, int ssize) in pSeries_lpar_hpte_insert() argument 124 hpte_v = hpte_encode_v(vpn, psize, apsize, ssize) | vflags | HPTE_V_VALID; in pSeries_lpar_hpte_insert() 243 int psize, int ssize, int local) in pSeries_lpar_hpte_updatepp() argument 249 want_v = hpte_encode_avpn(vpn, psize, ssize); in pSeries_lpar_hpte_updatepp() 287 static long pSeries_lpar_hpte_find(unsigned long vpn, int psize, int ssize) in pSeries_lpar_hpte_find() argument 294 hash = hpt_hash(vpn, mmu_psize_defs[psize].shift, ssize); in pSeries_lpar_hpte_find() 295 want_v = hpte_encode_avpn(vpn, psize, ssize); in pSeries_lpar_hpte_find() 313 int psize, int ssize) in pSeries_lpar_hpte_updateboltedpp() argument 318 vsid = get_kernel_vsid(ea, ssize); in pSeries_lpar_hpte_updateboltedpp() 319 vpn = hpt_vpn(ea, vsid, ssize); in pSeries_lpar_hpte_updateboltedpp() [all …]
|
/arch/powerpc/platforms/ps3/ |
D | htab.c | 49 int psize, int apsize, int ssize) in ps3_hpte_insert() argument 65 hpte_v = hpte_encode_v(vpn, psize, apsize, ssize) | vflags | HPTE_V_VALID; in ps3_hpte_insert() 112 unsigned long vpn, int psize, int ssize, int local) in ps3_hpte_updatepp() argument 120 want_v = hpte_encode_avpn(vpn, psize, ssize); in ps3_hpte_updatepp() 159 int psize, int ssize) in ps3_hpte_updateboltedpp() argument 165 int psize, int ssize, int local) in ps3_hpte_invalidate() argument
|
/arch/powerpc/platforms/cell/ |
D | beat_htab.c | 93 int psize, int apsize, int ssize) in beat_lpar_hpte_insert() argument 188 int psize, int ssize, int local) in beat_lpar_hpte_updatepp() argument 256 int psize, int ssize) in beat_lpar_hpte_updateboltedpp() argument 277 int psize, int ssize, int local) in beat_lpar_hpte_invalidate() argument 317 int psize, int apsize, int ssize) in beat_lpar_hpte_insert_v3() argument 369 int psize, int ssize, int local) in beat_lpar_hpte_updatepp_v3() argument 397 int psize, int ssize, int local) in beat_lpar_hpte_invalidate_v3() argument
|
/arch/sparc/mm/ |
D | leon_mm.c | 246 unsigned int ssize, sets; in leon_flush_needed() local 256 ssize = 1 << ((cregs.dccr & LEON3_XCCR_SSIZE_MASK) >> 20); in leon_flush_needed() 259 sets > 3 ? "unknown" : setStr[sets], ssize); in leon_flush_needed() 260 if ((ssize <= (PAGE_SIZE / 1024)) && (sets == 0)) { in leon_flush_needed()
|
/arch/powerpc/platforms/powermac/ |
D | cpufreq_64.c | 389 unsigned int psize, ssize; in g5_neo2_cpufreq_init() local 450 ssize = (shdr->len * sizeof(u32)) - in g5_neo2_cpufreq_init() 452 g5_fvt_count = ssize / sizeof(struct smu_sdbp_fvt); in g5_neo2_cpufreq_init()
|
/arch/mips/include/asm/sgi/ |
D | mc.h | 200 volatile u32 ssize; /* DMA stride size */ member
|
/arch/mips/include/asm/octeon/ |
D | cvmx-sriox-defs.h | 772 uint64_t ssize:4; member 788 uint64_t ssize:4;
|