Lines Matching refs:cache
197 mov r10, #0 @ start clean at cache level 0
199 add r2, r10, r10, lsr #1 @ work out 3x current cache level
200 mov r1, r0, lsr r2 @ extract cache type bits from clidr
201 and r1, r1, #7 @ mask of the bits for current cache only
202 cmp r1, #2 @ see what cache we have at this level
203 blt skip @ skip if no cache, or just i-cache
205 mcr p15, 2, r10, c0, c0, 0 @ select current cache level in cssr
209 and r2, r1, #7 @ extract the length of the cache lines
219 orr r11, r10, r4, lsl r5 @ factor way and cache number into r11
227 add r10, r10, #2 @ increment cache number
234 mov r10, #0 @ swith back to cache level 0
235 mcr p15, 2, r10, c0, c0, 0 @ select current cache level in cssr