Searched refs:fls (Results 51 - 75 of 80) sorted by relevance
1234
/u-boot/drivers/spi/ |
H A D | mxc_spi.c | 237 /* fls(1) = 1, fls(0x80000000) = 32, fls(16) = 5 */ 238 post_div = fls(pre_div);
|
H A D | fsl_qspi.c | 158 #define LUT_PAD(x) (fls(x) - 1)
|
H A D | nxp_fspi.c | 290 #define LUT_PAD(x) (fls(x) - 1)
|
/u-boot/drivers/pinctrl/ |
H A D | pinctrl-single.c | 564 priv->bits_per_pin = fls(pdata->mask);
|
/u-boot/drivers/ram/k3-ddrss/ |
H A D | k3-ddrss.c | 575 ddrss->ecc_reserved_space = 1ull << (fls(ddrss->ecc_reserved_space));
|
/u-boot/drivers/mmc/ |
H A D | tegra_mmc.c | 563 tegra_mmc_set_power(priv, fls(mmc->cfg->voltages) - 1);
|
H A D | sh_mmcif.c | 121 sh_mmcif_bitset((fls(DIV_ROUND_UP(host->clk,
|
H A D | fsl_esdhc.c | 306 * => timeout + 13 = fls(mmc->clock/4) 313 * => timeout + 13 = fls(mmc->clock/2) 315 timeout = fls(mmc->clock/2);
|
H A D | sdhci.c | 748 sdhci_set_power(host, fls(mmc->cfg->voltages) - 1);
|
H A D | fsl_esdhc_imx.c | 357 * => timeout + 13 = fls(mmc->clock/4) 364 * => timeout + 13 = fls(mmc->clock/2) 366 timeout = fls(mmc->clock/2);
|
/u-boot/lib/ |
H A D | bch.c | 130 static int fls(int x) function 327 return fls(poly)-1;
|
/u-boot/drivers/mtd/nand/raw/ |
H A D | rockchip_nfc.c | 846 fls(8 * 1024); 863 ecc->bytes = DIV_ROUND_UP(ecc->strength * fls(8 * chip->ecc.size), 8);
|
H A D | nand_base.c | 1047 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 D | sunxi_nand.c | 1369 mode = fls(mode) - 1; 1437 ecc->bytes = DIV_ROUND_UP(ecc->strength * fls(8 * 1024), 8);
|
H A D | meson_nand.c | 199 ecc_bytes = DIV_ROUND_UP(strength * fls(step_size * 8), 8);
|
H A D | denali.c | 1104 return DIV_ROUND_UP(strength * fls(step_size * 8), 16) * 2;
|
H A D | atmel_nand.c | 762 return fls(poly) - 1;
|
/u-boot/drivers/mtd/nand/spi/ |
H A D | core.c | 51 shift = fls(nand->memorg.pagesize);
|
/u-boot/drivers/pinctrl/mediatek/ |
H A D | pinctrl-mtk-common.c | 66 order = fls(count) - 1;
|
/u-boot/drivers/usb/host/ |
H A D | xhci.c | 260 interval = fls(desc_interval) - 1;
|
/u-boot/drivers/pci/ |
H A D | pci_mvebu.c | 350 size = 1 << fls(size);
|
/u-boot/fs/ubifs/ |
H A D | super.c | 705 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 D | dwc_eth_qos.c | 1206 eqos->desc_size = BIT(fls(desc_step) - 1);
|
/u-boot/drivers/usb/gadget/ |
H A D | atmel_usba_udc.c | 194 ept_cfg = USBA_BF(EPT_SIZE, fls(maxpacket - 1) - 3);
|
/u-boot/fs/fat/ |
H A D | fat_write.c | 159 j = 30 - fls(i);
|
Completed in 329 milliseconds
1234