Searched refs:ccount (Results 1 – 5 of 5) sorted by relevance
| /linux/arch/xtensa/include/asm/ |
| H A D | timex.h | 40 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()
|
| H A D | mtd-xip.h | 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 */
|
| /linux/arch/xtensa/kernel/ |
| H A D | smp.c | 196 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()
|
| H A D | head.S | 141 wsr a0, ccount # not really necessary, but nice 299 wsr a3, ccount
|
| /linux/drivers/leds/trigger/ |
| H A D | ledtrig-pattern.c | 275 int ccount, cr, offset = 0; in pattern_trig_store_patterns_string() local 279 ccount = sscanf(buf + offset, "%u %u %n", in pattern_trig_store_patterns_string() 283 if (ccount != 2 || in pattern_trig_store_patterns_string()
|