Searched refs:ccount (Results 1 – 3 of 3) sorted by relevance
108 unsigned ccount; /* 12-bit coherency count (seqno) */ member324 state->ccount = MPPE_CCOUNT_SPACE - 1; in mppe_init()402 state->ccount = (state->ccount + 1) % MPPE_CCOUNT_SPACE; in mppe_compress()405 state->ccount); in mppe_compress()406 put_unaligned_be16(state->ccount, obuf); in mppe_compress()409 ((state->ccount & 0xff) == 0xff) || /* "flag" packet */ in mppe_compress()480 unsigned ccount; in mppe_decompress() local507 ccount = MPPE_CCOUNT(ibuf); in mppe_decompress()510 state->unit, ccount); in mppe_decompress()526 if (state->stateful && ((ccount & 0xff) == 0xff) && !flushed) { in mppe_decompress()[all …]
73 unsigned long ccount; in get_ccount() local74 RSR_CCOUNT(ccount); in get_ccount()75 return ccount; in get_ccount()78 static inline void set_ccount (unsigned long ccount) in set_ccount() argument80 WSR_CCOUNT(ccount); in set_ccount()
29 u32 ccount; in xtensa_get_ccount() local30 asm volatile ("rsr %0, 234; # CCOUNT\n" : "=r" (ccount)); in xtensa_get_ccount()31 return ccount; in xtensa_get_ccount()