Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/isdn/
Disdn_bsdcomp.c473 unsigned long accm; in bsd_compress() local
485 accm |= ((ent) << bitno); \ in bsd_compress()
488 *(skb_put(skb_out,1)) = (unsigned char) (accm>>24); \ in bsd_compress()
489 accm <<= 8; \ in bsd_compress()
510 accm = 0; in bsd_compress()
618 *(skb_put(skb_out,1)) = (unsigned char) ((accm | (0xff << (bitno-8))) >> 24); in bsd_compress()
659 unsigned long accm; in bsd_decompress() local
675 accm = 0; in bsd_decompress()
738 accm |= *ibuf++ << bitno; in bsd_decompress()
742 incode = accm >> tgtbitno; in bsd_decompress()
[all …]
/linux-2.4.37.9/drivers/net/
Dbsd_comp.c579 unsigned long accm; in bsd_compress() local
607 accm |= ((ent) << bitno); \ in bsd_compress()
610 PUTBYTE(accm >> 24); \ in bsd_compress()
611 accm <<= 8; \ in bsd_compress()
634 accm = 0; in bsd_compress()
776 PUTBYTE((accm | (0xff << (bitno-8))) >> 24); in bsd_compress()
840 unsigned long accm; in bsd_decompress() local
860 accm = 0; in bsd_decompress()
929 accm |= *ibuf++ << bitno; in bsd_decompress()
935 incode = accm >> tgtbitno; in bsd_decompress()
[all …]
Dppp_synctty.c455 u32 accm[8]; in ppp_sync_ioctl() local
503 if (copy_from_user(accm, (void *) arg, sizeof(accm))) in ppp_sync_ioctl()
505 accm[2] &= ~0x40000000U; /* can't escape 0x5e */ in ppp_sync_ioctl()
506 accm[3] |= 0x60000000U; /* must escape 0x7d, 0x7e */ in ppp_sync_ioctl()
507 memcpy(ap->xaccm, accm, sizeof(ap->xaccm)); in ppp_sync_ioctl()
Dppp_async.c409 u32 accm[8]; in ppp_async_ioctl() local
457 if (copy_from_user(accm, (void *) arg, sizeof(accm))) in ppp_async_ioctl()
459 accm[2] &= ~0x40000000U; /* can't escape 0x5e */ in ppp_async_ioctl()
460 accm[3] |= 0x60000000U; /* must escape 0x7d, 0x7e */ in ppp_async_ioctl()
461 memcpy(ap->xaccm, accm, sizeof(ap->xaccm)); in ppp_async_ioctl()
/linux-2.4.37.9/net/irda/irnet/
Dirnet_ppp.c948 u32 accm[8]; in ppp_irnet_ioctl() local
1001 if(copy_from_user(accm, (void *) arg, sizeof(accm))) in ppp_irnet_ioctl()
1003 accm[2] &= ~0x40000000U; /* can't escape 0x5e */ in ppp_irnet_ioctl()
1004 accm[3] |= 0x60000000U; /* must escape 0x7d, 0x7e */ in ppp_irnet_ioctl()
1005 memcpy(ap->xaccm, accm, sizeof(ap->xaccm)); in ppp_irnet_ioctl()