Home
last modified time | relevance | path

Searched refs:ccount (Results 1 – 4 of 4) sorted by relevance

/arch/xtensa/include/asm/
A Dtimex.h40 return xtensa_get_sr(ccount); in get_ccount()
43 static inline void set_ccount (unsigned long ccount) in set_ccount() argument
45 xtensa_set_sr(ccount, ccount); in set_ccount()
A Dmtd-xip.h9 #define xip_currtime() (xtensa_get_sr(ccount))
10 #define xip_elapsed_since(x) ((xtensa_get_sr(ccount) - (x)) / 1000) /* should work up to 1GHz */
/arch/xtensa/kernel/
A Dsmp.c196 unsigned long ccount; in boot_secondary() local
210 ccount = get_ccount(); in boot_secondary()
211 while (!ccount); in boot_secondary()
213 WRITE_ONCE(cpu_start_ccount, ccount); in boot_secondary()
221 ccount = READ_ONCE(cpu_start_ccount); in boot_secondary()
222 } while (ccount && time_before(jiffies, timeout)); in boot_secondary()
224 if (ccount) { in boot_secondary()
A Dhead.S141 wsr a0, ccount # not really necessary, but nice
299 wsr a3, ccount

Completed in 9 milliseconds