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
11 #include "proc-macros.S"
38 * 32768 150 149 150 214 216 212 <---
41 * Whole 132 136 132 221 217 207 <---
56 ENTRY(v4wb_flush_icache_all)
65 * Clean and invalidate all cache entries in a particular address
68 ENTRY(v4wb_flush_user_cache_all)
75 ENTRY(v4wb_flush_kern_cache_all)
88 add r2, r2, #FLUSH_BASE_MINICACHE - FLUSH_BASE
101 * address space.
103 * - start - start address (inclusive, page aligned)
104 * - end - end address (exclusive, page aligned)
105 * - flags - vma_area_struct flags describing address space
107 ENTRY(v4wb_flush_user_cache_range)
116 1: mcr p15, 0, r0, c7, c10, 1 @ clean D entry
117 mcr p15, 0, r0, c7, c6, 1 @ invalidate D entry
131 * - addr - kernel address
132 * - size - region size
134 ENTRY(v4wb_flush_kern_dcache_area)
142 * region described by start. If you have non-snooping
145 * - start - virtual start address
146 * - end - virtual end address
148 ENTRY(v4wb_coherent_kern_range)
155 * region described by start. If you have non-snooping
158 * - start - virtual start address
159 * - end - virtual end address
161 ENTRY(v4wb_coherent_user_range)
162 bic r0, r0, #CACHE_DLINESIZE - 1
163 1: mcr p15, 0, r0, c7, c10, 1 @ clean D entry
164 mcr p15, 0, r0, c7, c6, 1 @ invalidate D entry
177 * Invalidate (discard) the specified virtual address range.
182 * - start - virtual start address
183 * - end - virtual end address
186 tst r0, #CACHE_DLINESIZE - 1
187 bic r0, r0, #CACHE_DLINESIZE - 1
188 mcrne p15, 0, r0, c7, c10, 1 @ clean D entry
189 tst r1, #CACHE_DLINESIZE - 1
190 mcrne p15, 0, r1, c7, c10, 1 @ clean D entry
191 1: mcr p15, 0, r0, c7, c6, 1 @ invalidate D entry
201 * Clean (write back) the specified virtual address range.
203 * - start - virtual start address
204 * - end - virtual end address
207 bic r0, r0, #CACHE_DLINESIZE - 1
208 1: mcr p15, 0, r0, c7, c10, 1 @ clean D entry
218 * Clean and invalidate the specified virtual address range.
220 * - start - virtual start address
221 * - end - virtual end address
230 * - start - kernel virtual start address
231 * - size - size of region
232 * - dir - DMA direction
234 ENTRY(v4wb_dma_map_area)
244 * - start - kernel virtual start address
245 * - size - size of region
246 * - dir - DMA direction
248 ENTRY(v4wb_dma_unmap_area)
257 @ define struct cpu_cache_fns (see <asm/cacheflush.h> and proc-macros.S)