Lines Matching +full:write +full:- +full:back

1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * linux/arch/arm/mm/cache-fa.S
6 * Copyright (C) 2008-2009 Paulius Zaleckas <paulius.zaleckas@teltonika.lt>
8 * Based on cache-v4wb.S:
9 * Copyright (C) 1997-2002 Russell king
18 #include "proc-macros.S"
69 mcrne p15, 0, ip, c7, c10, 4 @ drain write buffer
79 * - start - start address (inclusive, page aligned)
80 * - end - end address (exclusive, page aligned)
81 * - flags - vma_area_struct flags describing address space
97 mcrne p15, 0, ip, c7, c10, 4 @ data write barrier
105 * region described by start. If you have non-snooping
108 * - start - virtual start address
109 * - end - virtual end address
118 * region described by start. If you have non-snooping
121 * - start - virtual start address
122 * - end - virtual end address
125 bic r0, r0, #CACHE_DLINESIZE - 1
133 mcr p15, 0, r0, c7, c10, 4 @ drain write buffer
140 * Ensure that the data held in the page kaddr is written back
143 * - addr - kernel address
144 * - size - size of region
154 mcr p15, 0, r0, c7, c10, 4 @ drain write buffer
161 * May not write back any entries. If 'start' or 'end'
163 * back.
165 * - start - virtual start address
166 * - end - virtual end address
169 tst r0, #CACHE_DLINESIZE - 1
170 bic r0, r0, #CACHE_DLINESIZE - 1
172 tst r1, #CACHE_DLINESIZE - 1
173 bic r1, r1, #CACHE_DLINESIZE - 1
180 mcr p15, 0, r0, c7, c10, 4 @ drain write buffer
186 * Clean (write back) the specified virtual address range.
188 * - start - virtual start address
189 * - end - virtual end address
192 bic r0, r0, #CACHE_DLINESIZE - 1
198 mcr p15, 0, r0, c7, c10, 4 @ drain write buffer
203 * - start - virtual start address of region
204 * - end - virtual end address of region
207 bic r0, r0, #CACHE_DLINESIZE - 1
213 mcr p15, 0, r0, c7, c10, 4 @ drain write buffer
218 * - start - kernel virtual start address
219 * - size - size of region
220 * - dir - DMA direction
232 * - start - kernel virtual start address
233 * - size - size of region
234 * - dir - DMA direction
245 @ define struct cpu_cache_fns (see <asm/cacheflush.h> and proc-macros.S)