Home
last modified time | relevance | path

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

/linux/tools/include/linux/
A Dlog2.h49 return 1UL << fls_long(n - 1); in __roundup_pow_of_two()
58 return 1UL << (fls_long(n) - 1); in __rounddown_pow_of_two()
A Dbitops.h57 static inline unsigned fls_long(unsigned long l) in fls_long() function
/linux/include/linux/
A Dlog2.h57 return 1UL << fls_long(n - 1); in __roundup_pow_of_two()
67 return 1UL << (fls_long(n) - 1); in __rounddown_pow_of_two()
A Dbitops.h186 static inline unsigned fls_long(unsigned long l) in fls_long() function
211 return (int)fls_long(--l); in get_count_order_long()
/linux/arch/riscv/kvm/
A Dvmid.c32 vmid_bits = fls_long(vmid_bits); in kvm_riscv_stage2_vmid_detect()
/linux/arch/riscv/mm/
A Dcontext.c225 asid_bits = fls_long(asid_bits); in asids_init()
/linux/arch/powerpc/kernel/
A Ddma-iommu.c199 mask = 1ULL << (fls_long(tbl->it_offset + tbl->it_size) + in dma_iommu_get_required_mask()
/linux/drivers/clk/
A Dclk-fractional-divider.c119 unsigned long scale = fls_long(*parent_rate / rate - 1); in clk_fractional_divider_general_approximation()
/linux/mm/
A Dworkingset.c618 max_order = fls_long(totalram_pages() - 1); in workingset_init()
/linux/arch/powerpc/sysdev/
A Dfsl_gtm.c249 bit = fls_long(usec); in gtm_set_timer16()
/linux/arch/parisc/kernel/
A Dirq.c370 int bit = fls_long(eirr); in eirr_to_irq()
/linux/sound/soc/intel/catpt/
A Ddsp.c166 for_each_clear_bit_from(b, &new, fls_long(mask)) { in catpt_dsp_set_srampge()
/linux/drivers/spi/
A Dspi-pxa2xx.c845 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()
/linux/drivers/edac/
A Dedac_mc.c995 grain_bits = fls_long(e->grain - 1); in edac_raw_mc_handle_error()
/linux/drivers/iommu/
A Diova.c245 align_mask <<= fls_long(size - 1); in __alloc_and_insert_iova_range()
/linux/kernel/bpf/
A Darraymap.c98 mask64 = fls_long(max_entries - 1); in array_map_alloc()
/linux/drivers/media/pci/intel/ipu3/
A Dipu3-cio2-main.c626 if (fls_long(csi2_status) >= ARRAY_SIZE(cio2_irq_errs)) in cio2_irq_log_irq_errs()
/linux/arch/mips/mm/
A Dtlbex.c2590 pabits = fls_long(entry) + 6; in check_pabits()
/linux/drivers/iommu/arm/arm-smmu-v3/
A Darm-smmu-v3.c1760 log2_span = fls_long(page_start ^ page_end); in arm_smmu_atc_inv_to_cmd()

Completed in 42 milliseconds