Searched refs:__fls (Results 51 - 75 of 146) sorted by relevance

123456

/linux-master/drivers/irqchip/
H A Dirq-csky-apb-intc.c141 generic_handle_domain_irq(root_domain, irq_base + __fls(hwirq));
/linux-master/arch/powerpc/include/asm/
H A Dbitops.h289 #include <asm-generic/bitops/builtin-__fls.h>
/linux-master/arch/alpha/include/asm/
H A Dbitops.h406 static inline unsigned long __fls(unsigned long x) function
/linux-master/arch/s390/include/asm/
H A Dbitops.h342 * __fls - find last (most-significant) set bit in a long word
347 static inline unsigned long __fls(unsigned long word) function
/linux-master/drivers/memory/
H A Demif.c348 emif_bus_width = __fls(emif_bus_width) - 1;
394 timeout = __fls(timeout) - 3;
903 dev_info->density = __fls(density) - 5;
909 dev_info->io_width = __fls(io_width) - 1;
/linux-master/drivers/hwmon/
H A Dw83773g.c163 * rate = 8 - __fls(interval * 8 / (62.5 * 7));
165 * for __fls.
168 rate = 8 - __fls((val * 8 / (625 * 7)));
/linux-master/drivers/clk/sunxi/
H A Dclk-usb.c162 reset_data->rcdev.nr_resets = __fls(data->reset_mask) + 1;
/linux-master/arch/s390/boot/
H A Dpgm_check_info.c18 char *p, *end = p = dst + max(pad, (int)__fls(val | 1) / 4 + 1);
/linux-master/lib/
H A Dfind_bit.c225 return idx * BITS_PER_LONG + __fls(val);
/linux-master/arch/x86/include/asm/
H A Dbitops.h288 * __fls: find last set bit in word
293 static __always_inline unsigned long __fls(unsigned long word) function
/linux-master/drivers/firmware/efi/libstub/
H A Dgop.c183 return __fls(mask) - __ffs(mask) + 1;
426 *size = __fls(mask) - *pos + 1;
/linux-master/drivers/gpu/drm/ttm/
H A Dttm_pool.c456 for (order = min_t(unsigned int, MAX_PAGE_ORDER, __fls(num_pages));
458 order = min_t(unsigned int, order, __fls(num_pages))) {
/linux-master/drivers/hwmon/pmbus/
H A Dadm1275.c791 BIT(__fls(avg)) != avg) {
808 BIT(__fls(avg)) != avg) {
/linux-master/drivers/gpu/drm/xe/
H A Dxe_mmio.c89 rebar_size = 1ULL << (__fls(bar_size_bit) + BAR_SIZE_SHIFT);
94 rebar_size = 1ULL << (__fls(bar_size_mask) + BAR_SIZE_SHIFT);
/linux-master/arch/mips/lantiq/
H A Dirq.c301 irq = __fls(irq);
/linux-master/include/sound/
H A Dpcm_params.h60 return __fls(mask->bits[i]) + (i << 5);
/linux-master/drivers/bus/mhi/host/
H A Dtrace.h163 pm_state = __fls(pm_state);
/linux-master/net/sched/
H A Dsch_qfq.c241 index = __fls(size_map) + 1; /* basically a log_2 */
1393 mask = ~((1UL << __fls(mask)) - 1);
1443 max_cl_shift = __fls(max_classes);
/linux-master/sound/soc/codecs/
H A Dpcm186x.c443 last_slot = __fls(tx_mask);
/linux-master/security/selinux/ss/
H A Debitmap.c239 __fls(n2->maps[i]);
/linux-master/arch/arm/kernel/
H A Dmodule.c65 shift = val ? (31 - __fls(val)) & ~1 : 32;
/linux-master/sound/soc/intel/avs/
H A Dboard_selection.c488 (unsigned long)__fls(mach->mach_params.i2s_link_mask));
/linux-master/fs/bcachefs/
H A Dbtree_locking.h154 return __fls(path->nodes_locked) >> 1;
/linux-master/include/linux/
H A Dfind.h411 return val ? __fls(val) : size;
/linux-master/drivers/media/i2c/
H A Dimx335.c780 __fls(imx335->link_freq_bitmap),
1228 __fls(imx335->link_freq_bitmap),

Completed in 521 milliseconds

123456