/openbmc/linux/arch/sparc/lib/ |
H A D | NG4patch.S | 61 NG_DO_PATCH(__fls, __NG4fls)
|
/openbmc/linux/arch/hexagon/include/asm/ |
H A D | bitops.h | 281 static inline unsigned long __fls(unsigned long word) in __fls() function
|
/openbmc/linux/tools/testing/selftests/powerpc/primitives/ |
H A D | word-at-a-time.h | 46 return ~1ul << __fls(mask); in zero_bytemask()
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | word-at-a-time.h | 46 return ~1ul << __fls(mask); in zero_bytemask()
|
/openbmc/linux/drivers/irqchip/ |
H A D | irq-idt3243x.c | 38 hwirq = __fls(pending); in idt_irq_dispatch()
|
H A D | irq-goldfish-pic.c | 43 hwirq = __fls(pending); in goldfish_pic_cascade()
|
H A D | irq-ingenic.c | 50 int bit = __fls(pending); in intc_cascade()
|
H A D | irq-mscc-ocelot.c | 108 u32 hwirq = __fls(reg); in ocelot_irq_handler()
|
H A D | irq-csky-apb-intc.c | 141 generic_handle_domain_irq(root_domain, irq_base + __fls(hwirq)); in handle_irq_perbit()
|
/openbmc/linux/arch/arm/mm/ |
H A D | pmsa-v7.c | 151 phys_addr_t p2size = 1 << __fls(asize); in try_split_region() 213 phys_addr_t p2size = (1 << __fls(diff)) - 1; in allocate_region()
|
/openbmc/linux/arch/xtensa/include/asm/ |
H A D | bitops.h | 81 static inline unsigned long __fls(unsigned long word) in __fls() function
|
/openbmc/linux/lib/lz4/ |
H A D | lz4defs.h | 191 return (BITS_PER_LONG - 1 - __fls(val)) >> 3; in LZ4_NbCommonBytes()
|
/openbmc/linux/drivers/gpu/drm/msm/ |
H A D | msm_iommu.c | 46 pgsizes = pagetable->pgsize_bitmap & GENMASK(__fls(size), 0); in calc_pgsize() 56 pgsize_idx = __fls(pgsizes); in calc_pgsize()
|
/openbmc/linux/drivers/memory/ |
H A D | emif.c | 356 emif_bus_width = __fls(emif_bus_width) - 1; in get_temp_alert_config() 402 timeout = __fls(timeout) - 3; in get_pwr_mgmt_ctrl() 912 dev_info->density = __fls(density) - 5; in of_get_ddr_info() 918 dev_info->io_width = __fls(io_width) - 1; in of_get_ddr_info()
|
/openbmc/linux/arch/s390/boot/ |
H A D | pgm_check_info.c | 18 char *p, *end = p = dst + max(pad, (int)__fls(val | 1) / 4 + 1); in as_hex()
|
/openbmc/linux/drivers/gpu/drm/arm/display/komeda/ |
H A D | komeda_wb_connector.c | 178 info->bpc = __fls(kcrtc->master->improc->supported_color_depths); in komeda_wb_connector_add()
|
/openbmc/linux/virt/kvm/ |
H A D | dirty_ring.c | 66 if (!memslot || (offset + __fls(mask)) >= memslot->npages) in kvm_reset_dirty_gfn()
|
/openbmc/linux/lib/ |
H A D | find_bit.c | 213 return idx * BITS_PER_LONG + __fls(val); in _find_last_bit()
|
/openbmc/linux/arch/alpha/include/asm/ |
H A D | bitops.h | 386 static inline unsigned long __fls(unsigned long x) in __fls() function
|
/openbmc/linux/drivers/hwmon/ |
H A D | w83773g.c | 168 rate = 8 - __fls((val * 8 / (625 * 7))); in set_update_interval()
|
/openbmc/linux/drivers/firmware/efi/libstub/ |
H A D | gop.c | 183 return __fls(mask) - __ffs(mask) + 1; in pixel_bpp() 426 *size = __fls(mask) - *pos + 1; in find_bits()
|
/openbmc/linux/drivers/clk/sunxi/ |
H A D | clk-usb.c | 159 reset_data->rcdev.nr_resets = __fls(data->reset_mask) + 1; in sunxi_usb_clk_setup()
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | bitops.h | 294 static __always_inline unsigned long __fls(unsigned long word) in __fls() function
|
/openbmc/linux/arch/s390/include/asm/ |
H A D | bitops.h | 337 static inline unsigned long __fls(unsigned long word) in __fls() function
|
/openbmc/linux/arch/ia64/include/asm/ |
H A D | bitops.h | 407 __fls (unsigned long x) in __fls() function
|