Searched refs:fls_long (Results 1 – 21 of 21) 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()
73 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()
203 static inline unsigned fls_long(unsigned long l) in fls_long() function228 return (int)fls_long(--l); in get_count_order_long()
32 vmid_bits = fls_long(vmid_bits); in kvm_riscv_gstage_vmid_detect()
22 if (fls_long(resource_mask) > num_cores) in skl_enable_logs()
23 if (fls_long(resource_mask) > num_cores) in apl_enable_logs()
199 mask = 1ULL << (fls_long(tbl->it_offset + tbl->it_size) + in dma_iommu_get_required_mask()
235 asid_bits = fls_long(asid_bits); in asids_init()
119 unsigned long scale = fls_long(*parent_rate / rate - 1); in clk_fractional_divider_general_approximation()
249 bit = fls_long(usec); in gtm_set_timer16()
351 int bit = fls_long(eirr); in eirr_to_irq()
728 max_order = fls_long(totalram_pages() - 1); in workingset_init()
176 for_each_clear_bit_from(b, &new, fls_long(mask)) { in catpt_dsp_set_srampge()
832 scale = fls_long(q1 - 1); in quark_x1000_get_clk_div()848 r1 = abs(fref1 / (1 << (24 - fls_long(mul))) / q1 - rate); in quark_x1000_get_clk_div()
190 align_mask <<= fls_long(size - 1); in __alloc_and_insert_iova_range()
926 grain_bits = fls_long(e->grain - 1); in edac_raw_mc_handle_error()
97 mask64 = fls_long(max_entries - 1); in array_map_alloc()
631 if (fls_long(csi2_status) >= ARRAY_SIZE(cio2_irq_errs)) in cio2_irq_log_irq_errs()
2551 pabits = fls_long(entry) + 6; in check_pabits()
1768 log2_span = fls_long(page_start ^ page_end); in arm_smmu_atc_inv_to_cmd()