Searched refs:is_power_of_2 (Results 1 - 20 of 20) sorted by relevance

/u-boot/fs/btrfs/
H A Dcompat.h77 static inline int is_power_of_2(unsigned long n) function
H A Dvolumes.c465 if (!(is_power_of_2(type & BTRFS_BLOCK_GROUP_PROFILE_MASK) ||
471 !is_power_of_2(type & BTRFS_BLOCK_GROUP_PROFILE_MASK)) {
/u-boot/include/linux/
H A Dlog2.h42 * is_power_of_2() - check if a value is a power of two
50 bool is_power_of_2(unsigned long n) function
/u-boot/scripts/dtc/
H A Ddtc.c39 static int is_power_of_2(int x) function
214 if (!is_power_of_2(alignsize))
/u-boot/include/
H A Ddiv64.h209 is_power_of_2(__base)) { \
/u-boot/arch/arm/mach-uniphier/boot-device/
H A Dboot-device.c163 BUG_ON(!is_power_of_2(*info->boot_device_count));
/u-boot/lib/
H A Dhexdump.c42 if (!is_power_of_2(groupsize) || groupsize > 8)
/u-boot/arch/x86/cpu/
H A Dmtrr.c197 if (!is_power_of_2(size))
244 if (!is_power_of_2(size))
/u-boot/drivers/clk/
H A Dclk-divider.c112 return is_power_of_2(div);
/u-boot/cmd/
H A Dhost.c70 if (blksz < DEFAULT_BLKSZ || !is_power_of_2(blksz)) {
/u-boot/arch/arc/lib/
H A Dcache.c493 if (!is_power_of_2(ap_size) || ap_size < 4096)
/u-boot/arch/arm/mach-mvebu/
H A Dmbus.c428 if (!is_power_of_2(size)) {
/u-boot/drivers/pci/
H A Dpcie_dw_meson.c214 if (!is_power_of_2(size) || size < 128 || size > 4096) {
/u-boot/drivers/mtd/ubi/
H A Dbuild.c695 if (!is_power_of_2(ubi->min_io_size)) {
712 !is_power_of_2(ubi->max_write_size)) {
/u-boot/drivers/mmc/
H A Dbcm2835_sdhost.c664 static inline int is_power_of_2(u64 x) function
676 if (data && !is_power_of_2(data->blocksize)) {
/u-boot/fs/fat/
H A Dfat.c541 if (!is_power_of_2(sector_size) ||
546 if (!is_power_of_2(bs->cluster_size))
/u-boot/drivers/mtd/
H A Dmtdcore.c449 if (is_power_of_2(mtd->erasesize))
454 if (is_power_of_2(mtd->writesize))
/u-boot/fs/ubifs/
H A Dsuper.c721 if (!is_power_of_2(c->min_io_size)) {
732 !is_power_of_2(c->max_write_size)) {
/u-boot/drivers/ram/stm32mp1/
H A Dstm32mp1_tests.c457 if (!is_power_of_2(bufsize)) {
/u-boot/drivers/mtd/spi/
H A Dspi-nor-core.c1792 if (is_power_of_2(nor->page_size)) {

Completed in 144 milliseconds