| /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 …]
|
| /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()
|
| /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()
|
| H A D | cache-v7m.S | 201 ands r4, r4, r1, lsr #3 @ find maximum number on the way size 202 clz r5, r4 @ find bit position of way size increment 209 orr r11, r10, r6 @ factor way and cache number into r11 212 dccisw r11, r6 @ clean/invalidate by set/way 215 subs r4, r4, #1 @ decrement the way
|
| H A D | cache-v7.S | 54 moveq r1, #1 @ r1 needs value > 0 even if only 1 way 153 ands r4, r4, r1, lsr #3 @ find maximum number on the way size 154 clz r5, r4 @ find bit position of way size increment 164 orr r5, r5, r4 @ factor way number into r5 166 mcr p15, 0, r5, c7, c14, 2 @ clean & invalidate by set/way 169 subs r4, r4, r6 @ decrement the way
|
| /linux/arch/arc/mm/ |
| H A D | tlb.c | 682 #define SET_WAY_TO_IDX(mmu, set, way) ((set) * mmu->ways + (way)) argument 709 int is_valid, way; in do_tlb_overlap_fault() local 713 for (way = 0, is_valid = 0; way < n_ways; way++) { in do_tlb_overlap_fault() 715 SET_WAY_TO_IDX(mmu, set, way)); in do_tlb_overlap_fault() 717 pd0[way] = read_aux_reg(ARC_REG_TLBPD0); in do_tlb_overlap_fault() 718 is_valid |= pd0[way] & _PAGE_PRESENT; in do_tlb_overlap_fault() 719 pd0[way] &= PAGE_MASK; in do_tlb_overlap_fault() 727 for (way = 0; way < n_ways - 1; way++) { in do_tlb_overlap_fault() 731 if (!pd0[way]) in do_tlb_overlap_fault() 734 for (n = way + 1; n < n_ways; n++) { in do_tlb_overlap_fault() [all …]
|
| /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 …]
|
| /linux/arch/arm/boot/dts/broadcom/ |
| 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
|
| 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 | bcm2835.dtsi | 29 d-cache-sets = <256>; // 16KiB(size)/16(line-size)=1024ways/4-way set 32 i-cache-sets = <256>; // 16KiB(size)/16(line-size)=1024ways/4-way set
|
| /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
|
| /linux/tools/testing/selftests/net/forwarding/ |
| H A D | README | 37 between 4-ports LAGs or 8-way ECMP requires many physical links that are 63 o lib.sh brings in defer.sh (by way of ../lib.sh) by default. Consider 80 various ways. A number of these variables can be overridden. The way these 90 One way of overriding these variables is through the environment: 95 way to pass it through the environment. Its value can instead be given as 100 A way to customize variables in a persistent fashion is to create a file
|
| /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.
|
| /linux/arch/mips/cavium-octeon/executive/ |
| H A D | cvmx-l2c.c | 321 uint64_t way; in cvmx_l2c_lock_line() local 327 for (way = 0; way < assoc; way++) { in cvmx_l2c_lock_line() 328 CVMX_CACHE_LTGL2I(index | (way << shift), 0); in cvmx_l2c_lock_line() 337 if (way >= assoc) { in cvmx_l2c_lock_line() 347 return way; in cvmx_l2c_lock_line()
|
| /linux/net/mpls/ |
| H A D | Kconfig | 11 circuits. Originally conceived as a way of routing packets at 13 MPLS remains a simple way of making tunnels.
|
| /linux/drivers/net/dsa/sja1105/ |
| H A D | sja1105_main.c | 1489 static int sja1105et_fdb_index(int bin, int way) in sja1105et_fdb_index() argument 1491 return bin * SJA1105ET_FDB_BIN_SIZE + way; in sja1105et_fdb_index() 1499 int way; in sja1105et_is_fdb_entry_in_bin() local 1501 for (way = 0; way < SJA1105ET_FDB_BIN_SIZE; way++) { in sja1105et_is_fdb_entry_in_bin() 1503 int index = sja1105et_fdb_index(bin, way); in sja1105et_is_fdb_entry_in_bin() 1511 *last_unused = way; in sja1105et_is_fdb_entry_in_bin() 1519 return way; in sja1105et_is_fdb_entry_in_bin() 1534 int bin, way, rc; in sja1105et_fdb_add() local 1538 way = sja1105et_is_fdb_entry_in_bin(priv, bin, addr, vid, in sja1105et_fdb_add() 1540 if (way >= 0) { in sja1105et_fdb_add() [all …]
|
| /linux/Documentation/admin-guide/device-mapper/ |
| H A D | dm-log.rst | 30 This log implementation commits the log state to disk. This way, the 42 This log type simply provides a way to export the log API to userspace, 49 diversity, and 2-way communication nature of the exchanges between
|
| /linux/drivers/hid/bpf/progs/ |
| H A D | README | 14 "upstream" them, but also this way we can test them thanks to the HID 28 ### Automated way 32 ### Manual way
|
| /linux/Documentation/gpu/ |
| H A D | drm-compute.rst | 10 Some hardware may schedule compute jobs, and have no way to pre-empt them, or 37 only approaches possible. So even with those, you want a separate way of 38 controlling resources. The standard kernel way of doing so is cgroups.
|
| /linux/drivers/platform/x86/amd/hsmp/ |
| H A D | Kconfig | 20 The driver provides a way for user space tools to monitor and manage 38 The driver provides a way for user space tools to monitor and manage
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | yuv-formats.rst | 13 *color difference* signals, this way the green component can be 17 color in a way compatible with existing receivers a new signal carrier 52 The other option is to subsample chroma values in a way that place them in
|
| /linux/Documentation/core-api/ |
| H A D | printk-basics.rst | 8 standard tool we have for printing messages and usually the most basic way of 20 buffer exported to userspace through /dev/kmsg. The usual way to read it is 77 Another way, using ``dmesg``::
|
| /linux/Documentation/input/devices/ |
| H A D | rotary-encoder.rst | 52 (i.e. the rotation was not reversed half-way). 61 meaning that there it has seen half the way of a one-step transition. 68 should have happened, unless it flipped back on half the way. The
|