Home
last modified time | relevance | path

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

/linux-6.1.9/tools/include/linux/
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()
Dbitops.h73 static inline unsigned fls_long(unsigned long l) in fls_long() function
/linux-6.1.9/include/linux/
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()
Dbitops.h203 static inline unsigned fls_long(unsigned long l) in fls_long() function
228 return (int)fls_long(--l); in get_count_order_long()
/linux-6.1.9/arch/riscv/kvm/
Dvmid.c32 vmid_bits = fls_long(vmid_bits); in kvm_riscv_gstage_vmid_detect()
/linux-6.1.9/sound/soc/intel/avs/
Dskl.c22 if (fls_long(resource_mask) > num_cores) in skl_enable_logs()
Dapl.c23 if (fls_long(resource_mask) > num_cores) in apl_enable_logs()
/linux-6.1.9/arch/powerpc/kernel/
Ddma-iommu.c199 mask = 1ULL << (fls_long(tbl->it_offset + tbl->it_size) + in dma_iommu_get_required_mask()
/linux-6.1.9/arch/riscv/mm/
Dcontext.c235 asid_bits = fls_long(asid_bits); in asids_init()
/linux-6.1.9/drivers/clk/
Dclk-fractional-divider.c119 unsigned long scale = fls_long(*parent_rate / rate - 1); in clk_fractional_divider_general_approximation()
/linux-6.1.9/arch/powerpc/sysdev/
Dfsl_gtm.c249 bit = fls_long(usec); in gtm_set_timer16()
/linux-6.1.9/arch/parisc/kernel/
Dirq.c351 int bit = fls_long(eirr); in eirr_to_irq()
/linux-6.1.9/mm/
Dworkingset.c728 max_order = fls_long(totalram_pages() - 1); in workingset_init()
/linux-6.1.9/sound/soc/intel/catpt/
Ddsp.c176 for_each_clear_bit_from(b, &new, fls_long(mask)) { in catpt_dsp_set_srampge()
/linux-6.1.9/drivers/spi/
Dspi-pxa2xx.c832 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()
/linux-6.1.9/drivers/iommu/
Diova.c190 align_mask <<= fls_long(size - 1); in __alloc_and_insert_iova_range()
/linux-6.1.9/drivers/edac/
Dedac_mc.c926 grain_bits = fls_long(e->grain - 1); in edac_raw_mc_handle_error()
/linux-6.1.9/kernel/bpf/
Darraymap.c97 mask64 = fls_long(max_entries - 1); in array_map_alloc()
/linux-6.1.9/drivers/media/pci/intel/ipu3/
Dipu3-cio2-main.c631 if (fls_long(csi2_status) >= ARRAY_SIZE(cio2_irq_errs)) in cio2_irq_log_irq_errs()
/linux-6.1.9/arch/mips/mm/
Dtlbex.c2551 pabits = fls_long(entry) + 6; in check_pabits()
/linux-6.1.9/drivers/iommu/arm/arm-smmu-v3/
Darm-smmu-v3.c1768 log2_span = fls_long(page_start ^ page_end); in arm_smmu_atc_inv_to_cmd()