Lines Matching full:value
69 rt_uint32_t value; in cache_enable() local
73 mrc p15, 0, value, c1, c0, 0 in cache_enable()
74 orr value, value, bit in cache_enable()
75 mcr p15, 0, value, c1, c0, 0 in cache_enable()
81 rt_uint32_t value; in cache_disable() local
85 mrc p15, 0, value, c1, c0, 0 in cache_disable()
86 bic value, value, bit in cache_disable()
87 mcr p15, 0, value, c1, c0, 0 in cache_disable()
181 * in value and return the index of that bit.
183 * Bits are numbered starting at 1 (the least significant bit). A return value of
186 * @return return the index of the first bit set. If value is 0, then this function
190 int __rt_ffs(int value) in __rt_ffs() argument
194 if (value == 0) in __rt_ffs()
195 return value; in __rt_ffs()
199 rsb x, value, #0 in __rt_ffs()
200 and x, x, value in __rt_ffs()
208 int __rt_ffs(int value) in __rt_ffs() argument
210 if (value == 0) in __rt_ffs()
211 return value; in __rt_ffs()
219 int __rt_ffs(int value) in __rt_ffs() argument
221 if (value == 0) in __rt_ffs()
222 return value; in __rt_ffs()
224 value &= (-value); in __rt_ffs()
225 asm ("clz %0, %1": "=r"(value) :"r"(value)); in __rt_ffs()
227 return (32 - value); in __rt_ffs()