Searched refs:fls_long (Results 1 – 16 of 16) sorted by relevance
53 return 1UL << fls_long(n - 1); in __roundup_pow_of_two()62 return 1UL << (fls_long(n) - 1); in __rounddown_pow_of_two()
58 static inline unsigned fls_long(unsigned long l) in fls_long() function
61 return 1UL << fls_long(n - 1); in __roundup_pow_of_two()71 return 1UL << (fls_long(n) - 1); in __rounddown_pow_of_two()
160 static inline unsigned fls_long(unsigned long l) in fls_long() function188 return (int)fls_long(l); in get_count_order_long()190 return (int)fls_long(l) - 1; in get_count_order_long()
103 mask = 1ULL < (fls_long(tbl->it_offset + tbl->it_size) - 1); in dma_iommu_get_required_mask()
64 scale = fls_long(*parent_rate / rate - 1); in clk_fd_general_approximation()
519 max_order = fls_long(totalram_pages - 1); in workingset_init()
253 bit = fls_long(usec); in gtm_set_timer16()
375 int bit = fls_long(eirr); in eirr_to_irq()
416 grain_bits = fls_long(e->grain); in ghes_edac_report_mem_error()
1250 grain_bits = fls_long(e->grain) + 1; in edac_mc_handle_error()
205 scale = fls_long(*parent_rate / rate - 1); in rockchip_fractional_approximation()
95 mask64 = fls_long(max_entries - 1); in array_map_alloc()
807 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()
189 align_mask <<= fls_long(size - 1); in __alloc_and_insert_iova_range()
2559 pabits = fls_long(entry) + 6; in check_pabits()