Searched refs:bitno (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/lib/crypto/mpi/ |
H A 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() 82 unsigned int i, limbno, bitno; in mpi_set_bit() local 85 bitno = n % BITS_PER_MPI_LIMB; 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() 113 for (bitno++; bitno < BITS_PER_MPI_LIMB; bitno++) in mpi_set_highbit() 124 unsigned int limbno, bitno; in mpi_clear_highbit() local 127 bitno = n % BITS_PER_MPI_LIMB; in mpi_clear_highbit() 132 for ( ; bitno < BITS_PER_MPI_LIMB; bitno++) in mpi_clear_highbit() [all …]
|
/openbmc/linux/drivers/net/ppp/ |
H A D | bsd_comp.c | 570 unsigned int bitno; in bsd_compress() local 598 bitno -= n_bits; \ 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() 920 bitno -= 8; in bsd_decompress() 921 accm |= *ibuf++ << bitno; in bsd_decompress() 922 if (tgtbitno < bitno) in bsd_decompress() [all …]
|
/openbmc/linux/drivers/crypto/ccp/ |
H A D | ccp-dev-v5.c | 613 int bitno; in ccp_find_and_assign_lsb_to_q() local 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() 651 if (bitno >= MAX_LSB_CNT) in ccp_find_and_assign_lsb_to_q() 670 int bitno; in ccp_assign_lsbs() local 711 while (bitno < MAX_LSB_CNT) { in ccp_assign_lsbs() [all …]
|
/openbmc/linux/fs/jfs/ |
H A D | jfs_imap.c | 911 mask = HIGHORDER >> bitno; in diFree() 1195 mask = HIGHORDER >> bitno; in diFree() 1421 if ((bitno = in diAlloc() 1423 bitno)) in diAlloc() 1479 mask = (bitno == 0) ? 0 : (ONES << (EXTSPERSUM - bitno)); in diAlloc() 2052 mask = HIGHORDER >> bitno; in diAllocBit() 2696 int bitno; in diFindFree() local 2699 for (word <<= start, bitno = start; bitno < 32; in diFindFree() 2700 bitno++, word <<= 1) { in diFindFree() 2704 return (bitno); in diFindFree() [all …]
|
H A D | jfs_dmap.c | 3012 int bitno, nb; in dbFindBits() local 3028 for (bitno = 0; mask != 0; bitno += nb, mask = (mask >> nb)) { in dbFindBits() 3033 ASSERT(bitno < 32); in dbFindBits() 3037 return (bitno); in dbFindBits()
|
/openbmc/u-boot/drivers/video/ |
H A D | bus_vcxk.c | 20 #define VCBITMASK(bitno) (0x0001 << (bitno % 16)) argument 41 #define VCBITMASK(bitno) (0x8000 >> (bitno % 16)) argument
|
/openbmc/linux/arch/powerpc/platforms/52xx/ |
H A 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()
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A 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()
|
/openbmc/qemu/hw/intc/ |
H A D | arm_gic.c | 485 int bitno = preemption_level % 32; in gic_activate_irq() local 497 *papr |= (1 << bitno); in gic_activate_irq()
|