Lines Matching refs:cache
176 mov r10, #0 @ start clean at cache level 0
178 add r2, r10, r10, lsr #1 @ work out 3x current cache level
179 mov r1, r0, lsr r2 @ extract cache type bits from clidr
180 and r1, r1, #7 @ mask of the bits for current cache only
181 cmp r1, #2 @ see what cache we have at this level
182 blt skip @ skip if no cache, or just i-cache
184 mcr p15, 2, r10, c0, c0, 0 @ select current cache level in cssr
188 and r2, r1, #7 @ extract the length of the cache lines
198 orr r11, r10, r4, lsl r5 @ factor way and cache number into r11
206 add r10, r10, #2 @ increment cache number
210 mov r10, #0 @ swith back to cache level 0
211 mcr p15, 2, r10, c0, c0, 0 @ select current cache level in cssr