Searched refs:__fls (Results 26 - 50 of 146) sorted by relevance

123456

/linux-master/arch/xtensa/include/asm/
H A Dbitops.h76 * __fls - find last (most-significant) set bit in a long word
81 static inline unsigned long __fls(unsigned long word) function
93 # include <asm-generic/bitops/__fls.h>
/linux-master/arch/sparc/lib/
H A DNG4patch.S61 NG_DO_PATCH(__fls, __NG4fls)
/linux-master/drivers/irqchip/
H A Dirq-rda-intc.c55 hwirq = __fls(stat);
H A Dirq-idt3243x.c38 hwirq = __fls(pending);
H A Dirq-goldfish-pic.c43 hwirq = __fls(pending);
H A Dirq-orion.c44 u32 hwirq = __fls(stat);
117 u32 hwirq = __fls(stat);
H A Dirq-ingenic.c50 int bit = __fls(pending);
H A Dirq-mscc-ocelot.c108 u32 hwirq = __fls(reg);
/linux-master/arch/sparc/include/asm/
H A Dbitops_32.h99 #include <asm-generic/bitops/__fls.h>
/linux-master/arch/riscv/include/asm/
H A Dbitops.h20 #include <asm-generic/bitops/__fls.h>
31 #include <asm-generic/bitops/__fls.h>
96 * __fls - find last set bit in a long word
101 #define __fls(word) \ macro
/linux-master/arch/parisc/include/asm/
H A Dbitops.h201 #include <asm-generic/bitops/__fls.h>
/linux-master/arch/hexagon/include/asm/
H A Dbitops.h275 * __fls - find last (most-significant) set bit in a long word
281 static inline unsigned long __fls(unsigned long word) function
/linux-master/arch/powerpc/include/asm/
H A Dword-at-a-time.h46 return ~1ul << __fls(mask);
/linux-master/tools/testing/selftests/powerpc/primitives/
H A Dword-at-a-time.h46 return ~1ul << __fls(mask);
/linux-master/drivers/staging/media/ipu3/
H A Dipu3-dmamap.c53 for (order_mask &= (2U << __fls(count)) - 1;
55 unsigned int order = __fls(order_mask);
/linux-master/arch/arm/include/asm/
H A Dbitops.h220 #include <asm-generic/bitops/__fls.h>
232 #include <asm-generic/bitops/builtin-__fls.h>
/linux-master/arch/mips/include/asm/
H A Dbitops.h330 static __always_inline unsigned long __fls(unsigned long word) function
398 return __fls(word & -word);
/linux-master/drivers/soc/ixp4xx/
H A Dixp4xx-qmgr.c151 i = __fls(en_bitmap); /* number of the last "low" queue */
177 i = __fls(req_bitmap); /* number of the last "high" queue */
196 i = __fls(req_bitmap); /* number of the last queue */
/linux-master/lib/lz4/
H A Dlz4defs.h191 return (BITS_PER_LONG - 1 - __fls(val)) >> 3;
/linux-master/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_wb_connector.c178 info->bpc = __fls(kcrtc->master->improc->supported_color_depths);
/linux-master/virt/kvm/
H A Ddirty_ring.c66 if (!memslot || (offset + __fls(mask)) >= memslot->npages)
/linux-master/arch/arm/mm/
H A Dpmsa-v7.c151 phys_addr_t p2size = 1 << __fls(asize);
213 phys_addr_t p2size = (1 << __fls(diff)) - 1;
/linux-master/arch/m68k/include/asm/
H A Dbitops.h512 #include <asm-generic/bitops/__fls.h>
549 static inline unsigned long __fls(unsigned long x) function
/linux-master/drivers/gpu/drm/msm/
H A Dmsm_iommu.c46 pgsizes = pagetable->pgsize_bitmap & GENMASK(__fls(size), 0);
56 pgsize_idx = __fls(pgsizes);
/linux-master/drivers/rapidio/devices/
H A Dtsi721.h167 #define TSI721_IDQ_SIZE_VAL(size) (__fls(size) - 4)
191 #define TSI721_IBWIN_SIZE(size) (__fls(size) - 12)
236 #define TSI721_OBWIN_SIZE(size) (__fls(size) - 15)
314 #define TSI721_DMAC_DSSZ_SIZE(size) (__fls(size) - 4)

Completed in 306 milliseconds

123456