Home
last modified time | relevance | path

Searched refs:fls64 (Results 1 – 18 of 18) sorted by relevance

/linux-4.19.296/include/asm-generic/bitops/
Dfls64.h19 static __always_inline int fls64(__u64 x) in fls64() function
27 static __always_inline int fls64(__u64 x) in fls64() function
/linux-4.19.296/include/linux/
Dcount_zeros.h32 return BITS_PER_LONG - fls64(x); in count_leading_zeros()
Dlog2.h36 return fls64(n) - 1; in __ilog2_u64()
Dbitops.h165 return fls64(l); in fls_long()
Dnetdev_features.h168 return fls64(feature) - 1; in find_next_netdev_feature()
/linux-4.19.296/include/asm-generic/
Dgetorder.h46 return fls64(size); in get_order()
/linux-4.19.296/lib/
Dclz_ctz.c36 return 64 - fls64(val); in __clzdi2()
Dint_sqrt.c55 m = 1ULL << ((fls64(x) - 1) & ~1ULL); in int_sqrt64()
/linux-4.19.296/fs/xfs/libxfs/
Dxfs_bit.h38 return fls64(v) - 1; in xfs_highbit64()
/linux-4.19.296/drivers/pci/endpoint/
Dpci-epc-mem.c33 order = fls64(size); in pci_epc_mem_get_order()
/linux-4.19.296/drivers/pci/controller/
Dpcie-cadence.c18 u64 sz = 1ULL << fls64(size - 1); in cdns_pcie_set_outbound_region()
Dpcie-rockchip-ep.c73 u64 sz = 1ULL << fls64(size - 1); in rockchip_pcie_prog_ep_ob_atu()
181 sz = 1ULL << fls64(sz - 1); in rockchip_pcie_ep_set_bar()
Dpcie-cadence-ep.c97 sz = 1ULL << fls64(sz - 1); in cdns_pcie_ep_set_bar()
Dpci-aardvark.c1229 win_size = (1ULL << (fls64(size)-1)) | in advk_pcie_probe()
/linux-4.19.296/drivers/thunderbolt/
Dtb.h448 return (fls64(route) + TB_ROUTE_SHIFT - 1) / TB_ROUTE_SHIFT; in tb_route_length()
/linux-4.19.296/drivers/xen/
Dswiotlb-xen.c333 fls64(dma_mask), dma_handle) != 0) { in xen_swiotlb_alloc_coherent()
/linux-4.19.296/drivers/pci/
Dpci-sysfs.c359 return sprintf(buf, "%d\n", fls64(pdev->dma_mask)); in dma_mask_bits_show()
367 return sprintf(buf, "%d\n", fls64(dev->coherent_dma_mask)); in consistent_dma_mask_bits_show()
/linux-4.19.296/block/
Dsed-opal.c563 msb = fls64(number); in add_token_u64()