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.c390 u32 accm[8]; in ppp_sync_ioctl() local
440 if (copy_from_user(accm, argp, sizeof(accm))) in ppp_sync_ioctl()
442 accm[2] &= ~0x40000000U; /* can't escape 0x5e */ in ppp_sync_ioctl()
443 accm[3] |= 0x60000000U; /* must escape 0x7d, 0x7e */ in ppp_sync_ioctl()
444 memcpy(ap->xaccm, accm, sizeof(ap->xaccm)); in ppp_sync_ioctl()
Dppp_async.c399 u32 accm[8]; in ppp_async_ioctl() local
447 if (copy_from_user(accm, argp, sizeof(accm))) in ppp_async_ioctl()
449 accm[2] &= ~0x40000000U; /* can't escape 0x5e */ in ppp_async_ioctl()
450 accm[3] |= 0x60000000U; /* must escape 0x7d, 0x7e */ in ppp_async_ioctl()
451 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()