Searched refs:bitno (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/lib/crypto/mpi/ |
D | mpi-bit.c | 64 unsigned int limbno, bitno; in mpi_test_bit() local 68 bitno = n % BITS_PER_MPI_LIMB; in mpi_test_bit() 73 return (limb & (A_LIMB_1 << bitno)) ? 1 : 0; in mpi_test_bit() 82 unsigned int i, limbno, bitno; in mpi_set_bit() local 85 bitno = n % BITS_PER_MPI_LIMB; in mpi_set_bit() 93 a->d[limbno] |= (A_LIMB_1<<bitno); in mpi_set_bit() 101 unsigned int i, limbno, bitno; in mpi_set_highbit() local 104 bitno = n % BITS_PER_MPI_LIMB; in mpi_set_highbit() 112 a->d[limbno] |= (A_LIMB_1<<bitno); in mpi_set_highbit() 113 for (bitno++; bitno < BITS_PER_MPI_LIMB; bitno++) in mpi_set_highbit() [all …]
|
/linux-6.6.21/drivers/net/ppp/ |
D | bsd_comp.c | 570 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-6.6.21/drivers/crypto/ccp/ |
D | ccp-dev-v5.c | 613 int bitno; in ccp_find_and_assign_lsb_to_q() local 635 bitno = find_first_bit(qlsb, MAX_LSB_CNT); in ccp_find_and_assign_lsb_to_q() 636 while (bitno < MAX_LSB_CNT) { in ccp_find_and_assign_lsb_to_q() 637 if (test_bit(bitno, lsb_pub)) { in ccp_find_and_assign_lsb_to_q() 641 cmd_q->lsb = bitno; in ccp_find_and_assign_lsb_to_q() 642 bitmap_clear(lsb_pub, bitno, 1); in ccp_find_and_assign_lsb_to_q() 645 i, bitno); in ccp_find_and_assign_lsb_to_q() 648 bitmap_clear(qlsb, bitno, 1); in ccp_find_and_assign_lsb_to_q() 649 bitno = find_first_bit(qlsb, MAX_LSB_CNT); in ccp_find_and_assign_lsb_to_q() 651 if (bitno >= MAX_LSB_CNT) in ccp_find_and_assign_lsb_to_q() [all …]
|
/linux-6.6.21/fs/jfs/ |
D | jfs_imap.c | 848 int iagno, ino, extno, bitno, sword, agno; in diFree() local 907 bitno = ino & (INOSPEREXT - 1); in diFree() 908 mask = HIGHORDER >> bitno; in diFree() 988 bitno = extno & (EXTSPERSUM - 1); in diFree() 990 cpu_to_le32(~(HIGHORDER >> bitno)); in diFree() 1191 bitno = extno & (EXTSPERSUM - 1); in diFree() 1192 mask = HIGHORDER >> bitno; in diFree() 1322 int rc, ino, iagno, addext, extno, bitno, sword; in diAlloc() local 1417 bitno = ino & (INOSPEREXT - 1); in diAlloc() 1418 if ((bitno = in diAlloc() [all …]
|
D | jfs_dmap.c | 3007 int bitno, nb; in dbFindBits() local 3023 for (bitno = 0; mask != 0; bitno += nb, mask >>= nb) { in dbFindBits() 3028 ASSERT(bitno < 32); in dbFindBits() 3032 return (bitno); in dbFindBits()
|
/linux-6.6.21/arch/powerpc/platforms/52xx/ |
D | mpc52xx_pic.c | 146 static inline void io_be_setbit(u32 __iomem *addr, int bitno) in io_be_setbit() argument 148 out_be32(addr, in_be32(addr) | (1 << bitno)); in io_be_setbit() 151 static inline void io_be_clrbit(u32 __iomem *addr, int bitno) in io_be_clrbit() argument 153 out_be32(addr, in_be32(addr) & ~(1 << bitno)); in io_be_clrbit()
|
/linux-6.6.21/drivers/net/ethernet/intel/ice/ |
D | ice_ethtool.c | 328 u32 bitno; /* bit position in pf->flags */ member 333 .bitno = _bitno, \ 1321 if (test_bit(priv_flag->bitno, pf->flags)) in ice_get_priv_flags() 1357 set_bit(priv_flag->bitno, pf->flags); in ice_set_priv_flags() 1359 clear_bit(priv_flag->bitno, pf->flags); in ice_set_priv_flags()
|