Home
last modified time | relevance | path

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

/u-boot/fs/btrfs/
A Dcompat.h77 static inline int is_power_of_2(unsigned long n) in is_power_of_2() function
A Dvolumes.c465 if (!(is_power_of_2(type & BTRFS_BLOCK_GROUP_PROFILE_MASK) || in btrfs_check_chunk_valid()
471 !is_power_of_2(type & BTRFS_BLOCK_GROUP_PROFILE_MASK)) { in btrfs_check_chunk_valid()
/u-boot/include/linux/
A Dlog2.h50 bool is_power_of_2(unsigned long n) in is_power_of_2() function
/u-boot/scripts/dtc/
A Ddtc.c39 static int is_power_of_2(int x) in is_power_of_2() function
214 if (!is_power_of_2(alignsize)) in main()
/u-boot/lib/
A Dhexdump.c67 if (!is_power_of_2(groupsize) || groupsize > 8) in hex_dump_to_buffer()
/u-boot/arch/arm/mach-uniphier/boot-device/
A Dboot-device.c162 BUG_ON(!is_power_of_2(*info->boot_device_count)); in UNIPHIER_DEFINE_SOCDATA_FUNC()
/u-boot/include/
A Ddiv64.h209 is_power_of_2(__base)) { \
/u-boot/drivers/clk/
A Dclk-divider.c107 return is_power_of_2(div); in clk_divider_is_valid_div()
/u-boot/arch/arc/lib/
A Dcache.c493 if (!is_power_of_2(ap_size) || ap_size < 4096) in arc_ioc_setup()
/u-boot/drivers/mmc/
A Dbcm2835_sdhost.c657 static inline int is_power_of_2(u64 x) in is_power_of_2() function
669 if (data && !is_power_of_2(data->blocksize)) { in bcm2835_send_cmd()
/u-boot/arch/arm/mach-mvebu/
A Dmbus.c450 if (!is_power_of_2(size)) { in mvebu_config_mbus_bridge()
/u-boot/drivers/mtd/ubi/
A Dbuild.c700 if (!is_power_of_2(ubi->min_io_size)) { in io_init()
717 !is_power_of_2(ubi->max_write_size)) { in io_init()
/u-boot/drivers/mtd/
A Dmtdcore.c449 if (is_power_of_2(mtd->erasesize)) in add_mtd_device()
454 if (is_power_of_2(mtd->writesize)) in add_mtd_device()
/u-boot/fs/ubifs/
A Dsuper.c720 if (!is_power_of_2(c->min_io_size)) { in init_constants_early()
731 !is_power_of_2(c->max_write_size)) { in init_constants_early()
/u-boot/drivers/ram/stm32mp1/
A Dstm32mp1_tests.c457 if (!is_power_of_2(bufsize)) { in test_addressbus()
/u-boot/drivers/mtd/spi/
A Dspi-nor-core.c1262 if (is_power_of_2(nor->page_size)) { in spi_nor_write()

Completed in 33 milliseconds