Home
last modified time | relevance | path

Searched refs:is_power_of_2 (Results 1 – 11 of 11) sorted by relevance

/rk3399_rockchip-uboot/scripts/dtc/
H A Ddtc.c39 static int is_power_of_2(int x) in is_power_of_2() function
216 if (!is_power_of_2(alignsize)) in main()
/rk3399_rockchip-uboot/include/linux/
H A Dlog2.h50 bool is_power_of_2(unsigned long n) in is_power_of_2() function
/rk3399_rockchip-uboot/arch/arm/mach-uniphier/boot-device/
H A Dboot-device.c139 BUG_ON(!is_power_of_2(*info->boot_device_count)); in UNIPHIER_DEFINE_SOCDATA_FUNC()
/rk3399_rockchip-uboot/lib/
H A Dhexdump.c67 if (!is_power_of_2(groupsize) || groupsize > 8) in hex_dump_to_buffer()
/rk3399_rockchip-uboot/include/
H A Ddiv64.h209 is_power_of_2(__base)) { \
/rk3399_rockchip-uboot/arch/arc/lib/
H A Dcache.c227 if (!is_power_of_2(ap_size) || ap_size < 4096) in cache_init()
/rk3399_rockchip-uboot/drivers/mtd/
H A Dmtd_blk.c709 if (is_power_of_2(mtd->erasesize)) in mtd_blk_probe()
714 if (is_power_of_2(mtd->writesize)) in mtd_blk_probe()
H A Dmtdcore.c450 if (is_power_of_2(mtd->erasesize)) in add_mtd_device()
455 if (is_power_of_2(mtd->writesize)) in add_mtd_device()
/rk3399_rockchip-uboot/arch/arm/mach-mvebu/
H A Dmbus.c443 if (!is_power_of_2(size)) { in mvebu_config_mbus_bridge()
/rk3399_rockchip-uboot/drivers/mtd/ubi/
H A Dbuild.c699 if (!is_power_of_2(ubi->min_io_size)) { in io_init()
716 !is_power_of_2(ubi->max_write_size)) { in io_init()
/rk3399_rockchip-uboot/fs/ubifs/
H A Dsuper.c717 if (!is_power_of_2(c->min_io_size)) { in init_constants_early()
728 !is_power_of_2(c->max_write_size)) { in init_constants_early()