Home
last modified time | relevance | path

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

/linux-5.19.10/lib/mpi/
Dmpi-bit.c64 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-5.19.10/drivers/net/ppp/
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-5.19.10/drivers/crypto/ccp/
Dccp-dev-v5.c613 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-5.19.10/fs/jfs/
Djfs_imap.c847 int iagno, ino, extno, bitno, sword, agno; in diFree() local
906 bitno = ino & (INOSPEREXT - 1); in diFree()
907 mask = HIGHORDER >> bitno; in diFree()
987 bitno = extno & (EXTSPERSUM - 1); in diFree()
989 cpu_to_le32(~(HIGHORDER >> bitno)); in diFree()
1190 bitno = extno & (EXTSPERSUM - 1); in diFree()
1191 mask = HIGHORDER >> bitno; in diFree()
1321 int rc, ino, iagno, addext, extno, bitno, sword; in diAlloc() local
1413 bitno = ino & (INOSPEREXT - 1); in diAlloc()
1414 if ((bitno = in diAlloc()
[all …]
Djfs_dmap.c2963 int bitno, nb; in dbFindBits() local
2979 for (bitno = 0; mask != 0; bitno += nb, mask >>= nb) { in dbFindBits()
2984 ASSERT(bitno < 32); in dbFindBits()
2988 return (bitno); in dbFindBits()
/linux-5.19.10/arch/powerpc/platforms/52xx/
Dmpc52xx_pic.c146 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-5.19.10/drivers/net/ethernet/intel/ice/
Dice_ethtool.c153 u32 bitno; /* bit position in pf->flags */ member
158 .bitno = _bitno, \
1146 if (test_bit(priv_flag->bitno, pf->flags)) in ice_get_priv_flags()
1182 set_bit(priv_flag->bitno, pf->flags); in ice_set_priv_flags()
1184 clear_bit(priv_flag->bitno, pf->flags); in ice_set_priv_flags()