Home
last modified time | relevance | path

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

/Linux-v4.19/tools/include/linux/
Dlog2.h53 return 1UL << fls_long(n - 1); in __roundup_pow_of_two()
62 return 1UL << (fls_long(n) - 1); in __rounddown_pow_of_two()
Dbitops.h58 static inline unsigned fls_long(unsigned long l) in fls_long() function
/Linux-v4.19/include/linux/
Dlog2.h61 return 1UL << fls_long(n - 1); in __roundup_pow_of_two()
71 return 1UL << (fls_long(n) - 1); in __rounddown_pow_of_two()
Dbitops.h160 static inline unsigned fls_long(unsigned long l) in fls_long() function
188 return (int)fls_long(l); in get_count_order_long()
190 return (int)fls_long(l) - 1; in get_count_order_long()
/Linux-v4.19/arch/powerpc/kernel/
Ddma-iommu.c103 mask = 1ULL < (fls_long(tbl->it_offset + tbl->it_size) - 1); in dma_iommu_get_required_mask()
/Linux-v4.19/drivers/clk/
Dclk-fractional-divider.c64 scale = fls_long(*parent_rate / rate - 1); in clk_fd_general_approximation()
/Linux-v4.19/mm/
Dworkingset.c519 max_order = fls_long(totalram_pages - 1); in workingset_init()
/Linux-v4.19/arch/powerpc/sysdev/
Dfsl_gtm.c253 bit = fls_long(usec); in gtm_set_timer16()
/Linux-v4.19/arch/parisc/kernel/
Dirq.c375 int bit = fls_long(eirr); in eirr_to_irq()
/Linux-v4.19/drivers/edac/
Dghes_edac.c416 grain_bits = fls_long(e->grain); in ghes_edac_report_mem_error()
Dedac_mc.c1250 grain_bits = fls_long(e->grain) + 1; in edac_mc_handle_error()
/Linux-v4.19/drivers/clk/rockchip/
Dclk.c205 scale = fls_long(*parent_rate / rate - 1); in rockchip_fractional_approximation()
/Linux-v4.19/kernel/bpf/
Darraymap.c95 mask64 = fls_long(max_entries - 1); in array_map_alloc()
/Linux-v4.19/drivers/spi/
Dspi-pxa2xx.c807 scale = fls_long(q1 - 1); in quark_x1000_get_clk_div()
823 r1 = abs(fref1 / (1 << (24 - fls_long(mul))) / q1 - rate); in quark_x1000_get_clk_div()
/Linux-v4.19/drivers/iommu/
Diova.c189 align_mask <<= fls_long(size - 1); in __alloc_and_insert_iova_range()
/Linux-v4.19/arch/mips/mm/
Dtlbex.c2559 pabits = fls_long(entry) + 6; in check_pabits()