bits_per_block 25 drivers/mtd/nand/bbt.c unsigned int bits_per_block = fls(NAND_BBT_BLOCK_NUM_STATUS); bits_per_block 27 drivers/mtd/nand/bbt.c unsigned int nwords = DIV_ROUND_UP(nblocks * bits_per_block, bits_per_block 77 drivers/mtd/nand/bbt.c unsigned int bits_per_block = fls(NAND_BBT_BLOCK_NUM_STATUS); bits_per_block 79 drivers/mtd/nand/bbt.c ((entry * bits_per_block) / BITS_PER_LONG); bits_per_block 80 drivers/mtd/nand/bbt.c unsigned int offs = (entry * bits_per_block) % BITS_PER_LONG; bits_per_block 87 drivers/mtd/nand/bbt.c if (bits_per_block + offs > BITS_PER_LONG) bits_per_block 90 drivers/mtd/nand/bbt.c return status & GENMASK(bits_per_block - 1, 0); bits_per_block 110 drivers/mtd/nand/bbt.c unsigned int bits_per_block = fls(NAND_BBT_BLOCK_NUM_STATUS); bits_per_block 112 drivers/mtd/nand/bbt.c ((entry * bits_per_block) / BITS_PER_LONG); bits_per_block 113 drivers/mtd/nand/bbt.c unsigned int offs = (entry * bits_per_block) % BITS_PER_LONG; bits_per_block 114 drivers/mtd/nand/bbt.c unsigned long val = status & GENMASK(bits_per_block - 1, 0); bits_per_block 119 drivers/mtd/nand/bbt.c pos[0] &= ~GENMASK(offs + bits_per_block - 1, offs); bits_per_block 122 drivers/mtd/nand/bbt.c if (bits_per_block + offs > BITS_PER_LONG) { bits_per_block 123 drivers/mtd/nand/bbt.c unsigned int rbits = bits_per_block + offs - BITS_PER_LONG;