| /rk3399_rockchip-uboot/include/asm-generic/bitops/ |
| H A D | fls64.h | 22 return fls(h) + 32; in fls64() 23 return fls(x); in fls64()
|
| H A D | fls.h | 12 static __always_inline int fls(int x) in fls() function
|
| /rk3399_rockchip-uboot/drivers/mtd/nand/raw/ |
| H A D | nand_bch.c | 122 eccbytes = DIV_ROUND_UP(eccstrength * fls(8 * eccsize), 8); in nand_bch_init() 131 m = fls(1+8*eccsize); in nand_bch_init() 211 nand->ecc.strength = (eccbytes * 8) / fls(8 * eccsize); in nand_bch_init()
|
| H A D | sunxi_nand_spl.c | 47 #define NFC_CTL_PAGE_SIZE(a) ((fls(a) - 11) << 8)
|
| /rk3399_rockchip-uboot/include/linux/ |
| H A D | bitops.h | 148 # define fls generic_fls macro 154 return fls(l); in fls_long()
|
| H A D | log2.h | 29 return fls(n) - 1; in __ilog2_u32()
|
| /rk3399_rockchip-uboot/lib/ |
| H A D | div64.c | 105 int n = 1 + fls(high); in div64_u64_rem() 143 int n = 1 + fls(high); in div64_u64()
|
| /rk3399_rockchip-uboot/drivers/mtd/nand/ |
| H A D | bbt.c | 108 unsigned int bits_per_block = fls(NAND_BBT_BLOCK_NUM_STATUS); in nanddev_read_bbt() 220 unsigned int bits_per_block = fls(NAND_BBT_BLOCK_NUM_STATUS); in nanddev_write_bbt() 302 unsigned int bits_per_block = fls(NAND_BBT_BLOCK_NUM_STATUS); in nanddev_bbt_format() 395 unsigned int bits_per_block = fls(NAND_BBT_BLOCK_NUM_STATUS); in nanddev_bbt_init() 516 unsigned int bits_per_block = fls(NAND_BBT_BLOCK_NUM_STATUS); in nanddev_bbt_get_block_status() 555 unsigned int bits_per_block = fls(NAND_BBT_BLOCK_NUM_STATUS); in nanddev_bbt_set_block_status()
|
| H A D | core.c | 208 fls(memorg->pages_per_eraseblock - 1); in nanddev_init() 209 nand->rowconv.lun_addr_shift = fls(memorg->eraseblocks_per_lun - 1) + in nanddev_init()
|
| /rk3399_rockchip-uboot/arch/powerpc/include/asm/ |
| H A D | bitops.h | 170 static __inline__ int fls(unsigned int x) in fls() function 192 return fls(h) + 32; in fls64() 193 return fls(x); in fls64()
|
| H A D | mmu.h | 214 #define BATU_SIZE(x) (1ULL << (fls((x & BATU_BL_MAX) >> 2) + 17))
|
| /rk3399_rockchip-uboot/drivers/gpio/ |
| H A D | pca953x_gpio.c | 82 int bank_shift = fls((info->gpio_count - 1) / BANK_SZ); in pca953x_write_single() 99 int bank_shift = fls((info->gpio_count - 1) / BANK_SZ); in pca953x_read_single()
|
| /rk3399_rockchip-uboot/arch/arm/include/asm/arch-sunxi/ |
| H A D | dram_sun8i_a33.h | 162 #define MCTL_CR_PAGE_SIZE(x) ((fls(x) - 4) << 8)
|
| H A D | dram_sunxi_dw.h | 62 #define MCTL_CR_PAGE_SIZE(x) ((fls(x) - 4) << 8)
|
| H A D | dram_sun8i_a83t.h | 184 #define MCTL_CR_PAGE_SIZE(x) ((fls(x) - 4) << 8)
|
| H A D | dram_sun9i.h | 163 #define MCTL_CR_PAGE_SIZE(x) ((fls(x) - 4) << 8)
|
| H A D | dram_sun6i.h | 254 #define MCTL_CR_PAGE_SIZE(x) ((fls(x) - 4) << 8)
|
| /rk3399_rockchip-uboot/drivers/mtd/ |
| H A D | altera_qspi.c | 272 sr_bp = fls(num_sectors - 1 - sector_start) + 1; in altera_qspi_lock() 275 sr_bp = fls(sector_end) + 1; in altera_qspi_lock()
|
| /rk3399_rockchip-uboot/drivers/irq/ |
| H A D | irq-gpio.c | 96 pin = fls(isr) - 1; in generic_gpio_handle_irq()
|
| H A D | irq-gpio-v2.c | 101 pin = fls(isr) - 1; in generic_gpio_handle_irq()
|
| /rk3399_rockchip-uboot/fs/ubifs/ |
| H A D | lpt.c | 78 c->space_bits = fls(c->leb_size) - 3; in do_calc_lpt_geom() 79 c->lpt_lnum_bits = fls(c->lpt_lebs); in do_calc_lpt_geom() 80 c->lpt_offs_bits = fls(c->leb_size - 1); in do_calc_lpt_geom() 81 c->lpt_spc_bits = fls(c->leb_size); in do_calc_lpt_geom() 84 c->pcnt_bits = fls(n - 1); in do_calc_lpt_geom() 86 c->lnum_bits = fls(c->max_leb_cnt - 1); in do_calc_lpt_geom()
|
| /rk3399_rockchip-uboot/drivers/i2c/ |
| H A D | at91_i2c.c | 162 ckdiv = fls(div >> 8); in at91_calc_i2c_clock()
|
| /rk3399_rockchip-uboot/drivers/pci/ |
| H A D | pci_mvebu.c | 326 size = 1 << fls(size); in mvebu_pcie_setup_wins()
|
| /rk3399_rockchip-uboot/drivers/spi/ |
| H A D | mxc_spi.c | 154 post_div = fls(pre_div); in spi_cfg_mxc()
|
| /rk3399_rockchip-uboot/arch/arm/mach-rockchip/ |
| H A D | spl.c | 662 bit_count = fls(index);
|