Home
last modified time | relevance | path

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

/linux-6.6.21/tools/include/linux/
Dlog2.h47 unsigned long __roundup_pow_of_two(unsigned long n) in __roundup_pow_of_two() function
157 __roundup_pow_of_two(n) \
/linux-6.6.21/include/linux/
Dlog2.h55 unsigned long __roundup_pow_of_two(unsigned long n) in __roundup_pow_of_two() function
180 __roundup_pow_of_two(n) \
/linux-6.6.21/drivers/clk/
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-6.6.21/drivers/clk/zynqmp/
Ddivider.c59 up = __roundup_pow_of_two(up); in zynqmp_divider_get_val()
/linux-6.6.21/drivers/net/ipa/
Dgsi_trans.c150 size = __roundup_pow_of_two(size); in gsi_trans_pool_init_dma()
/linux-6.6.21/drivers/pci/msi/
Dmsi.c303 desc.pci.msi_attrib.multiple = ilog2(__roundup_pow_of_two(nvec)); in msi_setup_msi_desc()
/linux-6.6.21/drivers/clk/sunxi/
Dclk-sunxi.c314 calcp = __roundup_pow_of_two(div); in sun6i_get_ahb1_factors()
/linux-6.6.21/drivers/iommu/intel/
Dsvm.c197 unsigned long shift = ilog2(__roundup_pow_of_two(pages)); in intel_flush_svm_range_dev()
Dirq_remapping.c118 count = __roundup_pow_of_two(count); in alloc_irte()
Ddmar.c1574 int mask = ilog2(__roundup_pow_of_two(npages)); in qi_flush_piotlb()
Diommu.c1520 unsigned int aligned_pages = __roundup_pow_of_two(pages); in iommu_flush_iotlb_psi()
/linux-6.6.21/net/sunrpc/xprtrdma/
Dverbs.c857 rb = rpcrdma_regbuf_alloc(__roundup_pow_of_two(maxhdrsize), in rpcrdma_req_setup()
/linux-6.6.21/tools/perf/
Dbuiltin-sched.c1924 int i, n = __roundup_pow_of_two(cpu+1); in evsel__save_time()
2312 int i, j = __roundup_pow_of_two(cpu+1); in get_idle_thread()
/linux-6.6.21/drivers/infiniband/hw/hfi1/
Dinit.c433 rcd->egrbufs.size = __roundup_pow_of_two(hfi1_max_mtu); in hfi1_create_ctxtdata()
Dchip.c14329 m = ilog2(__roundup_pow_of_two(max_by_vl)); in qos_rmt_entries()
14332 n = ilog2(__roundup_pow_of_two(num_vls)); in qos_rmt_entries()
/linux-6.6.21/drivers/s390/char/
Dcon3270.c896 allocated = __roundup_pow_of_two(rows) * TTY3270_SCREEN_PAGES; in tty3270_alloc_screen()
/linux-6.6.21/net/mac80211/
Dcfg.c1200 ilog2(__roundup_pow_of_two(mbssid->cnt + 1)); in ieee80211_assign_beacon()