Lines Matching refs:cache
34 mov r10, #0 @ start clean at cache level 0
36 add r2, r10, r10, lsr #1 @ work out 3x current cache level
37 mov r1, r0, lsr r2 @ extract cache type bits from clidr
38 and r1, r1, #7 @ mask of the bits for current cache only
39 cmp r1, #2 @ see what cache we have at this level
40 blt skip @ skip if no cache, or just i-cache
41 mcr p15, 2, r10, c0, c0, 0 @ select current cache level in cssr
44 and r2, r1, #7 @ extract the length of the cache lines
54 ARM( orr r11, r10, r4, lsl r5 ) @ factor way and cache number into r11
56 THUMB( orr r11, r10, r6 ) @ factor way and cache number into r11
66 add r10, r10, #2 @ increment cache number
73 mov r10, #0 @ swith back to cache level 0
74 mcr p15, 2, r10, c0, c0, 0 @ select current cache level in cssr
107 mov r10, #0 @ start clean at cache level 0
109 add r2, r10, r10, lsr #1 @ work out 3x current cache level
110 mov r1, r0, lsr r2 @ extract cache type bits from clidr
111 and r1, r1, #7 @ mask of the bits for current cache only
112 cmp r1, #2 @ see what cache we have at this level
113 blt inval_skip @ skip if no cache, or just i-cache
114 mcr p15, 2, r10, c0, c0, 0 @ select current cache level in cssr
117 and r2, r1, #7 @ extract the length of the cache lines
127 ARM( orr r11, r10, r4, lsl r5 ) @ factor way and cache number into r11
129 THUMB( orr r11, r10, r6 ) @ factor way and cache number into r11
139 add r10, r10, #2 @ increment cache number
143 mov r10, #0 @ swith back to cache level 0
144 mcr p15, 2, r10, c0, c0, 0 @ select current cache level in cssr