Home
last modified time | relevance | path

Searched refs:is_power_of_two (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00reg.h168 #define is_power_of_two(x) ( !((x) & ((x)-1)) ) macro
170 #define is_valid_mask(x) is_power_of_two(1LU + (x) + low_bit_mask(x))
/openbmc/linux/arch/arm64/include/asm/
H A Dkvm_pgtable.h108 bool is_power_of_two = IS_ALIGNED(size, size); in kvm_is_block_size_supported() local
110 return is_power_of_two && (size & kvm_supported_block_sizes()); in kvm_is_block_size_supported()
/openbmc/u-boot/fs/reiserfs/
H A Dreiserfs_private.h501 is_power_of_two (unsigned long word) in is_power_of_two() function
H A Dreiserfs.c337 if (is_power_of_two (INFO->journal_block_count)) in reiserfs_mount()