Home
last modified time | relevance | path

Searched refs:accm (Results 1 – 4 of 4) sorted by relevance

/drivers/net/ppp/
Dbsd_comp.c571 unsigned long accm; in bsd_compress() local
599 accm |= ((ent) << bitno); \ in bsd_compress()
602 PUTBYTE(accm >> 24); \ in bsd_compress()
603 accm <<= 8; \ in bsd_compress()
626 accm = 0; in bsd_compress()
768 PUTBYTE((accm | (0xff << (bitno-8))) >> 24); in bsd_compress()
832 unsigned long accm; in bsd_decompress() local
852 accm = 0; in bsd_decompress()
921 accm |= *ibuf++ << bitno; in bsd_decompress()
927 incode = accm >> tgtbitno; in bsd_decompress()
[all …]
Dppp_synctty.c399 u32 accm[8]; in ppp_sync_ioctl() local
449 if (copy_from_user(accm, argp, sizeof(accm))) in ppp_sync_ioctl()
451 accm[2] &= ~0x40000000U; /* can't escape 0x5e */ in ppp_sync_ioctl()
452 accm[3] |= 0x60000000U; /* must escape 0x7d, 0x7e */ in ppp_sync_ioctl()
453 memcpy(ap->xaccm, accm, sizeof(ap->xaccm)); in ppp_sync_ioctl()
Dppp_async.c408 u32 accm[8]; in ppp_async_ioctl() local
456 if (copy_from_user(accm, argp, sizeof(accm))) in ppp_async_ioctl()
458 accm[2] &= ~0x40000000U; /* can't escape 0x5e */ in ppp_async_ioctl()
459 accm[3] |= 0x60000000U; /* must escape 0x7d, 0x7e */ in ppp_async_ioctl()
460 memcpy(ap->xaccm, accm, sizeof(ap->xaccm)); in ppp_async_ioctl()
/drivers/tty/ipwireless/
Dnetwork.c161 u32 accm[8]; in ipwireless_ppp_ioctl() local
213 if (copy_from_user(accm, (void __user *) arg, sizeof(accm))) in ipwireless_ppp_ioctl()
215 accm[2] &= ~0x40000000U; /* can't escape 0x5e */ in ipwireless_ppp_ioctl()
216 accm[3] |= 0x60000000U; /* must escape 0x7d, 0x7e */ in ipwireless_ppp_ioctl()
217 memcpy(network->xaccm, accm, sizeof(network->xaccm)); in ipwireless_ppp_ioctl()