/openbmc/linux/arch/nios2/mm/ |
H A D | tlb.c | 47 unsigned int way; in replace_tlb_one_pid() local 55 for (way = 0; way < cpuinfo.tlb_num_ways; way++) { in replace_tlb_one_pid() 60 tlbmisc = TLBMISC_RD | (way << TLBMISC_WAY_SHIFT); in replace_tlb_one_pid() 73 (way << TLBMISC_WAY_SHIFT); in replace_tlb_one_pid() 126 unsigned int way; in flush_tlb_one() local 136 for (way = 0; way < cpuinfo.tlb_num_ways; way++) { in flush_tlb_one() 140 tlbmisc = TLBMISC_RD | (way << TLBMISC_WAY_SHIFT); in flush_tlb_one() 148 way, (pid_misc >> TLBMISC_PID_SHIFT)); in flush_tlb_one() 150 tlbmisc = TLBMISC_WE | (way << TLBMISC_WAY_SHIFT); in flush_tlb_one() 169 unsigned int way; in dump_tlb_line() local [all …]
|
/openbmc/linux/arch/xtensa/include/asm/ |
H A D | tlbflush.h | 130 static inline void write_dtlb_entry (pte_t entry, int way) in write_dtlb_entry() argument 133 : : "r" (way), "r" (entry) ); in write_dtlb_entry() 136 static inline void write_itlb_entry (pte_t entry, int way) in write_itlb_entry() argument 139 : : "r" (way), "r" (entry) ); in write_itlb_entry() 176 static inline unsigned long read_dtlb_virtual (int way) in read_dtlb_virtual() argument 179 __asm__ __volatile__("rdtlb0 %0, %1\n\t" : "=a" (tmp), "+a" (way)); in read_dtlb_virtual() 183 static inline unsigned long read_dtlb_translation (int way) in read_dtlb_translation() argument 186 __asm__ __volatile__("rdtlb1 %0, %1\n\t" : "=a" (tmp), "+a" (way)); in read_dtlb_translation() 190 static inline unsigned long read_itlb_virtual (int way) in read_itlb_virtual() argument 193 __asm__ __volatile__("ritlb0 %0, %1\n\t" : "=a" (tmp), "+a" (way)); in read_itlb_virtual() [all …]
|
/openbmc/linux/arch/sh/mm/ |
H A D | cache-sh2a.c | 26 static void sh2a_flush_oc_line(unsigned long v, int way) in sh2a_flush_oc_line() argument 28 unsigned long addr = (v & 0x000007f0) | (way << 11); in sh2a_flush_oc_line() 76 int way; in sh2a__flush_wback_region() local 77 for (way = 0; way < nr_ways; way++) { in sh2a__flush_wback_region() 79 sh2a_flush_oc_line(v, way); in sh2a__flush_wback_region() 106 int way; in sh2a__flush_purge_region() local 108 for (way = 0; way < nr_ways; way++) in sh2a__flush_purge_region() 109 sh2a_flush_oc_line(v, way); in sh2a__flush_purge_region()
|
H A D | cache-sh2.c | 28 int way; in sh2__flush_wback_region() local 29 for (way = 0; way < 4; way++) { in sh2__flush_wback_region() 30 unsigned long data = __raw_readl(addr | (way << 12)); in sh2__flush_wback_region() 33 __raw_writel(data, addr | (way << 12)); in sh2__flush_wback_region()
|
H A D | cache-debugfs.c | 29 unsigned int waysize, way; in cache_debugfs_show() local 66 for (way = 0; way < cache->ways; way++) { in cache_debugfs_show() 71 seq_printf(file, "Way %d\n", way); in cache_debugfs_show()
|
/openbmc/linux/arch/arm/mm/ |
H A D | cache-xsc3l2.c | 44 int set, way; in xsc3_l2_inv_all() local 49 for (way = 0; way < CACHE_WAY_PER_SET; way++) { in xsc3_l2_inv_all() 50 set_way = (way << 29) | (set << 5); in xsc3_l2_inv_all() 154 int set, way; in xsc3_l2_flush_all() local 159 for (way = 0; way < CACHE_WAY_PER_SET; way++) { in xsc3_l2_flush_all() 160 set_way = (way << 29) | (set << 5); in xsc3_l2_flush_all()
|
/openbmc/linux/arch/arc/mm/ |
H A D | tlb.c | 688 #define SET_WAY_TO_IDX(mmu, set, way) ((set) * mmu->ways + (way)) argument 715 int is_valid, way; in do_tlb_overlap_fault() local 719 for (way = 0, is_valid = 0; way < n_ways; way++) { in do_tlb_overlap_fault() 721 SET_WAY_TO_IDX(mmu, set, way)); in do_tlb_overlap_fault() 723 pd0[way] = read_aux_reg(ARC_REG_TLBPD0); in do_tlb_overlap_fault() 724 is_valid |= pd0[way] & _PAGE_PRESENT; in do_tlb_overlap_fault() 725 pd0[way] &= PAGE_MASK; in do_tlb_overlap_fault() 733 for (way = 0; way < n_ways - 1; way++) { in do_tlb_overlap_fault() 737 if (!pd0[way]) in do_tlb_overlap_fault() 740 for (n = way + 1; n < n_ways; n++) { in do_tlb_overlap_fault() [all …]
|
/openbmc/linux/arch/mips/mm/ |
H A D | cerr-sb1.c | 321 unsigned short way; in extract_ic() local 330 for (way = 0; way < 4; way++) { in extract_ic() 344 : "r" ((way << 13) | addr)); in extract_ic() 347 if (way == 0) { in extract_ic() 377 way, va, valid, taghi, taglo); in extract_ic() 399 : "r" ((way << 13) | addr | (offset << 3))); in extract_ic() 477 int valid, way; in extract_dc() local 485 for (way = 0; way < 4; way++) { in extract_dc() 498 : "r" ((way << 13) | addr)); in extract_dc() 502 if (way == 0) { in extract_dc() [all …]
|
/openbmc/u-boot/arch/arm/cpu/armv7/ |
H A D | cache_v7_asm.S | 45 ands r4, r4, r1, lsr #3 @ find maximum number on the way size 46 clz r5, r4 @ find bit position of way size increment 52 ARM( orr r11, r10, r4, lsl r5 ) @ factor way and cache number into r11 54 THUMB( orr r11, r10, r6 ) @ factor way and cache number into r11 58 mcr p15, 0, r11, c7, c14, 2 @ clean & invalidate by set/way 61 subs r4, r4, #1 @ decrement the way 115 ands r4, r4, r1, lsr #3 @ find maximum number on the way size 116 clz r5, r4 @ find bit position of way size increment 122 ARM( orr r11, r10, r4, lsl r5 ) @ factor way and cache number into r11 124 THUMB( orr r11, r10, r6 ) @ factor way and cache number into r11 [all …]
|
/openbmc/linux/arch/arm/boot/dts/broadcom/ |
H A D | bcm2837.dtsi | 57 d-cache-sets = <128>; // 32KiB(size)/64(line-size)=512ways/4-way set 60 i-cache-sets = <256>; // 32KiB(size)/64(line-size)=512ways/2-way set 72 d-cache-sets = <128>; // 32KiB(size)/64(line-size)=512ways/4-way set 75 i-cache-sets = <256>; // 32KiB(size)/64(line-size)=512ways/2-way set 87 d-cache-sets = <128>; // 32KiB(size)/64(line-size)=512ways/4-way set 90 i-cache-sets = <256>; // 32KiB(size)/64(line-size)=512ways/2-way set 102 d-cache-sets = <128>; // 32KiB(size)/64(line-size)=512ways/4-way set 105 i-cache-sets = <256>; // 32KiB(size)/64(line-size)=512ways/2-way set 120 cache-sets = <512>; // 512KiB(size)/64(line-size)=8192ways/16-way set
|
H A D | bcm2836.dtsi | 58 d-cache-sets = <128>; // 32KiB(size)/64(line-size)=512ways/4-way set 61 i-cache-sets = <512>; // 32KiB(size)/32(line-size)=1024ways/2-way set 72 d-cache-sets = <128>; // 32KiB(size)/64(line-size)=512ways/4-way set 75 i-cache-sets = <512>; // 32KiB(size)/32(line-size)=1024ways/2-way set 86 d-cache-sets = <128>; // 32KiB(size)/64(line-size)=512ways/4-way set 89 i-cache-sets = <512>; // 32KiB(size)/32(line-size)=1024ways/2-way set 100 d-cache-sets = <128>; // 32KiB(size)/64(line-size)=512ways/4-way set 103 i-cache-sets = <512>; // 32KiB(size)/32(line-size)=1024ways/2-way set 118 cache-sets = <1024>; // 512KiB(size)/64(line-size)=8192ways/8-way set
|
/openbmc/qemu/docs/ |
H A D | qdev-device-use.txt | 45 The new way keeps the parts separate: you create the host part with 57 In the new way, this becomes something like 73 * media is special. In the old way, it selects disk vs. CD-ROM with 74 if=ide, if=scsi and if=xen. The new way uses DEVNAME for that. 90 The old way implicitly creates SCSI controllers as needed. The new 91 way makes that explicit: 128 For USB devices, the old way was actually different: 134 The old way provided much less control than -drive's OPTS... The new 135 way fixes that: 156 The new way keeps the parts separate: you create the host part with [all …]
|
/openbmc/qemu/target/ppc/ |
H A D | mmu_common.c | 70 int way, int is_code) in ppc6xx_tlb_getnum() argument 77 nr += env->tlb_per_way * way; in ppc6xx_tlb_getnum() 94 int nr, best, way, ret; in ppc6xx_tlb_check() local 101 for (way = 0; way < env->nb_ways; way++) { in ppc6xx_tlb_check() 102 nr = ppc6xx_tlb_getnum(env, eaddr, way, is_code); in ppc6xx_tlb_check() 505 int type, way, entry, i; in mmu6xx_dump_mmu() local 533 for (way = 0; way < env->nb_ways; way++) { in mmu6xx_dump_mmu() 534 for (entry = env->nb_tlb * type + env->tlb_per_way * way; in mmu6xx_dump_mmu() 535 entry < (env->nb_tlb * type + env->tlb_per_way * (way + 1)); in mmu6xx_dump_mmu() 542 env->nb_tlb, way, in mmu6xx_dump_mmu()
|
H A D | mmu_helper.c | 65 int way, nr; in ppc6xx_tlb_invalidate_virt2() local 68 for (way = 0; way < env->nb_ways; way++) { in ppc6xx_tlb_invalidate_virt2() 69 nr = ppc6xx_tlb_getnum(env, eaddr, way, is_code); in ppc6xx_tlb_invalidate_virt2() 90 static void ppc6xx_tlb_store(CPUPPCState *env, target_ulong EPN, int way, in ppc6xx_tlb_store() argument 96 nr = ppc6xx_tlb_getnum(env, EPN, way, is_code); in ppc6xx_tlb_store() 107 env->last_way = way; in ppc6xx_tlb_store() 562 int way; in do_6xx_tlb() local 572 way = (env->spr[SPR_SRR1] >> 17) & 1; in do_6xx_tlb() 576 __func__, new_EPN, EPN, CMP, RPN, way); in do_6xx_tlb() 579 way, is_code, CMP, RPN); in do_6xx_tlb() [all …]
|
/openbmc/linux/Documentation/arch/x86/ |
H A D | entry_64.rst | 28 either way. 36 magically-generated functions that make their way to common_interrupt() 64 Now, there's a secondary complication: there's a cheap way to test 65 which mode the CPU is in and an expensive way. 67 The cheap way is to pick this info off the entry frame on the kernel 75 The expensive (paranoid) way is to read back the MSR_GS_BASE value 96 stack but before we executed SWAPGS, then the only safe way to check
|
/openbmc/u-boot/doc/ |
H A D | README.N1213 | 23 - 32/64/128-entry 4-way set-associati.ve main TLB. 35 - Set associativity: 2-way, 4-way or direct-mapped.
|
H A D | README.fsl-ddr | 9 | | 2-way Intlv'ed | | 13 | complexes | 2-way Intlv'ed | Not Intlv'ed | | 15 | | 3-way Intlv'ed | | 19 | complexes | 2-way Intlv'ed | 2-way Intlv'ed | 21 | | 4-way Intlv'ed | 25 Table of 2-way interleaving modes supported in cpu/8xxx/ddr/ 82 # 1KB 3-way interleaving 85 # 4KB 3-way interleaving 88 # 8KB 3-way interleaving 282 Another way to enter the interactive DDR debugger without setting the
|
/openbmc/phosphor-host-ipmid/ |
H A D | meson.options | 135 # IPMI whitelist mechanism is not needed by everyone; offer a way to disable it 153 …description: 'The Entity Manager Decorators flag is enabled by default; offer a way to disable it', 161 description: 'Dynamic sensors stack is enabled by default; offer a way to disable it', 167 description: 'Dynamic sensors stack is enabled by default; offer a way to disable it', 173 description: 'Hybrid sensors stack is disabled by default; offer a way to enable it', 179 description: 'OEM sensor SDR parsing is disabled by default; offer a way to enable it', 187 description: 'Sensor cache stack is disabled by default; offer a way to enable it',
|
/openbmc/qemu/target/xtensa/ |
H A D | mmu_helper.c | 83 bool dtlb, uint32_t way) in get_page_size() argument 87 switch (way) { in get_page_size() 106 bool dtlb, uint32_t way) in xtensa_tlb_get_addr_mask() argument 113 switch (way) { in xtensa_tlb_get_addr_mask() 115 return 0xfff00000 << get_page_size(env, dtlb, way) * 2; in xtensa_tlb_get_addr_mask() 119 return 0xf8000000 << get_page_size(env, dtlb, way); in xtensa_tlb_get_addr_mask() 126 return 0xf0000000 << (1 - get_page_size(env, dtlb, way)); in xtensa_tlb_get_addr_mask() 143 static uint32_t get_vpn_mask(const CPUXtensaState *env, bool dtlb, uint32_t way) in get_vpn_mask() argument 145 if (way < 4) { in get_vpn_mask() 150 } else if (way == 4) { in get_vpn_mask() [all …]
|
/openbmc/u-boot/arch/arc/include/asm/ |
H A D | arc-bcr.h | 32 unsigned int pad:24, way:2, lsz:2, sz:4; member 34 unsigned int sz:4, lsz:2, way:2, pad:24;
|
/openbmc/openbmc/poky/meta/files/common-licenses/ |
H A D | Simple-2.0 | 21 …way, you may only recover direct damages up to the amount you paid for it (that is zero if you did… 26 …s a license form to use in any way that you find helpful. To avoid confusion, however, if you cha…
|
H A D | SimPL-2.0 | 28 …way, you may only recover direct damages up to the amount you paid for it (that is zero if you did… 37 …s a license form to use in any way that you find helpful. To avoid confusion, however, if you cha…
|
/openbmc/linux/drivers/staging/media/deprecated/atmel/ |
H A D | TODO | 7 The best example is the way the format is propagated from the top video 15 everything at the top level. This is an easy way to capture, but also comes 27 way.
|
/openbmc/linux/drivers/acpi/apei/ |
H A D | Kconfig | 27 Generic Hardware Error Source provides a way to report 31 Linux by firmware. This way, some non-standard hardware 67 ERST is a way provided by APEI to save and retrieve hardware
|
/openbmc/openbmc/poky/meta/recipes-devtools/rpm/files/ |
H A D | 0001-Do-not-add-an-unsatisfiable-dependency-when-building.patch | 5 a short-circuited way. 8 hand produces rpms that way by design.
|