Lines Matching +full:entry +full:- +full:address
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * linux/arch/arm/mm/cache-v4wb.S
5 * Copyright (C) 1997-2002 Russell king
12 #include "proc-macros.S"
39 * 32768 150 149 150 214 216 212 <---
42 * Whole 132 136 132 221 217 207 <---
57 ENTRY(v4wb_flush_icache_all)
66 * Clean and invalidate all cache entries in a particular address
69 ENTRY(v4wb_flush_user_cache_all)
76 ENTRY(v4wb_flush_kern_cache_all)
89 add r2, r2, #FLUSH_BASE_MINICACHE - FLUSH_BASE
102 * address space.
104 * - start - start address (inclusive, page aligned)
105 * - end - end address (exclusive, page aligned)
106 * - flags - vma_area_struct flags describing address space
108 ENTRY(v4wb_flush_user_cache_range)
117 1: mcr p15, 0, r0, c7, c10, 1 @ clean D entry
118 mcr p15, 0, r0, c7, c6, 1 @ invalidate D entry
132 * - addr - kernel address
133 * - size - region size
135 ENTRY(v4wb_flush_kern_dcache_area)
143 * region described by start. If you have non-snooping
146 * - start - virtual start address
147 * - end - virtual end address
149 ENTRY(v4wb_coherent_kern_range)
156 * region described by start. If you have non-snooping
159 * - start - virtual start address
160 * - end - virtual end address
162 ENTRY(v4wb_coherent_user_range)
163 bic r0, r0, #CACHE_DLINESIZE - 1
164 1: mcr p15, 0, r0, c7, c10, 1 @ clean D entry
165 mcr p15, 0, r0, c7, c6, 1 @ invalidate D entry
178 * Invalidate (discard) the specified virtual address range.
183 * - start - virtual start address
184 * - end - virtual end address
187 tst r0, #CACHE_DLINESIZE - 1
188 bic r0, r0, #CACHE_DLINESIZE - 1
189 mcrne p15, 0, r0, c7, c10, 1 @ clean D entry
190 tst r1, #CACHE_DLINESIZE - 1
191 mcrne p15, 0, r1, c7, c10, 1 @ clean D entry
192 1: mcr p15, 0, r0, c7, c6, 1 @ invalidate D entry
202 * Clean (write back) the specified virtual address range.
204 * - start - virtual start address
205 * - end - virtual end address
208 bic r0, r0, #CACHE_DLINESIZE - 1
209 1: mcr p15, 0, r0, c7, c10, 1 @ clean D entry
219 * Clean and invalidate the specified virtual address range.
221 * - start - virtual start address
222 * - end - virtual end address
231 * - start - kernel virtual start address
232 * - size - size of region
233 * - dir - DMA direction
235 ENTRY(v4wb_dma_map_area)
245 * - start - kernel virtual start address
246 * - size - size of region
247 * - dir - DMA direction
249 ENTRY(v4wb_dma_unmap_area)
258 @ define struct cpu_cache_fns (see <asm/cacheflush.h> and proc-macros.S)