Home
last modified time | relevance | path

Searched refs:CACHE_LINE_SIZE (Results 1 – 16 of 16) sorted by relevance

/OK3568_Linux_fs/kernel/arch/arm/mm/
H A Dcache-feroceon-l2.c137 #define CACHE_LINE_SIZE 32 macro
146 BUG_ON(start & (CACHE_LINE_SIZE - 1)); in calc_range_end()
147 BUG_ON(end & (CACHE_LINE_SIZE - 1)); in calc_range_end()
176 if (start & (CACHE_LINE_SIZE - 1)) { in feroceon_l2_inv_range()
177 l2_clean_inv_pa(start & ~(CACHE_LINE_SIZE - 1)); in feroceon_l2_inv_range()
178 start = (start | (CACHE_LINE_SIZE - 1)) + 1; in feroceon_l2_inv_range()
184 if (start < end && end & (CACHE_LINE_SIZE - 1)) { in feroceon_l2_inv_range()
185 l2_clean_inv_pa(end & ~(CACHE_LINE_SIZE - 1)); in feroceon_l2_inv_range()
186 end &= ~(CACHE_LINE_SIZE - 1); in feroceon_l2_inv_range()
194 l2_inv_pa_range(start, range_end - CACHE_LINE_SIZE); in feroceon_l2_inv_range()
[all …]
H A Dcache-tauros2.c67 #define CACHE_LINE_SIZE 32 macro
74 if (start & (CACHE_LINE_SIZE - 1)) { in tauros2_inv_range()
75 tauros2_clean_inv_pa(start & ~(CACHE_LINE_SIZE - 1)); in tauros2_inv_range()
76 start = (start | (CACHE_LINE_SIZE - 1)) + 1; in tauros2_inv_range()
82 if (end & (CACHE_LINE_SIZE - 1)) { in tauros2_inv_range()
83 tauros2_clean_inv_pa(end & ~(CACHE_LINE_SIZE - 1)); in tauros2_inv_range()
84 end &= ~(CACHE_LINE_SIZE - 1); in tauros2_inv_range()
92 start += CACHE_LINE_SIZE; in tauros2_inv_range()
100 start &= ~(CACHE_LINE_SIZE - 1); in tauros2_clean_range()
103 start += CACHE_LINE_SIZE; in tauros2_clean_range()
[all …]
H A Dcache-xsc3l2.c15 #define CACHE_LINE_SIZE 32 macro
100 if (start & (CACHE_LINE_SIZE - 1)) { in xsc3_l2_inv_range()
101 vaddr = l2_map_va(start & ~(CACHE_LINE_SIZE - 1), vaddr); in xsc3_l2_inv_range()
104 start = (start | (CACHE_LINE_SIZE - 1)) + 1; in xsc3_l2_inv_range()
110 while (start < (end & ~(CACHE_LINE_SIZE - 1))) { in xsc3_l2_inv_range()
113 start += CACHE_LINE_SIZE; in xsc3_l2_inv_range()
136 start &= ~(CACHE_LINE_SIZE - 1); in xsc3_l2_clean_range()
140 start += CACHE_LINE_SIZE; in xsc3_l2_clean_range()
179 start &= ~(CACHE_LINE_SIZE - 1); in xsc3_l2_flush_range()
184 start += CACHE_LINE_SIZE; in xsc3_l2_flush_range()
H A Dcache-l2x0.c37 #define CACHE_LINE_SIZE 32 macro
183 start += CACHE_LINE_SIZE; in __l2c210_op_pa_range()
191 if (start & (CACHE_LINE_SIZE - 1)) { in l2c210_inv_range()
192 start &= ~(CACHE_LINE_SIZE - 1); in l2c210_inv_range()
194 start += CACHE_LINE_SIZE; in l2c210_inv_range()
197 if (end & (CACHE_LINE_SIZE - 1)) { in l2c210_inv_range()
198 end &= ~(CACHE_LINE_SIZE - 1); in l2c210_inv_range()
210 start &= ~(CACHE_LINE_SIZE - 1); in l2c210_clean_range()
219 start &= ~(CACHE_LINE_SIZE - 1); in l2c210_flush_range()
295 start += CACHE_LINE_SIZE; in l2c220_op_pa_range()
[all …]
H A Dcache-v6.S18 #define CACHE_LINE_SIZE 32 macro
132 bic r0, r0, #CACHE_LINE_SIZE - 1
135 add r0, r0, #CACHE_LINE_SIZE
/OK3568_Linux_fs/u-boot/arch/powerpc/cpu/mpc86xx/
H A Dcache.S10 #ifndef CACHE_LINE_SIZE
11 # define CACHE_LINE_SIZE L1_CACHE_BYTES macro
14 #if CACHE_LINE_SIZE == 128
16 #elif CACHE_LINE_SIZE == 32
18 #elif CACHE_LINE_SIZE == 16
20 #elif CACHE_LINE_SIZE == 8
57 lis r5,CACHE_LINE_SIZE
62 lis r5,CACHE_LINE_SIZE
75 li r5,CACHE_LINE_SIZE-1
84 addi r3,r3,CACHE_LINE_SIZE
[all …]
/OK3568_Linux_fs/u-boot/arch/nds32/lib/
H A Dcache.c31 static inline unsigned long CACHE_LINE_SIZE(enum cache_t cache) in CACHE_LINE_SIZE() function
46 line_size = CACHE_LINE_SIZE(ICACHE); in invalidate_icache_all()
66 line_size = CACHE_LINE_SIZE(ICACHE); in invalidate_icache_range()
141 line_size = CACHE_LINE_SIZE(DCACHE); in dcache_wbinval_all()
164 line_size = CACHE_LINE_SIZE(DCACHE); in flush_dcache_range()
179 line_size = CACHE_LINE_SIZE(DCACHE); in invalidate_dcache_range()
/OK3568_Linux_fs/kernel/arch/nds32/kernel/
H A Dsetup.c105 L1_cache_info[ICACHE].line_size = CACHE_LINE_SIZE(ICACHE); in dump_cpu_info()
114 L1_cache_info[DCACHE].line_size = CACHE_LINE_SIZE(DCACHE); in dump_cpu_info()
329 CACHE_LINE_SIZE(ICACHE) / 1024, CACHE_SET(ICACHE), in c_show()
330 CACHE_WAY(ICACHE), CACHE_LINE_SIZE(ICACHE)); in c_show()
334 CACHE_LINE_SIZE(DCACHE) / 1024, CACHE_SET(DCACHE), in c_show()
335 CACHE_WAY(DCACHE), CACHE_LINE_SIZE(DCACHE)); in c_show()
H A Dcacheinfo.c15 this_leaf->coherency_line_size = CACHE_LINE_SIZE(cache_type); in ci_leaf_init()
/OK3568_Linux_fs/kernel/arch/m68k/coldfire/
H A Dcache.c41 : "i" (CACHE_LINE_SIZE), in mcf_cache_push()
/OK3568_Linux_fs/kernel/arch/nds32/include/asm/
H A Dnds32.h57 static inline unsigned long CACHE_LINE_SIZE(unsigned char cache) in CACHE_LINE_SIZE() function
/OK3568_Linux_fs/kernel/arch/m68k/include/asm/
H A Dm53xxacr.h65 #define CACHE_LINE_SIZE 16 /* 16 byte line size */ macro
H A Dm54xxacr.h65 #define CACHE_LINE_SIZE 0x0010 /* 16 bytes */ macro
/OK3568_Linux_fs/u-boot/drivers/ddr/marvell/axp/
H A Dddr3_sdram.c575 flush_l1_v7(line + CACHE_LINE_SIZE); in ddr3_flush_l1_line()
579 flush_l1_v6(line + CACHE_LINE_SIZE); in ddr3_flush_l1_line()
H A Dddr3_hw_training.h90 #define CACHE_LINE_SIZE 0x20 macro
/OK3568_Linux_fs/kernel/Documentation/scsi/
H A DChangeLog.ncr53c8xx351 Use a single alignment boundary (CACHE_LINE_SIZE) for data