Lines Matching full:value
67 rt_uint32_t value; in cache_enable() local
71 mrc p15, 0, value, c1, c0, 0 in cache_enable()
72 orr value, value, bit in cache_enable()
73 mcr p15, 0, value, c1, c0, 0 in cache_enable()
79 rt_uint32_t value; in cache_disable() local
83 mrc p15, 0, value, c1, c0, 0 in cache_disable()
84 bic value, value, bit in cache_disable()
85 mcr p15, 0, value, c1, c0, 0 in cache_disable()
179 * in value and return the index of that bit.
181 * Bits are numbered starting at 1 (the least significant bit). A return value of
184 * @return return the index of the first bit set. If value is 0, then this function
188 int __rt_ffs(int value) in __rt_ffs() argument
192 if (value == 0) in __rt_ffs()
193 return value; in __rt_ffs()
197 rsb x, value, #0 in __rt_ffs()
198 and x, x, value in __rt_ffs()
206 int __rt_ffs(int value) in __rt_ffs() argument
208 if (value == 0) in __rt_ffs()
209 return value; in __rt_ffs()
217 int __rt_ffs(int value) in __rt_ffs() argument
219 if (value == 0) in __rt_ffs()
220 return value; in __rt_ffs()
222 value &= (-value); in __rt_ffs()
223 asm ("clz %0, %1": "=r"(value) :"r"(value)); in __rt_ffs()
225 return (32 - value); in __rt_ffs()