Searched refs:fls_long (Results 1 – 19 of 19) sorted by relevance
49 return 1UL << fls_long(n - 1); in __roundup_pow_of_two()58 return 1UL << (fls_long(n) - 1); in __rounddown_pow_of_two()
57 static inline unsigned fls_long(unsigned long l) in fls_long() function
57 return 1UL << fls_long(n - 1); in __roundup_pow_of_two()67 return 1UL << (fls_long(n) - 1); in __rounddown_pow_of_two()
186 static inline unsigned fls_long(unsigned long l) in fls_long() function211 return (int)fls_long(--l); in get_count_order_long()
32 vmid_bits = fls_long(vmid_bits); in kvm_riscv_stage2_vmid_detect()
225 asid_bits = fls_long(asid_bits); in asids_init()
199 mask = 1ULL << (fls_long(tbl->it_offset + tbl->it_size) + in dma_iommu_get_required_mask()
119 unsigned long scale = fls_long(*parent_rate / rate - 1); in clk_fractional_divider_general_approximation()
618 max_order = fls_long(totalram_pages() - 1); in workingset_init()
249 bit = fls_long(usec); in gtm_set_timer16()
370 int bit = fls_long(eirr); in eirr_to_irq()
166 for_each_clear_bit_from(b, &new, fls_long(mask)) { in catpt_dsp_set_srampge()
845 scale = fls_long(q1 - 1); in quark_x1000_get_clk_div()861 r1 = abs(fref1 / (1 << (24 - fls_long(mul))) / q1 - rate); in quark_x1000_get_clk_div()
995 grain_bits = fls_long(e->grain - 1); in edac_raw_mc_handle_error()
245 align_mask <<= fls_long(size - 1); in __alloc_and_insert_iova_range()
98 mask64 = fls_long(max_entries - 1); in array_map_alloc()
626 if (fls_long(csi2_status) >= ARRAY_SIZE(cio2_irq_errs)) in cio2_irq_log_irq_errs()
2590 pabits = fls_long(entry) + 6; in check_pabits()
1760 log2_span = fls_long(page_start ^ page_end); in arm_smmu_atc_inv_to_cmd()
Completed in 42 milliseconds