| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | log2.h | 45 bool is_power_of_2(unsigned long n) in is_power_of_2() function 229 if (is_power_of_2(n)) in __bits_per()
|
| H A D | generic-radix-tree.h | 106 if (!is_power_of_2(obj_size)) { in __idx_to_offset() 188 if (!is_power_of_2(obj_size) && in __genradix_iter_advance()
|
| H A D | iommu-helper.h | 21 BUG_ON(!is_power_of_2(boundary_size)); in iommu_is_span_boundary()
|
| /OK3568_Linux_fs/kernel/scripts/dtc/ |
| H A D | dtc.c | 26 static int is_power_of_2(int x) in is_power_of_2() function 208 if (!is_power_of_2(alignsize)) in main()
|
| /OK3568_Linux_fs/u-boot/scripts/dtc/ |
| H A D | dtc.c | 39 static int is_power_of_2(int x) in is_power_of_2() function 216 if (!is_power_of_2(alignsize)) in main()
|
| /OK3568_Linux_fs/kernel/fs/verity/ |
| H A D | hash_algs.c | 325 BUG_ON(!is_power_of_2(alg->digest_size)); in fsverity_check_hash_algs() 326 BUG_ON(!is_power_of_2(alg->block_size)); in fsverity_check_hash_algs()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/ |
| H A D | dhd_linux_wq.c | 140 fifo_size = is_power_of_2(fifo_size) ? fifo_size : in dhd_deferred_work_init() 158 fifo_size = is_power_of_2(fifo_size) ? fifo_size : in dhd_deferred_work_init()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/ |
| H A D | dhd_linux_wq.c | 135 fifo_size = is_power_of_2(fifo_size) ? fifo_size : in dhd_deferred_work_init() 153 fifo_size = is_power_of_2(fifo_size) ? fifo_size : in dhd_deferred_work_init()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/ |
| H A D | dhd_linux_wq.c | 135 fifo_size = is_power_of_2(fifo_size) ? fifo_size : in dhd_deferred_work_init() 153 fifo_size = is_power_of_2(fifo_size) ? fifo_size : in dhd_deferred_work_init()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/ |
| H A D | dhd_linux_wq.c | 135 fifo_size = is_power_of_2(fifo_size) ? fifo_size : in dhd_deferred_work_init() 153 fifo_size = is_power_of_2(fifo_size) ? fifo_size : in dhd_deferred_work_init()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/ |
| H A D | dhd_linux_wq.c | 142 fifo_size = is_power_of_2(fifo_size) ? fifo_size : in dhd_deferred_work_init() 160 fifo_size = is_power_of_2(fifo_size) ? fifo_size : in dhd_deferred_work_init()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/ |
| H A D | dhd_linux_wq.c | 142 fifo_size = is_power_of_2(fifo_size) ? fifo_size : in dhd_deferred_work_init() 160 fifo_size = is_power_of_2(fifo_size) ? fifo_size : in dhd_deferred_work_init()
|
| /OK3568_Linux_fs/kernel/include/crypto/ |
| H A D | ctr.h | 31 if (WARN_ON_ONCE(!is_power_of_2(blocksize))) in crypto_ctr_encrypt_walk()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/ |
| H A D | msm_ringbuffer.c | 18 BUILD_BUG_ON(!is_power_of_2(MSM_GPU_RINGBUFFER_SZ)); in msm_ringbuffer_new()
|
| /OK3568_Linux_fs/kernel/tools/include/linux/ |
| H A D | log2.h | 38 bool is_power_of_2(unsigned long n) in is_power_of_2() function
|
| /OK3568_Linux_fs/kernel/arch/arm/mm/ |
| H A D | cache-uniphier.c | 348 !is_power_of_2(data->line_size)) { in __uniphier_cache_init() 356 !is_power_of_2(data->nsets)) { in __uniphier_cache_init()
|
| /OK3568_Linux_fs/kernel/drivers/scsi/bnx2i/ |
| H A D | bnx2i_sysfs.c | 77 (is_power_of_2(val))) in bnx2i_set_sq_info()
|
| /OK3568_Linux_fs/kernel/arch/x86/include/asm/ |
| H A D | div64.h | 26 if (__builtin_constant_p(__base) && is_power_of_2(__base)) { \
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/huawei/hinic/ |
| H A D | hinic_hw_wq.c | 514 if (!is_power_of_2(wqebb_size)) { in hinic_wq_allocate() 533 if (!is_power_of_2(num_wqebbs_per_page)) { in hinic_wq_allocate() 611 if (!is_power_of_2(wqebb_size)) { in hinic_wqs_cmdq_alloc() 630 if (!is_power_of_2(num_wqebbs_per_page)) { in hinic_wqs_cmdq_alloc()
|
| /OK3568_Linux_fs/u-boot/include/linux/ |
| H A D | log2.h | 50 bool is_power_of_2(unsigned long n) in is_power_of_2() function
|
| /OK3568_Linux_fs/kernel/drivers/iio/light/ |
| H A D | as73211.c | 451 !is_power_of_2(freq_kHz) || val2) in _as73211_write_raw() 472 if (val < 0 || !is_power_of_2(val) || val2) in _as73211_write_raw() 502 if (time_ms < 0 || !is_power_of_2(time_ms) || time_ms > AS73211_SAMPLE_TIME_MAX_MS) in _as73211_write_raw()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/mm/ |
| H A D | init-common.c | 119 BUG_ON(!is_power_of_2(minalign)); in pgtable_cache_add()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/gt/ |
| H A D | intel_ring.h | 137 GEM_BUG_ON(!is_power_of_2(size)); in __intel_ring_space()
|
| /OK3568_Linux_fs/kernel/drivers/media/rc/img-ir/ |
| H A D | img-ir-sony.c | 75 if (!is_power_of_2(protocols)) { in img_ir_sony_filter()
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/hw/vmw_pvrdma/ |
| H A D | pvrdma_doorbell.c | 58 if (!is_power_of_2(num)) in pvrdma_uar_table_init()
|