Searched refs:fls (Results 1 - 25 of 80) sorted by relevance

1234

/u-boot/include/asm-generic/bitops/
H A Dbuiltin-fls.h6 * fls - find last (most-significant) bit set
10 * Note fls(0) = 0, fls(1) = 1, fls(0x80000000) = 32.
12 static __always_inline int fls(unsigned int x) function
H A Dfls64.h22 return fls(h) + 32;
23 return fls(x);
H A Dfls.h5 * fls - find last (most-significant) bit set
9 * Note fls(0) = 0, fls(1) = 1, fls(0x80000000) = 32.
12 static __always_inline int fls(int x) function
/u-boot/arch/nios2/include/asm/
H A Dbitops.h15 #include <asm-generic/bitops/fls.h>
/u-boot/arch/arc/include/asm/
H A Dbitops.h18 #include <asm-generic/bitops/fls.h>
/u-boot/arch/arm/lib/
H A Dbitops.S28 .pushsection .text.fls
29 ENTRY(fls)
34 ENDPROC(fls)
/u-boot/drivers/mtd/nand/
H A Dbbt.c31 unsigned int bits_per_block = fls(NAND_BBT_BLOCK_NUM_STATUS);
82 unsigned int bits_per_block = fls(NAND_BBT_BLOCK_NUM_STATUS);
115 unsigned int bits_per_block = fls(NAND_BBT_BLOCK_NUM_STATUS);
H A Dcore.c221 fls(memorg->pages_per_eraseblock - 1);
222 nand->rowconv.lun_addr_shift = fls(memorg->eraseblocks_per_lun - 1) +
/u-boot/arch/xtensa/include/asm/
H A Dbitops.h11 #include <asm-generic/bitops/fls.h>
/u-boot/arch/m68k/include/asm/
H A Dbitops.h9 #include <asm-generic/bitops/fls.h>
/u-boot/arch/arm/include/asm/
H A Dbitops.h22 #include <asm-generic/bitops/fls.h>
33 int fls(unsigned int x);
40 #include <asm-generic/bitops/builtin-fls.h>
141 return fls(x) - 1;
/u-boot/lib/
H A Ddiv64.c112 int n = 1 + fls(high);
150 int n = 1 + fls(high);
/u-boot/include/linux/
H A Dbitops.h76 * fls - find last (most-significant) bit set
80 * Note fls(0) = 0, fls(1) = 1, fls(0x80000000) = 32.
169 # define fls generic_fls macro
175 return fls(l);
H A Dlog2.h22 * more efficiently than using fls() and fls64()
29 return fls(n) - 1;
/u-boot/arch/powerpc/include/asm/
H A Dbitops.h165 * fls: find last (most-significant) bit set.
166 * Note fls(0) = 0, fls(1) = 1, fls(0x80000000) = 32.
170 static __inline__ int fls(unsigned int x) function
192 return fls(h) + 32;
193 return fls(x);
/u-boot/drivers/mtd/nand/raw/
H A Dnand_bch.c125 eccbytes = DIV_ROUND_UP(eccstrength * fls(8 * eccsize), 8);
134 m = fls(1+8*eccsize);
214 nand->ecc.strength = (eccbytes * 8) / fls(8 * eccsize);
/u-boot/arch/sandbox/include/asm/
H A Dbitops.h24 #include <asm-generic/bitops/fls.h>
/u-boot/arch/sh/include/asm/
H A Dbitops.h4 #include <asm-generic/bitops/fls.h>
/u-boot/arch/riscv/include/asm/
H A Dbitops.h24 #include <asm-generic/bitops/fls.h>
/u-boot/drivers/pci/
H A Dpcie_plda_common.c105 (fls(window_size) - 1) << XR3PCI_ATR_SRC_WIN_SIZE_SHIFT | 1,
/u-boot/drivers/spi/
H A Dkirkwood_spi.c148 sppr = fls(divider) - 4;
164 sppr = fls(divider) - 4;
H A Dspi-mxic.c90 #define OCTA_CRC_CHUNK(s, x) ((fls((x) / 32)) << (1 + ((s) * 16)))
129 #define DMAM_CFG_SDMA_GAP(x) (fls((x) / 8192) << 2)
376 ss_ctrl = OP_CMD_BYTES(1) | OP_CMD_BUSW(fls(op->cmd.buswidth) - 1);
380 OP_ADDR_BUSW(fls(op->addr.buswidth) - 1);
395 ss_ctrl |= OP_DATA_BUSW(fls(op->data.buswidth) - 1);
/u-boot/arch/x86/include/asm/
H A Dbitops.h17 #include <asm-generic/bitops/fls.h>
/u-boot/drivers/mux/
H A Dmmio.c105 field.msb = fls(mask) - 1;
/u-boot/drivers/pwm/
H A Dpwm-at91.c54 shift = fls(cycles) - PERIOD_BITS;

Completed in 150 milliseconds

1234