Searched refs:fls (Results 51 - 75 of 80) sorted by relevance

1234

/u-boot/drivers/spi/
H A Dmxc_spi.c237 /* fls(1) = 1, fls(0x80000000) = 32, fls(16) = 5 */
238 post_div = fls(pre_div);
H A Dfsl_qspi.c158 #define LUT_PAD(x) (fls(x) - 1)
H A Dnxp_fspi.c290 #define LUT_PAD(x) (fls(x) - 1)
/u-boot/drivers/pinctrl/
H A Dpinctrl-single.c564 priv->bits_per_pin = fls(pdata->mask);
/u-boot/drivers/ram/k3-ddrss/
H A Dk3-ddrss.c575 ddrss->ecc_reserved_space = 1ull << (fls(ddrss->ecc_reserved_space));
/u-boot/drivers/mmc/
H A Dtegra_mmc.c563 tegra_mmc_set_power(priv, fls(mmc->cfg->voltages) - 1);
H A Dsh_mmcif.c121 sh_mmcif_bitset((fls(DIV_ROUND_UP(host->clk,
H A Dfsl_esdhc.c306 * => timeout + 13 = fls(mmc->clock/4)
313 * => timeout + 13 = fls(mmc->clock/2)
315 timeout = fls(mmc->clock/2);
H A Dsdhci.c748 sdhci_set_power(host, fls(mmc->cfg->voltages) - 1);
H A Dfsl_esdhc_imx.c357 * => timeout + 13 = fls(mmc->clock/4)
364 * => timeout + 13 = fls(mmc->clock/2)
366 timeout = fls(mmc->clock/2);
/u-boot/lib/
H A Dbch.c130 static int fls(int x) function
327 return fls(poly)-1;
/u-boot/drivers/mtd/nand/raw/
H A Drockchip_nfc.c846 fls(8 * 1024);
863 ecc->bytes = DIV_ROUND_UP(ecc->strength * fls(8 * chip->ecc.size), 8);
H A Dnand_base.c1047 for (mode = fls(modes) - 1; mode >= 0; mode--) {
3921 mtd->erasesize = 1 << (fls(le32_to_cpu(p->pages_per_block)) - 1);
3927 chip->chipsize = 1 << (fls(le32_to_cpu(p->blocks_per_lun)) - 1);
4019 mtd->erasesize = 1 << (fls(le32_to_cpu(p->pages_per_block)) - 1);
4025 chip->chipsize = 1 << (fls(le32_to_cpu(p->blocks_per_lun)) - 1);
H A Dsunxi_nand.c1369 mode = fls(mode) - 1;
1437 ecc->bytes = DIV_ROUND_UP(ecc->strength * fls(8 * 1024), 8);
H A Dmeson_nand.c199 ecc_bytes = DIV_ROUND_UP(strength * fls(step_size * 8), 8);
H A Ddenali.c1104 return DIV_ROUND_UP(strength * fls(step_size * 8), 16) * 2;
H A Datmel_nand.c762 return fls(poly) - 1;
/u-boot/drivers/mtd/nand/spi/
H A Dcore.c51 shift = fls(nand->memorg.pagesize);
/u-boot/drivers/pinctrl/mediatek/
H A Dpinctrl-mtk-common.c66 order = fls(count) - 1;
/u-boot/drivers/usb/host/
H A Dxhci.c260 interval = fls(desc_interval) - 1;
/u-boot/drivers/pci/
H A Dpci_mvebu.c350 size = 1 << fls(size);
/u-boot/fs/ubifs/
H A Dsuper.c705 c->min_io_shift = fls(c->min_io_size) - 1;
707 c->max_write_shift = fls(c->max_write_size) - 1;
/u-boot/drivers/net/
H A Ddwc_eth_qos.c1206 eqos->desc_size = BIT(fls(desc_step) - 1);
/u-boot/drivers/usb/gadget/
H A Datmel_usba_udc.c194 ept_cfg = USBA_BF(EPT_SIZE, fls(maxpacket - 1) - 3);
/u-boot/fs/fat/
H A Dfat_write.c159 j = 30 - fls(i);

Completed in 329 milliseconds

1234