Searched refs:ccount (Results 1 - 5 of 5) sorted by relevance
/linux-4.4.14/arch/xtensa/include/asm/ |
H A D | timex.h | 46 #define WSR_CCOUNT(r) asm volatile ("wsr %0, ccount" :: "a" (r)) 47 #define RSR_CCOUNT(r) asm volatile ("rsr %0, ccount" : "=a" (r)) 53 unsigned long ccount; get_ccount() local 54 RSR_CCOUNT(ccount); get_ccount() 55 return ccount; get_ccount() 58 static inline void set_ccount (unsigned long ccount) set_ccount() argument 60 WSR_CCOUNT(ccount); set_ccount()
|
/linux-4.4.14/drivers/net/ppp/ |
H A D | ppp_mppe.c | 107 unsigned ccount; /* 12-bit coherency count (seqno) */ member in struct:ppp_mppe_state 127 #define MPPE_CCOUNT_SPACE 0x1000 /* The size of the ccount space */ 323 state->ccount = MPPE_CCOUNT_SPACE - 1; mppe_init() 401 state->ccount = (state->ccount + 1) % MPPE_CCOUNT_SPACE; mppe_compress() 403 printk(KERN_DEBUG "mppe_compress[%d]: ccount %d\n", state->unit, mppe_compress() 404 state->ccount); mppe_compress() 405 put_unaligned_be16(state->ccount, obuf); mppe_compress() 408 ((state->ccount & 0xff) == 0xff) || /* "flag" packet */ mppe_compress() 479 unsigned ccount; mppe_decompress() local 505 ccount = MPPE_CCOUNT(ibuf); mppe_decompress() 507 printk(KERN_DEBUG "mppe_decompress[%d]: ccount %d\n", mppe_decompress() 508 state->unit, ccount); mppe_decompress() 524 if (state->stateful && ((ccount & 0xff) == 0xff) && !flushed) { mppe_decompress() 537 if ((ccount - state->ccount) % MPPE_CCOUNT_SPACE mppe_decompress() 544 while (state->ccount != ccount) { mppe_decompress() 546 state->ccount = (state->ccount + 1) % MPPE_CCOUNT_SPACE; mppe_decompress() 552 state->ccount = (state->ccount + 1) % MPPE_CCOUNT_SPACE; mppe_decompress() 553 if (ccount != state->ccount) { mppe_decompress() 555 * (ccount > state->ccount) mppe_decompress() 569 while ((ccount & ~0xff) != mppe_decompress() 570 (state->ccount & ~0xff)) { mppe_decompress() 572 state->ccount = mppe_decompress() 573 (state->ccount + mppe_decompress() 579 state->ccount = ccount; mppe_decompress()
|
/linux-4.4.14/arch/xtensa/kernel/ |
H A D | time.c | 32 unsigned long ccount_freq; /* ccount Hz */ 46 .name = "ccount",
|
H A D | smp.c | 191 unsigned long ccount; boot_secondary() local 203 ccount = get_ccount(); boot_secondary() 204 while (!ccount); boot_secondary() 206 cpu_start_ccount = ccount; boot_secondary()
|
H A D | head.S | 139 wsr a0, ccount # not really necessary, but nice 294 wsr a3, ccount
|
Completed in 1983 milliseconds