Searched refs:bitno (Results 1 - 8 of 8) sorted by relevance

/linux-4.4.14/drivers/isdn/i4l/
H A Disdn_bsdcomp.c459 unsigned int bitno; bsd_compress() local
471 bitno -= n_bits; \ bsd_compress()
472 accm |= ((ent) << bitno); \ bsd_compress()
477 bitno += 8; \ bsd_compress()
478 } while (bitno <= 24); \ bsd_compress()
496 bitno = 32; bsd_compress()
590 if (bitno < 32) bsd_compress()
604 if (bitno < 32 && skb_out && skb_tailroom(skb_out) > 0) bsd_compress()
605 *(skb_put(skb_out, 1)) = (unsigned char)((accm | (0xff << (bitno - 8))) >> 24); bsd_compress()
647 unsigned int bitno; /* 1st valid bit in accm */ bsd_decompress() local
649 unsigned int tgtbitno; /* bitno when we have a code */ bsd_decompress()
663 bitno = 32; /* 1st valid bit in accm */ bsd_decompress()
665 tgtbitno = 32 - n_bits; /* bitno when we have a code */ bsd_decompress()
724 bitno -= 8; bsd_decompress()
725 accm |= *ibuf++ << bitno; bsd_decompress()
726 if (tgtbitno < bitno) bsd_decompress()
731 bitno += n_bits; bsd_decompress()
/linux-4.4.14/drivers/net/ppp/
H A Dbsd_comp.c570 unsigned int bitno; bsd_compress() local
598 bitno -= n_bits; \ bsd_compress()
599 accm |= ((ent) << bitno); \ bsd_compress()
604 bitno += 8; \ bsd_compress()
606 while (bitno <= 24); \ bsd_compress()
625 bitno = 32; bsd_compress()
747 if (bitno < 32) bsd_compress()
766 if (bitno != 32) bsd_compress()
768 PUTBYTE((accm | (0xff << (bitno-8))) >> 24); bsd_compress()
833 unsigned int bitno; /* 1st valid bit in accm */ bsd_decompress() local
835 unsigned int tgtbitno; /* bitno when we have a code */ bsd_decompress()
853 bitno = 32; /* 1st valid bit in accm */ bsd_decompress()
855 tgtbitno = 32 - n_bits; /* bitno when we have a code */ bsd_decompress()
920 bitno -= 8; bsd_decompress()
921 accm |= *ibuf++ << bitno; bsd_decompress()
922 if (tgtbitno < bitno) bsd_decompress()
929 bitno += n_bits; bsd_decompress()
/linux-4.4.14/arch/arm/plat-samsung/include/plat/
H A Dwakeup-mask.h22 * @bit: The bit, as a (1 << bitno) controlling this source.
/linux-4.4.14/arch/x86/kvm/
H A Dx86.h82 static inline u32 bit(int bitno) bit() argument
84 return 1 << (bitno & 31); bit()
/linux-4.4.14/fs/jfs/
H A Djfs_imap.c869 int iagno, ino, extno, bitno, sword, agno; diFree() local
928 bitno = ino & (INOSPEREXT - 1); diFree()
929 mask = HIGHORDER >> bitno; diFree()
1009 bitno = extno & (EXTSPERSUM - 1); diFree()
1011 cpu_to_le32(~(HIGHORDER >> bitno)); diFree()
1212 bitno = extno & (EXTSPERSUM - 1); diFree()
1213 mask = HIGHORDER >> bitno; diFree()
1343 int rc, ino, iagno, addext, extno, bitno, sword; diAlloc() local
1435 bitno = ino & (INOSPEREXT - 1); diAlloc()
1436 if ((bitno = diAlloc()
1438 bitno)) diAlloc()
1440 ino = (extno << L2INOSPEREXT) + bitno; diAlloc()
1487 bitno = extno & (EXTSPERSUM - 1); diAlloc()
1488 nwords = (bitno == 0) ? SMAPSZ : SMAPSZ + 1; diAlloc()
1494 mask = (bitno == 0) ? 0 : (ONES << (EXTSPERSUM - bitno)); diAlloc()
2026 int extno, bitno, agno, sword, rc; diAllocBit() local
2063 bitno = ino & (INOSPEREXT - 1); diAllocBit()
2067 mask = HIGHORDER >> bitno; diAllocBit()
2093 bitno = extno & (EXTSPERSUM - 1); diAllocBit()
2094 iagp->inosmap[sword] |= cpu_to_le32(HIGHORDER >> bitno); diAllocBit()
2708 int bitno; diFindFree() local
2711 for (word <<= start, bitno = start; bitno < 32; diFindFree()
2712 bitno++, word <<= 1) { diFindFree()
2716 return (bitno); diFindFree()
2743 int iagno, ino, extno, bitno; diUpdatePMap() local
2771 bitno = ino & (INOSPEREXT - 1); diUpdatePMap()
2772 mask = HIGHORDER >> bitno; diUpdatePMap()
H A Djfs_dmap.c3032 int bitno, nb; dbFindBits() local
3048 for (bitno = 0; mask != 0; bitno += nb, mask >>= nb) { dbFindBits()
3053 ASSERT(bitno < 32); dbFindBits()
3057 return (bitno); dbFindBits()
/linux-4.4.14/arch/powerpc/platforms/52xx/
H A Dmpc52xx_pic.c145 static inline void io_be_setbit(u32 __iomem *addr, int bitno) io_be_setbit() argument
147 out_be32(addr, in_be32(addr) | (1 << bitno)); io_be_setbit()
150 static inline void io_be_clrbit(u32 __iomem *addr, int bitno) io_be_clrbit() argument
152 out_be32(addr, in_be32(addr) & ~(1 << bitno)); io_be_clrbit()
/linux-4.4.14/arch/frv/kernel/
H A Dhead.S574 sll.p gr4,gr6,gr4 ; size of region (1 << bitno)

Completed in 303 milliseconds