Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/ppp/
Dppp_mppe.c102 unsigned ccount; /* 12-bit coherency count (seqno) */ member
293 state->ccount = MPPE_CCOUNT_SPACE - 1; in mppe_init()
369 state->ccount = (state->ccount + 1) % MPPE_CCOUNT_SPACE; in mppe_compress()
372 state->ccount); in mppe_compress()
373 put_unaligned_be16(state->ccount, obuf); in mppe_compress()
376 ((state->ccount & 0xff) == 0xff) || /* "flag" packet */ in mppe_compress()
438 unsigned ccount; in mppe_decompress() local
463 ccount = MPPE_CCOUNT(ibuf); in mppe_decompress()
466 state->unit, ccount); in mppe_decompress()
482 if (state->stateful && ((ccount & 0xff) == 0xff) && !flushed) { in mppe_decompress()
[all …]
/Linux-v6.1/arch/xtensa/include/asm/
Dtimex.h40 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()
/Linux-v6.1/arch/xtensa/kernel/
Dsmp.c195 unsigned long ccount; in boot_secondary() local
209 ccount = get_ccount(); in boot_secondary()
210 while (!ccount); in boot_secondary()
212 WRITE_ONCE(cpu_start_ccount, ccount); in boot_secondary()
220 ccount = READ_ONCE(cpu_start_ccount); in boot_secondary()
221 } while (ccount && time_before(jiffies, timeout)); in boot_secondary()
223 if (ccount) { in boot_secondary()
Dhead.S141 wsr a0, ccount # not really necessary, but nice
299 wsr a3, ccount
/Linux-v6.1/drivers/leds/trigger/
Dledtrig-pattern.c226 int ccount, cr, offset = 0; in pattern_trig_store_patterns_string() local
230 ccount = sscanf(buf + offset, "%u %u %n", in pattern_trig_store_patterns_string()
234 if (ccount != 2 || in pattern_trig_store_patterns_string()