/Linux-v4.19/include/linux/ |
D | iommu-helper.h | 21 BUG_ON(!is_power_of_2(boundary_size)); in iommu_is_span_boundary()
|
D | log2.h | 49 bool is_power_of_2(unsigned long n) in is_power_of_2() function
|
/Linux-v4.19/drivers/gpu/drm/i915/ |
D | i915_gem_fence_reg.c | 129 GEM_BUG_ON(!is_power_of_2(vma->fence_size)); in i915_write_fence_reg() 136 GEM_BUG_ON(!is_power_of_2(stride)); in i915_write_fence_reg() 167 GEM_BUG_ON(!is_power_of_2(vma->fence_size)); in i830_write_fence_reg() 168 GEM_BUG_ON(!is_power_of_2(stride / 128)); in i830_write_fence_reg()
|
/Linux-v4.19/scripts/dtc/ |
D | dtc.c | 39 static int is_power_of_2(int x) in is_power_of_2() function 214 if (!is_power_of_2(alignsize)) in main()
|
/Linux-v4.19/arch/powerpc/mm/ |
D | init-common.c | 73 BUG_ON(!is_power_of_2(minalign)); in pgtable_cache_add()
|
/Linux-v4.19/arch/x86/include/asm/ |
D | div64.h | 26 if (__builtin_constant_p(__base) && is_power_of_2(__base)) { \
|
/Linux-v4.19/tools/include/linux/ |
D | log2.h | 42 bool is_power_of_2(unsigned long n) in is_power_of_2() function
|
/Linux-v4.19/drivers/gpu/drm/msm/ |
D | msm_ringbuffer.c | 29 BUILD_BUG_ON(!is_power_of_2(MSM_GPU_RINGBUFFER_SZ)); in msm_ringbuffer_new()
|
/Linux-v4.19/drivers/scsi/bnx2i/ |
D | bnx2i_sysfs.c | 75 (is_power_of_2(val))) in bnx2i_set_sq_info()
|
/Linux-v4.19/arch/arm/mm/ |
D | cache-uniphier.c | 357 !is_power_of_2(data->line_size)) { in __uniphier_cache_init() 365 !is_power_of_2(data->nsets)) { in __uniphier_cache_init()
|
/Linux-v4.19/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_doorbell.c | 58 if (!is_power_of_2(num)) in pvrdma_uar_table_init()
|
/Linux-v4.19/drivers/media/rc/img-ir/ |
D | img-ir-sony.c | 79 if (!is_power_of_2(protocols)) { in img_ir_sony_filter()
|
D | img-ir-nec.c | 73 if (!is_power_of_2(protocols)) { in img_ir_nec_filter()
|
/Linux-v4.19/fs/pstore/ |
D | ram.c | 756 if (pdata->record_size && !is_power_of_2(pdata->record_size)) in ramoops_probe() 758 if (pdata->console_size && !is_power_of_2(pdata->console_size)) in ramoops_probe() 760 if (pdata->ftrace_size && !is_power_of_2(pdata->ftrace_size)) in ramoops_probe() 762 if (pdata->pmsg_size && !is_power_of_2(pdata->pmsg_size)) in ramoops_probe()
|
/Linux-v4.19/drivers/dma/qcom/ |
D | hidma_mgmt.c | 78 if (!is_power_of_2(mgmtdev->max_write_request) || in hidma_mgmt_setup() 86 if (!is_power_of_2(mgmtdev->max_read_request) || in hidma_mgmt_setup()
|
/Linux-v4.19/drivers/block/ |
D | null_blk_zoned.c | 19 if (!is_power_of_2(dev->zone_size)) { in null_zone_init()
|
/Linux-v4.19/arch/ia64/mm/ |
D | hugetlbpage.c | 180 if (*str || !is_power_of_2(size) || !(tr_pages & size) || in hugetlb_setup_sz()
|
/Linux-v4.19/include/asm-generic/ |
D | div64.h | 224 is_power_of_2(__base)) { \
|
/Linux-v4.19/arch/microblaze/mm/ |
D | pgtable.c | 185 #define is_power_of_2(x) ((x) != 0 && (((x) & ((x) - 1)) == 0)) macro
|
/Linux-v4.19/drivers/iio/adc/ |
D | qcom-vadc-common.c | 226 if (!is_power_of_2(value) || value < VADC_DECIMATION_MIN || in qcom_vadc_decimation_from_dt()
|
/Linux-v4.19/drivers/md/ |
D | dm-exception-store.c | 165 if (!is_power_of_2(chunk_size)) { in dm_exception_store_set_chunk_size()
|
D | raid0.c | 323 if (is_power_of_2(chunk_sects)) { in map_sector() 454 if (likely(is_power_of_2(chunk_sects))) { in is_io_in_chunk_boundary() 579 (likely(is_power_of_2(chunk_sects)) in raid0_make_request()
|
/Linux-v4.19/drivers/net/wireless/ath/ath5k/ |
D | qcu.c | 117 if (is_power_of_2(cw_req + 1)) in ath5k_cw_validate() 121 if (is_power_of_2(cw_req)) in ath5k_cw_validate()
|
/Linux-v4.19/crypto/ |
D | cbc.c | 152 if (!is_power_of_2(alg->cra_blocksize)) in crypto_cbc_create()
|
/Linux-v4.19/tools/perf/arch/arm64/util/ |
D | arm-spe.c | 106 if (sz < min_sz || !is_power_of_2(sz)) { in arm_spe_recording_options()
|