Lines Matching refs:ccount
102 unsigned ccount; /* 12-bit coherency count (seqno) */
122 #define MPPE_CCOUNT_SPACE 0x1000 /* The size of the ccount space */
293 state->ccount = MPPE_CCOUNT_SPACE - 1;
369 state->ccount = (state->ccount + 1) % MPPE_CCOUNT_SPACE;
371 printk(KERN_DEBUG "mppe_compress[%d]: ccount %d\n", state->unit,
372 state->ccount);
373 put_unaligned_be16(state->ccount, obuf);
376 ((state->ccount & 0xff) == 0xff) || /* "flag" packet */
438 unsigned ccount;
463 ccount = MPPE_CCOUNT(ibuf);
465 printk(KERN_DEBUG "mppe_decompress[%d]: ccount %d\n",
466 state->unit, ccount);
482 if (state->stateful && ((ccount & 0xff) == 0xff) && !flushed) {
495 if ((ccount - state->ccount) % MPPE_CCOUNT_SPACE
502 while (state->ccount != ccount) {
504 state->ccount = (state->ccount + 1) % MPPE_CCOUNT_SPACE;
510 state->ccount = (state->ccount + 1) % MPPE_CCOUNT_SPACE;
511 if (ccount != state->ccount) {
513 * (ccount > state->ccount)
527 while ((ccount & ~0xff) !=
528 (state->ccount & ~0xff)) {
530 state->ccount =
531 (state->ccount +
537 state->ccount = ccount;