Home
last modified time | relevance | path

Searched refs:way (Results 1 – 25 of 867) sorted by relevance

12345678910>>...35

/Linux-v4.19/arch/nios2/mm/
Dtlb.c55 unsigned int way; in flush_tlb_one_pid() local
65 for (way = 0; way < cpuinfo.tlb_num_ways; way++) { in flush_tlb_one_pid()
70 tlbmisc = pid_misc | TLBMISC_RD | (way << TLBMISC_WAY_SHIFT); in flush_tlb_one_pid()
78 ((PAGE_SIZE * cpuinfo.tlb_num_lines) * way) + in flush_tlb_one_pid()
81 vaddr, way, (pid_misc >> TLBMISC_PID_SHIFT)); in flush_tlb_one_pid()
85 (way << TLBMISC_WAY_SHIFT); in flush_tlb_one_pid()
119 unsigned int way; in flush_tlb_one() local
129 for (way = 0; way < cpuinfo.tlb_num_ways; way++) { in flush_tlb_one()
133 tlbmisc = pid_misc | TLBMISC_RD | (way << TLBMISC_WAY_SHIFT); in flush_tlb_one()
140 ((PAGE_SIZE * cpuinfo.tlb_num_lines) * way) + in flush_tlb_one()
[all …]
/Linux-v4.19/arch/xtensa/include/asm/
Dtlbflush.h130 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()
179 static inline unsigned long read_dtlb_virtual (int way) in read_dtlb_virtual() argument
182 __asm__ __volatile__("rdtlb0 %0, %1\n\t" : "=a" (tmp), "+a" (way)); in read_dtlb_virtual()
186 static inline unsigned long read_dtlb_translation (int way) in read_dtlb_translation() argument
189 __asm__ __volatile__("rdtlb1 %0, %1\n\t" : "=a" (tmp), "+a" (way)); in read_dtlb_translation()
193 static inline unsigned long read_itlb_virtual (int way) in read_itlb_virtual() argument
196 __asm__ __volatile__("ritlb0 %0, %1\n\t" : "=a" (tmp), "+a" (way)); in read_itlb_virtual()
[all …]
/Linux-v4.19/arch/sh/mm/
Dcache-sh2a.c27 static void sh2a_flush_oc_line(unsigned long v, int way) in sh2a_flush_oc_line() argument
29 unsigned long addr = (v & 0x000007f0) | (way << 11); in sh2a_flush_oc_line()
77 int way; in sh2a__flush_wback_region() local
78 for (way = 0; way < nr_ways; way++) { in sh2a__flush_wback_region()
80 sh2a_flush_oc_line(v, way); in sh2a__flush_wback_region()
107 int way; in sh2a__flush_purge_region() local
109 for (way = 0; way < nr_ways; way++) in sh2a__flush_purge_region()
110 sh2a_flush_oc_line(v, way); in sh2a__flush_purge_region()
Dcache-sh2.c29 int way; in sh2__flush_wback_region() local
30 for (way = 0; way < 4; way++) { in sh2__flush_wback_region()
31 unsigned long data = __raw_readl(addr | (way << 12)); in sh2__flush_wback_region()
34 __raw_writel(data, addr | (way << 12)); in sh2__flush_wback_region()
Dcache-debugfs.c29 unsigned int waysize, way; in cache_seq_show() local
66 for (way = 0; way < cache->ways; way++) { in cache_seq_show()
71 seq_printf(file, "Way %d\n", way); in cache_seq_show()
/Linux-v4.19/arch/arm/mm/
Dcache-xsc3l2.c56 int set, way; in xsc3_l2_inv_all() local
61 for (way = 0; way < CACHE_WAY_PER_SET; way++) { in xsc3_l2_inv_all()
62 set_way = (way << 29) | (set << 5); in xsc3_l2_inv_all()
166 int set, way; in xsc3_l2_flush_all() local
171 for (way = 0; way < CACHE_WAY_PER_SET; way++) { in xsc3_l2_flush_all()
172 set_way = (way << 29) | (set << 5); in xsc3_l2_flush_all()
Dcache-v7m.S199 ands r4, r4, r1, lsr #3 @ find maximum number on the way size
200 clz r5, r4 @ find bit position of way size increment
207 orr r11, r10, r6 @ factor way and cache number into r11
210 dccisw r11, r6 @ clean/invalidate by set/way
213 subs r4, r4, #1 @ decrement the way
Dcache-v7.S145 ands r4, r4, r1, lsr #3 @ find maximum number on the way size
146 clz r5, r4 @ find bit position of way size increment
152 ARM( orr r11, r10, r4, lsl r5 ) @ factor way and cache number into r11
154 THUMB( orr r11, r10, r6 ) @ factor way and cache number into r11
158 mcr p15, 0, r11, c7, c14, 2 @ clean & invalidate by set/way
161 subs r4, r4, #1 @ decrement the way
/Linux-v4.19/arch/mips/mm/
Dcerr-sb1.c334 unsigned short way; in extract_ic() local
343 for (way = 0; way < 4; way++) { in extract_ic()
357 : "r" ((way << 13) | addr)); in extract_ic()
360 if (way == 0) { in extract_ic()
390 way, va, valid, taghi, taglo); in extract_ic()
412 : "r" ((way << 13) | addr | (offset << 3))); in extract_ic()
490 int valid, way; in extract_dc() local
498 for (way = 0; way < 4; way++) { in extract_dc()
511 : "r" ((way << 13) | addr)); in extract_dc()
515 if (way == 0) { in extract_dc()
[all …]
/Linux-v4.19/arch/arc/mm/
Dtlb.c898 #define SET_WAY_TO_IDX(mmu, set, way) ((set) * mmu->ways + (way)) argument
923 int is_valid, way; in do_tlb_overlap_fault() local
926 for (way = 0, is_valid = 0; way < mmu->ways; way++) { in do_tlb_overlap_fault()
928 SET_WAY_TO_IDX(mmu, set, way)); in do_tlb_overlap_fault()
930 pd0[way] = read_aux_reg(ARC_REG_TLBPD0); in do_tlb_overlap_fault()
931 is_valid |= pd0[way] & _PAGE_PRESENT; in do_tlb_overlap_fault()
932 pd0[way] &= PAGE_MASK; in do_tlb_overlap_fault()
940 for (way = 0; way < mmu->ways - 1; way++) { in do_tlb_overlap_fault()
944 if (!pd0[way]) in do_tlb_overlap_fault()
947 for (n = way + 1; n < mmu->ways; n++) { in do_tlb_overlap_fault()
[all …]
/Linux-v4.19/Documentation/x86/
Dentry_64.txt22 either way.
30 magically-generated functions that make their way to do_IRQ with
58 Now, there's a secondary complication: there's a cheap way to test
59 which mode the CPU is in and an expensive way.
61 The cheap way is to pick this info off the entry frame on the kernel
69 The expensive (paranoid) way is to read back the MSR_GS_BASE value
90 stack but before we executed SWAPGS, then the only safe way to check
/Linux-v4.19/net/mpls/
DKconfig10 circuits. Originally conceived as a way of routing packets at
12 MPLS remains a simple way of making tunnels.
/Linux-v4.19/drivers/staging/gs_fpgaboot/
DREADME23 a dedicated device or CPU assisted way (serial or parallel).
24 This driver provides a way to download FPGA firmware.
53 We download FPGA firmware from user triggered or some other way, and that's it.
/Linux-v4.19/Documentation/devicetree/bindings/mux/
Dmux-controller.txt11 space is a simple zero-based enumeration. I.e. 0-1 for a 2-way multiplexer,
12 0-7 for an 8-way multiplexer, etc.
43 /* One consumer of a 2-way mux controller (one GPIO-line) */
69 * parallel 4-way multiplexers controlled by the same two GPIO-lines.
149 4-way multiplexer):
/Linux-v4.19/drivers/acpi/apei/
DKconfig27 Generic Hardware Error Source provides a way to report
31 Linux by firmware. This way, some non-standard hardware
77 ERST is a way provided by APEI to save and retrieve hardware
/Linux-v4.19/Documentation/device-mapper/
Ddm-log.txt27 This log implementation commits the log state to disk. This way, the
39 This log type simply provides a way to export the log API to userspace,
46 diversity, and 2-way communication nature of the exchanges between
/Linux-v4.19/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_cls.c359 void mvpp2_cls_lookup_read(struct mvpp2 *priv, int lkpid, int way, in mvpp2_cls_lookup_read() argument
364 val = (way << MVPP2_CLS_LKP_INDEX_WAY_OFFS) | lkpid; in mvpp2_cls_lookup_read()
366 le->way = way; in mvpp2_cls_lookup_read()
377 val = (le->way << MVPP2_CLS_LKP_INDEX_WAY_OFFS) | le->lkpid; in mvpp2_cls_lookup_write()
471 le.way = 0; in mvpp2_cls_flow_lkp_init()
836 le.way = 0; in mvpp2_cls_init()
839 le.way = 1; in mvpp2_cls_init()
860 le.way = 0; in mvpp2_cls_port_config()
Dmvpp2_cls.h192 u32 way; member
225 void mvpp2_cls_lookup_read(struct mvpp2 *priv, int lkpid, int way,
/Linux-v4.19/arch/mips/cavium-octeon/executive/
Dcvmx-l2c.c321 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-v4.19/Documentation/media/uapi/v4l/
Dyuv-formats.rst12 *color difference* signals, this way the green component can be
16 color in a way compatible with existing receivers a new signal carrier
/Linux-v4.19/drivers/powercap/
DKconfig9 capping settings to user space in a consistent way. Usually, it consists
38 provides a way to force idle periods on a set of specified
/Linux-v4.19/Documentation/devicetree/bindings/serial/
Dslave-device.txt30 way to reset the device
32 there is no way to request the actual settings
/Linux-v4.19/Documentation/driver-model/
Ddesign-patterns.txt21 The most common way to achieve this is to use the state container design
62 This way you always get a pointer back to the correct instance of foo in
115 instance this way, while still keeping the number of parameters passed to the
/Linux-v4.19/Documentation/admin-guide/
Ddevices.txt207 Partitions are handled in the same way as for IDE
518 Partitions are handled the same way as for IDE disks
529 Partitions are handled the same way as for the first
637 Partitions are handled in the same way as for IDE
725 Partitions are handled the same way as for the first
743 Partitions are handled the same way as for the first
870 Partitions are handled in the same way as for IDE
894 Partitions are handled in the same way as for IDE
1043 Partitions are handled the same way as for the first
1055 Partitions are handled the same way as for the first
[all …]
/Linux-v4.19/Documentation/input/devices/
Drotary-encoder.rst52 (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

12345678910>>...35