Searched refs:ccount (Results 1 – 4 of 4) sorted by relevance
40 return xtensa_get_sr(ccount); in get_ccount()43 static inline void set_ccount (unsigned long ccount) in set_ccount() argument45 xtensa_set_sr(ccount, ccount); in set_ccount()
9 #define xip_currtime() (xtensa_get_sr(ccount))10 #define xip_elapsed_since(x) ((xtensa_get_sr(ccount) - (x)) / 1000) /* should work up to 1GHz */
196 unsigned long ccount; in boot_secondary() local210 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()
141 wsr a0, ccount # not really necessary, but nice299 wsr a3, ccount
Completed in 9 milliseconds