Home
last modified time | relevance | path

Searched refs:ccount (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/drivers/net/
Dppp_mppe.c108 unsigned ccount; /* 12-bit coherency count (seqno) */ member
324 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() local
507 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 …]
/linux-2.6.39/arch/xtensa/include/asm/
Dtimex.h73 unsigned long ccount; in get_ccount() local
74 RSR_CCOUNT(ccount); in get_ccount()
75 return ccount; in get_ccount()
78 static inline void set_ccount (unsigned long ccount) in set_ccount() argument
80 WSR_CCOUNT(ccount); in set_ccount()
Ddelay.h29 u32 ccount; in xtensa_get_ccount() local
30 asm volatile ("rsr %0, 234; # CCOUNT\n" : "=r" (ccount)); in xtensa_get_ccount()
31 return ccount; in xtensa_get_ccount()