Home
last modified time | relevance | path

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

/linux/tools/include/linux/
A Dlog2.h47 unsigned long __roundup_pow_of_two(unsigned long n) in __roundup_pow_of_two() function
157 __roundup_pow_of_two(n) \
/linux/include/linux/
A Dlog2.h55 unsigned long __roundup_pow_of_two(unsigned long n) in __roundup_pow_of_two() function
180 __roundup_pow_of_two(n) \
/linux/drivers/clk/
A Dclk-divider.c226 div = __roundup_pow_of_two(div); in _div_round_up()
244 up = __roundup_pow_of_two(up); in _div_round_closest()
282 return __roundup_pow_of_two(div); in _next_div()
/linux/drivers/clk/zynqmp/
A Ddivider.c59 up = __roundup_pow_of_two(up); in zynqmp_divider_get_val()
/linux/drivers/net/ipa/
A Dgsi_trans.c149 size = __roundup_pow_of_two(size); in gsi_trans_pool_init_dma()
/linux/drivers/clk/sunxi/
A Dclk-sunxi.c314 calcp = __roundup_pow_of_two(div); in sun6i_get_ahb1_factors()
/linux/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_amdkfd_gpuvm.c124 return __roundup_pow_of_two(sizeof(struct amdgpu_bo)) + in amdgpu_amdkfd_acc_size()
125 __roundup_pow_of_two(sizeof(struct ttm_tt)) + in amdgpu_amdkfd_acc_size()
/linux/drivers/iommu/intel/
A Dsvm.c220 unsigned long shift = ilog2(__roundup_pow_of_two(pages)); in intel_flush_svm_range_dev()
A Dirq_remapping.c117 count = __roundup_pow_of_two(count); in alloc_irte()
A Ddmar.c1559 int mask = ilog2(__roundup_pow_of_two(npages)); in qi_flush_piotlb()
A Diommu.c1753 unsigned int mask = ilog2(__roundup_pow_of_two(pages)); in iommu_flush_iotlb_psi()
/linux/net/sunrpc/xprtrdma/
A Dverbs.c880 rb = rpcrdma_regbuf_alloc(__roundup_pow_of_two(maxhdrsize), in rpcrdma_req_setup()
/linux/drivers/pci/
A Dmsi.c492 entry->msi_attrib.multiple = ilog2(__roundup_pow_of_two(nvec)); in msi_setup_entry()
/linux/tools/perf/
A Dbuiltin-sched.c1877 int i, n = __roundup_pow_of_two(cpu+1); in evsel__save_time()
2263 int i, j = __roundup_pow_of_two(cpu+1); in get_idle_thread()
/linux/drivers/infiniband/hw/hfi1/
A Dinit.c433 rcd->egrbufs.size = __roundup_pow_of_two(hfi1_max_mtu); in hfi1_create_ctxtdata()
A Dchip.c14321 m = ilog2(__roundup_pow_of_two(max_by_vl)); in qos_rmt_entries()
14324 n = ilog2(__roundup_pow_of_two(num_vls)); in qos_rmt_entries()

Completed in 82 milliseconds