Searched refs:fls (Results 1 - 25 of 80) sorted by relevance
1234
/u-boot/include/asm-generic/bitops/ |
H A D | builtin-fls.h | 6 * 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 D | fls64.h | 22 return fls(h) + 32; 23 return fls(x);
|
H A D | fls.h | 5 * 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 D | bitops.h | 15 #include <asm-generic/bitops/fls.h>
|
/u-boot/arch/arc/include/asm/ |
H A D | bitops.h | 18 #include <asm-generic/bitops/fls.h>
|
/u-boot/arch/arm/lib/ |
H A D | bitops.S | 28 .pushsection .text.fls 29 ENTRY(fls) 34 ENDPROC(fls)
|
/u-boot/drivers/mtd/nand/ |
H A D | bbt.c | 31 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 D | core.c | 221 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 D | bitops.h | 11 #include <asm-generic/bitops/fls.h>
|
/u-boot/arch/m68k/include/asm/ |
H A D | bitops.h | 9 #include <asm-generic/bitops/fls.h>
|
/u-boot/arch/arm/include/asm/ |
H A D | bitops.h | 22 #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 D | div64.c | 112 int n = 1 + fls(high); 150 int n = 1 + fls(high);
|
/u-boot/include/linux/ |
H A D | bitops.h | 76 * 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 D | log2.h | 22 * more efficiently than using fls() and fls64() 29 return fls(n) - 1;
|
/u-boot/arch/powerpc/include/asm/ |
H A D | bitops.h | 165 * 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 D | nand_bch.c | 125 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 D | bitops.h | 24 #include <asm-generic/bitops/fls.h>
|
/u-boot/arch/sh/include/asm/ |
H A D | bitops.h | 4 #include <asm-generic/bitops/fls.h>
|
/u-boot/arch/riscv/include/asm/ |
H A D | bitops.h | 24 #include <asm-generic/bitops/fls.h>
|
/u-boot/drivers/pci/ |
H A D | pcie_plda_common.c | 105 (fls(window_size) - 1) << XR3PCI_ATR_SRC_WIN_SIZE_SHIFT | 1,
|
/u-boot/drivers/spi/ |
H A D | kirkwood_spi.c | 148 sppr = fls(divider) - 4; 164 sppr = fls(divider) - 4;
|
H A D | spi-mxic.c | 90 #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 D | bitops.h | 17 #include <asm-generic/bitops/fls.h>
|
/u-boot/drivers/mux/ |
H A D | mmio.c | 105 field.msb = fls(mask) - 1;
|
/u-boot/drivers/pwm/ |
H A D | pwm-at91.c | 54 shift = fls(cycles) - PERIOD_BITS;
|
Completed in 150 milliseconds
1234