Home
last modified time | relevance | path

Searched refs:bitno (Results 1 – 7 of 7) sorted by relevance

/linux-2.6.39/drivers/isdn/i4l/
Disdn_bsdcomp.c460 unsigned int bitno; in bsd_compress() local
472 bitno -= n_bits; \ in bsd_compress()
473 accm |= ((ent) << bitno); \ in bsd_compress()
478 bitno += 8; \ in bsd_compress()
479 } while (bitno <= 24); \ in bsd_compress()
497 bitno = 32; in bsd_compress()
591 if (bitno < 32) in bsd_compress()
605 if (bitno < 32 && skb_out && skb_tailroom(skb_out) > 0) in bsd_compress()
606 *(skb_put(skb_out,1)) = (unsigned char) ((accm | (0xff << (bitno-8))) >> 24); in bsd_compress()
648 unsigned int bitno; /* 1st valid bit in accm */ in bsd_decompress() local
[all …]
/linux-2.6.39/drivers/net/
Dbsd_comp.c570 unsigned int bitno; in bsd_compress() local
598 bitno -= n_bits; \ in bsd_compress()
599 accm |= ((ent) << bitno); \ in bsd_compress()
604 bitno += 8; \ in bsd_compress()
606 while (bitno <= 24); \ in bsd_compress()
625 bitno = 32; in bsd_compress()
747 if (bitno < 32) in bsd_compress()
766 if (bitno != 32) in bsd_compress()
768 PUTBYTE((accm | (0xff << (bitno-8))) >> 24); in bsd_compress()
833 unsigned int bitno; /* 1st valid bit in accm */ in bsd_decompress() local
[all …]
/linux-2.6.39/fs/jfs/
Djfs_imap.c869 int iagno, ino, extno, bitno, sword, agno; in diFree() local
929 bitno = ino & (INOSPEREXT - 1); in diFree()
930 mask = HIGHORDER >> bitno; in diFree()
1011 bitno = extno & (EXTSPERSUM - 1); in diFree()
1013 cpu_to_le32(~(HIGHORDER >> bitno)); in diFree()
1214 bitno = extno & (EXTSPERSUM - 1); in diFree()
1215 mask = HIGHORDER >> bitno; in diFree()
1346 int rc, ino, iagno, addext, extno, bitno, sword; in diAlloc() local
1438 bitno = ino & (INOSPEREXT - 1); in diAlloc()
1439 if ((bitno = in diAlloc()
[all …]
Djfs_dmap.c2928 int bitno, nb; in dbFindBits() local
2944 for (bitno = 0; mask != 0; bitno += nb, mask >>= nb) { in dbFindBits()
2949 ASSERT(bitno < 32); in dbFindBits()
2953 return (bitno); in dbFindBits()
/linux-2.6.39/arch/x86/kvm/
Dx86.h73 static inline u32 bit(int bitno) in bit() argument
75 return 1 << (bitno & 31); in bit()
/linux-2.6.39/arch/powerpc/platforms/52xx/
Dmpc52xx_pic.c145 static inline void io_be_setbit(u32 __iomem *addr, int bitno) in io_be_setbit() argument
147 out_be32(addr, in_be32(addr) | (1 << bitno)); in io_be_setbit()
150 static inline void io_be_clrbit(u32 __iomem *addr, int bitno) in io_be_clrbit() argument
152 out_be32(addr, in_be32(addr) & ~(1 << bitno)); in io_be_clrbit()
/linux-2.6.39/arch/frv/kernel/
Dhead.S579 sll.p gr4,gr6,gr4 ; size of region (1 << bitno)