/linux-4.4.14/fs/nfs/flexfilelayout/ |
D | flexfilelayout.c | 228 static void ff_layout_free_mirror_array(struct nfs4_ff_layout_segment *fls) in ff_layout_free_mirror_array() argument 232 if (fls->mirror_array) { in ff_layout_free_mirror_array() 233 for (i = 0; i < fls->mirror_array_cnt; i++) { in ff_layout_free_mirror_array() 237 ff_layout_put_mirror(fls->mirror_array[i]); in ff_layout_free_mirror_array() 239 kfree(fls->mirror_array); in ff_layout_free_mirror_array() 240 fls->mirror_array = NULL; in ff_layout_free_mirror_array() 262 static void _ff_layout_free_lseg(struct nfs4_ff_layout_segment *fls) in _ff_layout_free_lseg() argument 264 if (fls) { in _ff_layout_free_lseg() 265 ff_layout_free_mirror_array(fls); in _ff_layout_free_lseg() 266 kfree(fls); in _ff_layout_free_lseg() [all …]
|
/linux-4.4.14/arch/unicore32/include/asm/ |
D | bitops.h | 25 static inline int fls(int x) in fls() function 35 #define __fls(x) (fls(x) - 1) 36 #define ffs(x) ({ unsigned long __t = (x); fls(__t & -__t); })
|
/linux-4.4.14/include/asm-generic/bitops/ |
D | fls64.h | 22 return fls(h) + 32; in fls64() 23 return fls(x); in fls64()
|
D | builtin-fls.h | 11 static __always_inline int fls(int x) in fls() function
|
D | fls.h | 12 static __always_inline int fls(int x) in fls() function
|
/linux-4.4.14/arch/arc/include/asm/ |
D | bitops.h | 261 static inline __attribute__ ((const)) int fls(unsigned long x) in fls() function 277 return fls(x) - 1; in __fls() 284 #define ffs(x) ({ unsigned long __t = (x); fls(__t & -__t); }) 304 static inline __attribute__ ((const)) int fls(unsigned long x) in fls() function
|
/linux-4.4.14/lib/ |
D | clz_ctz.c | 29 return 32 - fls(val); in __clzsi2() 39 return 32 - fls((int)val); in __clzdi2()
|
D | div64.c | 103 int n = 1 + fls(high); in div64_u64_rem() 141 int n = 1 + fls(high); in div64_u64()
|
D | reciprocal_div.c | 17 l = fls(d - 1); in reciprocal_value()
|
D | idr.c | 608 while (n < fls(id ^ bt_mask)) { in __idr_remove_all() 714 while (n < fls(id)) { in idr_for_each() 771 while (n < fls(id)) { in idr_get_next()
|
D | bitmap.c | 339 #define nbits_to_hold_value(val) fls(val)
|
D | bch.c | 278 return fls(poly)-1; in deg()
|
/linux-4.4.14/include/linux/ |
D | bitops.h | 64 order = fls(count); in get_bitmask_order() 72 order = fls(count) - 1; in get_count_order() 190 return fls(l); in fls_long()
|
D | count_zeros.h | 30 return BITS_PER_LONG - fls(x); in count_leading_zeros()
|
D | log2.h | 34 return fls(n) - 1; in __ilog2_u32()
|
/linux-4.4.14/drivers/clk/ti/ |
D | mux.c | 158 mask = (1 << fls(mask)) - 1; in ti_clk_register_mux() 219 mask = (1 << fls(mask)) - 1; in of_mux_clk_setup() 258 mux->mask = (1 << fls(mux->mask)) - 1; in ti_clk_build_component_mux() 292 mux->mask = (1 << fls(mux->mask)) - 1; in of_ti_composite_mux_clk_setup()
|
D | divider.c | 324 *width = fls(val); in _get_div_table_from_setup() 348 *width = fls(*width); in _get_div_table_from_setup() 514 return fls(val); in _get_divider_width()
|
/linux-4.4.14/arch/mn10300/include/asm/ |
D | bitops.h | 191 int fls(int x) in fls() function 220 return fls(x & -x); in ffs()
|
/linux-4.4.14/arch/arm/include/asm/ |
D | bitops.h | 273 static inline int fls(int x) in fls() function 287 return fls(x) - 1; in __fls() 296 return fls(x & -x); in ffs()
|
D | word-at-a-time.h | 40 ret = fls(mask) >> 3; in find_zero()
|
/linux-4.4.14/arch/avr32/include/asm/ |
D | bitops.h | 252 static inline int fls(unsigned long word) in fls() function 262 return fls(word) - 1; in __fls()
|
/linux-4.4.14/drivers/misc/sgi-gru/ |
D | grutlbpurge.c | 363 n = 1 << fls(cpus - 1); in gru_tgh_flush_init() 371 shift = max(0, fls(n - 1) - fls(MAX_LOCAL_TGH - 1)); in gru_tgh_flush_init()
|
/linux-4.4.14/arch/openrisc/include/asm/bitops/ |
D | fls.h | 18 static inline int fls(int x) in fls() function
|
/linux-4.4.14/arch/c6x/include/asm/ |
D | bitops.h | 57 static inline int fls(int x) in fls() function
|
/linux-4.4.14/drivers/irqchip/ |
D | irq-dw-apb-ictl.c | 119 nrirqs = 32 + fls(reg); in dw_apb_ictl_init() 121 nrirqs = fls(readl_relaxed(iobase + APB_INT_ENABLE_L)); in dw_apb_ictl_init()
|
D | irq-versatile-fpga.c | 164 f->domain = irq_domain_add_simple(node, fls(valid), irq_start, in fpga_irq_init() 168 for (i = 0; i < fls(valid); i++) in fpga_irq_init()
|
D | irq-clps711x.c | 85 fls(irqstat) - 1, regs); in clps711x_irqh() 91 fls(irqstat) - 1 + 16, regs); in clps711x_irqh()
|
D | irq-mips-cpu.c | 115 irq = fls(pending) - 1; in plat_irq_dispatch()
|
D | irq-vic.c | 303 v->domain = irq_domain_add_simple(node, fls(valid_sources), irq, in vic_register() 306 for (i = 0; i < fls(valid_sources); i++) in vic_register()
|
/linux-4.4.14/arch/mips/rb532/ |
D | irq.c | 225 group = 21 + (fls(ip) - 32); in plat_irq_dispatch() 231 pend = 39 + (fls(pend) - 32); in plat_irq_dispatch()
|
/linux-4.4.14/arch/frv/include/asm/ |
D | bitops.h | 169 #define fls(x) \ macro 240 return fls(x & -x); in ffs()
|
/linux-4.4.14/include/asm-generic/ |
D | getorder.h | 20 order = fls(size); in __get_order()
|
/linux-4.4.14/drivers/media/dvb-core/ |
D | dvb_math.c | 80 msb = fls(value) - 1; in intlog2()
|
/linux-4.4.14/arch/tile/include/asm/ |
D | bitops.h | 59 static inline int fls(int x) in fls() function
|
/linux-4.4.14/kernel/time/ |
D | timekeeping_debug.c | 72 sleep_time_bin[fls(t->tv_sec)]++; in tk_debug_account_sleep_time()
|
/linux-4.4.14/fs/xfs/libxfs/ |
D | xfs_bit.h | 44 return fls(v) - 1; in xfs_highbit32()
|
/linux-4.4.14/drivers/ide/ |
D | ide-xfer-mode.c | 194 host_pio = fls(hwif->pio_mask) - 1; in ide_set_pio() 229 mode = fls(hwif->pio_mask) - 1 + XFER_PIO_0; in ide_rate_filter()
|
D | amd74xx.c | 268 d.name, pci_name(dev), amd_dma[fls(d.udma_mask) - 1]); in amd74xx_probe()
|
D | ide-dma.c | 329 x = fls(mask) - 1; in ide_find_dma_mode()
|
D | via82cxxx.c | 442 (fls(via_config->udma_mask) - 1) : 0]); in via_init_one()
|
/linux-4.4.14/sound/soc/ |
D | soc-ops.c | 260 unsigned int mask = (1 << fls(max)) - 1; in snd_soc_get_volsw() 320 unsigned int mask = (1 << fls(max)) - 1; in snd_soc_put_volsw() 381 int mask = (1 << (fls(min + max) - 1)) - 1; in snd_soc_get_volsw_sx() 426 int mask = (1 << (fls(min + max) - 1)) - 1; in snd_soc_put_volsw_sx() 501 unsigned int mask = (1 << fls(max)) - 1; in snd_soc_put_volsw_range() 553 unsigned int mask = (1 << fls(max)) - 1; in snd_soc_get_volsw_range()
|
D | soc-dapm.c | 345 template.mask = (1 << fls(mc->max)) - 1; in dapm_kcontrol_data_alloc() 733 unsigned int mask = (1 << fls(max)) - 1; in dapm_set_mixer_path_status() 2999 unsigned int mask = (1 << fls(max)) - 1; in snd_soc_dapm_get_volsw() 3046 unsigned int mask = (1 << fls(max)) - 1; in snd_soc_dapm_put_volsw()
|
/linux-4.4.14/tools/include/linux/ |
D | bitops.h | 54 return fls(l); in fls_long()
|
D | log2.h | 30 return fls(n) - 1; in __ilog2_u32()
|
/linux-4.4.14/arch/avr32/mach-at32ap/ |
D | extint.c | 157 i = fls(pending) - 1; in demux_eic_irq() 220 nr_of_irqs = fls(pattern); in eic_probe()
|
/linux-4.4.14/drivers/clocksource/ |
D | samsung_pwm_timer.c | 111 bits = (fls(divisor) - 1) - pwm.variant.div_base; in samsung_timer_set_divisor() 389 channel = fls(mask) - 1; in _samsung_pwm_clocksource_init() 395 channel = fls(mask) - 1; in _samsung_pwm_clocksource_init()
|
D | arm_arch_timer.c | 317 pos = fls(evt_stream_div); in arch_timer_configure_evtstream()
|
/linux-4.4.14/sound/core/ |
D | jack.c | 320 int key = fls(SND_JACK_BTN_0) - fls(type); in snd_jack_set_key()
|
/linux-4.4.14/arch/m68k/coldfire/ |
D | m54xx.c | 104 m68k_virt_to_node_shift = fls(_ramend - _rambase - 1) - 6; in mcf54xx_bootmem_alloc()
|
/linux-4.4.14/arch/hexagon/include/asm/ |
D | bitops.h | 214 static inline long fls(int x) in fls() function
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
D | i915_gem_batch_pool.c | 111 n = fls(size >> PAGE_SHIFT) - 1; in i915_gem_batch_pool_get()
|
/linux-4.4.14/arch/xtensa/include/asm/ |
D | bitops.h | 72 static inline int fls (unsigned int x) in fls() function
|
/linux-4.4.14/arch/alpha/lib/ |
D | Makefile | 39 fls.o
|
/linux-4.4.14/sound/pci/hda/ |
D | patch_ca0132.c | 2214 const struct dsp_image_seg *fls) in dspxfr_hci_write() argument 2220 if (fls == NULL || fls->chip_addr != g_chip_addr_magic_value) { in dspxfr_hci_write() 2225 count = fls->count; in dspxfr_hci_write() 2226 data = (u32 *)(fls->data); in dspxfr_hci_write() 2255 const struct dsp_image_seg *fls, in dspxfr_one_seg() argument 2282 if (fls == NULL) in dspxfr_one_seg() 2284 if (is_hci_prog_list_seg(fls)) { in dspxfr_one_seg() 2285 hci_write = fls; in dspxfr_one_seg() 2286 fls = get_next_seg_ptr(fls); in dspxfr_one_seg() 2289 if (hci_write && (!fls || is_last(fls))) { in dspxfr_one_seg() [all …]
|
/linux-4.4.14/tools/perf/ |
D | MANIFEST | 39 tools/include/asm-generic/bitops/fls.h 59 include/asm-generic/bitops/fls.h
|
/linux-4.4.14/drivers/cpufreq/ |
D | at32ap-cpufreq.c | 79 steps = fls(frequency / min_freq) + 1; in at32_cpufreq_driver_init()
|
/linux-4.4.14/arch/mips/include/asm/ |
D | bitops.h | 558 static inline int fls(int x) in fls() function 616 return fls(word & -word); in ffs()
|
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_netdev.c | 1281 dglort.rss_l = fls(interface->ring_feature[RING_F_RSS].mask); in fm10k_dfwd_add_station() 1282 dglort.pc_l = fls(interface->ring_feature[RING_F_QOS].mask); in fm10k_dfwd_add_station() 1284 dglort.shared_l = fls(l2_accel->size); in fm10k_dfwd_add_station() 1338 dglort.rss_l = fls(interface->ring_feature[RING_F_RSS].mask); in fm10k_dfwd_del_station() 1339 dglort.pc_l = fls(interface->ring_feature[RING_F_QOS].mask); in fm10k_dfwd_del_station() 1341 dglort.shared_l = fls(l2_accel->size); in fm10k_dfwd_del_station()
|
D | fm10k_iov.c | 215 dglort.rss_l = fls(fm10k_queues_per_pool(hw) - 1); in fm10k_iov_resume() 217 dglort.vsi_l = fls(hw->iov.total_vfs - 1); in fm10k_iov_resume()
|
D | fm10k_pci.c | 783 dglort.rss_l = fls(interface->ring_feature[RING_F_RSS].mask); in fm10k_configure_dglort() 784 dglort.pc_l = fls(interface->ring_feature[RING_F_QOS].mask); in fm10k_configure_dglort() 793 dglort.queue_l = fls(interface->num_rx_queues - 1); in fm10k_configure_dglort() 801 dglort.rss_l = fls(interface->ring_feature[RING_F_RSS].mask); in fm10k_configure_dglort() 802 dglort.pc_l = fls(interface->ring_feature[RING_F_QOS].mask); in fm10k_configure_dglort() 806 dglort.shared_l = fls(interface->l2_accel->size); in fm10k_configure_dglort()
|
D | fm10k_main.c | 1486 f->mask = (1 << fls(pcs - 1)) - 1; in fm10k_set_qos_queues() 1490 rss_i = 1 << (fls(rss_i) - 1); in fm10k_set_qos_queues() 1496 f->mask = (1 << fls(rss_i - 1)) - 1; in fm10k_set_qos_queues() 1526 f->mask = (1 << fls(rss_i - 1)) - 1; in fm10k_set_rss_queues()
|
D | fm10k_ethtool.c | 1144 max_combined = 1 << (fls(max_combined / tcs) - 1); in fm10k_max_channels()
|
/linux-4.4.14/arch/parisc/include/asm/ |
D | bitops.h | 184 static __inline__ int fls(int x) in fls() function
|
/linux-4.4.14/arch/arm/mach-lpc32xx/ |
D | irq.c | 378 int irqno = fls(ints) - 1; in lpc32xx_sic1_handler() 391 int irqno = fls(ints) - 1; in lpc32xx_sic2_handler()
|
/linux-4.4.14/arch/m68k/include/asm/ |
D | bitops.h | 500 static inline int fls(int x) in fls() function 512 return fls(x) - 1; in __fls()
|
/linux-4.4.14/drivers/net/wireless/mediatek/mt7601u/ |
D | tx.c | 279 cw_min = fls(params->cw_min); in mt7601u_conf_tx() 281 cw_max = fls(params->cw_max); in mt7601u_conf_tx()
|
D | phy.c | 612 exp = fls(mantisa) - 16; in lin2dBd()
|
/linux-4.4.14/drivers/gpio/ |
D | gpio-pca953x.c | 121 int bank_shift = fls((chip->gpio_chip.ngpio - 1) / BANK_SZ); in pca953x_read_single() 140 int bank_shift = fls((chip->gpio_chip.ngpio - 1) / BANK_SZ); in pca953x_write_single() 161 int bank_shift = fls((chip->gpio_chip.ngpio - 1) / BANK_SZ); in pca953x_write_regs() 199 int bank_shift = fls((chip->gpio_chip.ngpio - 1) / BANK_SZ); in pca953x_read_regs()
|
D | gpio-stp-xway.c | 234 chip->gc.ngpio = fls(chip->groups) * 8; in xway_stp_probe()
|
D | gpio-mxs.c | 168 int irqoffset = fls(irq_stat) - 1; in mxs_gpio_irq_handler()
|
D | gpio-mxc.c | 263 int irqoffset = fls(irq_stat) - 1; in mxc_gpio_irq_handler()
|
D | gpio-bcm-kona.c | 286 res = fls(debounce) - 1; in bcm_kona_gpio_set_debounce()
|
D | gpio-dwapb.c | 136 int hwirq = fls(irq_status) - 1; in dwapb_do_irq()
|
/linux-4.4.14/drivers/mmc/host/ |
D | atmel-mci-regs.h | 166 return fls(maxburst) - 2; in atmci_convert_chksize()
|
D | sh_mmcif.c | 537 clkdiv = (fls(DIV_ROUND_UP(current_clk, clk) - 1) - 1) << 16; in sh_mmcif_clock_control() 1055 host->mmc->f_min = f_min / (1 << fls(host->clkdiv_map)); in sh_mmcif_clk_setup()
|
D | pxamci.c | 495 host->clkrt = fls(clk) - 1; in pxamci_set_ios()
|
D | mvsdio.c | 96 tmout_index = fls(tmout - 1) - 12; in mvsd_setup_data()
|
/linux-4.4.14/arch/mips/loongson64/common/ |
D | mem.c | 33 bit = fls(memsize + highmemsize); in prom_init_memory()
|
/linux-4.4.14/arch/x86/crypto/ |
D | camellia-x86_64-asm_64.S | 114 #define fls(l, r, kl, kr) \ macro 144 fls(RAB, RCD, i + 0, i + 1); 173 fls(RAB, RCD, i + 1, i + 0);
|
/linux-4.4.14/sound/soc/codecs/ |
D | tpa6130a2.c | 200 unsigned int mask = (1 << fls(max)) - 1; in tpa6130a2_get_volsw() 229 unsigned int mask = (1 << fls(max)) - 1; in tpa6130a2_put_volsw()
|
D | twl4030.c | 849 int mask = (1 << fls(max)) - 1; in snd_soc_get_volsw_twl4030() 878 int mask = (1 << fls(max)) - 1; in snd_soc_put_volsw_twl4030() 907 int mask = (1<<fls(max))-1; in snd_soc_get_volsw_r2_twl4030() 934 int mask = (1 << fls(max)) - 1; in snd_soc_put_volsw_r2_twl4030()
|
D | 88pm860x-codec.c | 337 unsigned int mask = (1 << fls(max)) - 1; in snd_soc_get_volsw_2r_out() 357 unsigned int mask = (1 << fls(max)) - 1; in snd_soc_put_volsw_2r_out()
|
D | max98090.c | 361 unsigned int mask = (1 << fls(mc->max)) - 1; in max98090_get_enab_tlv() 401 unsigned int mask = (1 << fls(mc->max)) - 1; in max98090_put_enab_tlv()
|
D | ab8500-codec.c | 2310 slot = fls(tx_mask); in ab8500_codec_set_dai_tdm_slot() 2352 slot = fls(rx_mask); in ab8500_codec_set_dai_tdm_slot()
|
D | pcm512x.c | 663 pow2 = 1 << fls((pcm512x_pll_max(pcm512x) - 16000000) / bclk_rate); in pcm512x_find_sck()
|
D | tlv320aic3x.c | 157 unsigned int mask = (1 << fls(max)) - 1; in snd_soc_dapm_put_volsw_aic3x()
|
D | da7219.c | 1233 if (fls(tx_mask) > DA7219_DAI_TDM_MAX_SLOTS) { in da7219_set_dai_tdm_slot()
|
/linux-4.4.14/drivers/infiniband/hw/mthca/ |
D | mthca_mr.c | 848 fls(dev->limits.num_mtt_segs - 1)); in mthca_init_mr_table() 857 i = fls(dev->limits.fmr_reserved_mtts - 1); in mthca_init_mr_table() 900 err = mthca_buddy_init(&dev->mr_table.tavor_fmr.mtt_buddy, fls(mtts - 1)); in mthca_init_mr_table() 905 err = mthca_buddy_alloc(&dev->mr_table.mtt_buddy, fls(mtts - 1)); in mthca_init_mr_table() 916 i = fls(dev->limits.reserved_mtts - 1); in mthca_init_mr_table()
|
D | mthca_srq.c | 660 ((1 << (fls(dev->limits.max_desc_sz) - 1)) - in mthca_max_srq_sge()
|
D | mthca_qp.c | 712 cpu_to_be32(fls(attr->max_rd_atomic - 1) << 21); in __mthca_modify_qp() 729 cpu_to_be32(fls(attr->max_dest_rd_atomic - 1) << 21); in __mthca_modify_qp()
|
/linux-4.4.14/drivers/pinctrl/samsung/ |
D | pinctrl-s3c64xx.c | 479 nr_eints = fls(mask); in s3c64xx_eint_gpio_init() 619 irq = fls(pend) - 1; in s3c64xx_irq_demux_eint() 746 nr_eints = fls(mask); in s3c64xx_eint_eint0_init()
|
D | pinctrl-exynos.c | 447 irq = fls(pend) - 1; in exynos_irq_demux_eint()
|
/linux-4.4.14/arch/x86/include/asm/ |
D | bitops.h | 437 static inline int fls(int x) in fls() function
|
/linux-4.4.14/drivers/mfd/ |
D | htc-egpio.c | 297 ei->bus_shift = fls(pdata->bus_width - 1) - 3; in egpio_probe() 302 ei->reg_shift = fls(pdata->reg_width - 1); in egpio_probe()
|
D | twl4030-irq.c | 533 int i = fls(edge_change) - 1; in twl4030_sih_bus_sync_unlock() 610 irq = fls(isr); in handle_twl4030_sih()
|
D | menelaus.c | 790 int irq = fls(isr) - 1; in menelaus_work()
|
/linux-4.4.14/sound/drivers/pcsp/ |
D | pcsp.c | 69 order = fls(div) - 1; in snd_pcsp_create()
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | bitops.h | 236 static __inline__ int fls(unsigned int x) in fls() function
|
/linux-4.4.14/arch/arm/mach-imx/ |
D | tzic.c | 143 irqofs = fls(stat) - 1; in tzic_handle_irq()
|
/linux-4.4.14/drivers/mtd/nand/ |
D | nand_bch.c | 140 m = fls(1+8*eccsize); in nand_bch_init()
|
D | sunxi_nand.c | 1005 mode = fls(mode) - 1; in sunxi_nand_chip_init_timings() 1062 ecc->bytes = DIV_ROUND_UP(ecc->strength * fls(8 * 1024), 8); in sunxi_nand_hw_common_ecc_ctrl_init()
|
D | nand_base.c | 3352 mtd->erasesize = 1 << (fls(le32_to_cpu(p->pages_per_block)) - 1); in nand_flash_detect_onfi() 3358 chip->chipsize = 1 << (fls(le32_to_cpu(p->blocks_per_lun)) - 1); in nand_flash_detect_onfi() 3448 mtd->erasesize = 1 << (fls(le32_to_cpu(p->pages_per_block)) - 1); in nand_flash_detect_jedec() 3454 chip->chipsize = 1 << (fls(le32_to_cpu(p->blocks_per_lun)) - 1); in nand_flash_detect_jedec() 4250 ecc->strength * fls(8 * ecc->size), 8); in nand_scan_tail()
|
D | s3c2410.c | 545 if ((diff0 & ~(1<<fls(diff0))) == 0) in s3c2410_nand_correct_data()
|
D | mxc_nand.c | 1082 addr_phases = fls(chip->pagemask) >> 3; in preset_v3()
|
/linux-4.4.14/drivers/clk/ |
D | clk-mux.c | 131 width = fls(mask) - ffs(mask) + 1; in clk_register_mux_table()
|
/linux-4.4.14/drivers/media/usb/uvc/ |
D | uvc_status.c | 192 interval = fls(interval) - 1; in uvc_status_init()
|
/linux-4.4.14/arch/mips/pci/ |
D | msi-xlp.c | 322 msivec = fls(md->msi_alloc_mask); in xlp_setup_msi() 421 t = fls(md->msix_alloc_mask); in xlp_setup_msix()
|
D | pci-lantiq.c | 91 bar11mask = (0x0ffffff0 & ~((1 << (fls(mem) - 1)) - 1)) | 8; in ltq_calc_bar11mask()
|
/linux-4.4.14/arch/arm/vfp/ |
D | vfpdouble.c | 56 int bits = 31 - fls(vd->significand >> 32); in vfp_double_normalise_denormal() 58 bits = 63 - fls(vd->significand); in vfp_double_normalise_denormal() 95 shift = 32 - fls(significand >> 32); in vfp_double_normaliseround() 97 shift = 64 - fls(significand); in vfp_double_normaliseround()
|
D | vfpsingle.c | 56 int bits = 31 - fls(vs->significand); in vfp_single_normalise_denormal() 102 shift = 32 - fls(significand); in __vfp_single_normaliseround()
|
/linux-4.4.14/arch/arm/mach-pxa/ |
D | irq.c | 106 handle_IRQ(PXA_IRQ(fls(mask) - 1), regs); in icip_handle_irq()
|
/linux-4.4.14/drivers/gpu/drm/msm/mdp/mdp5/ |
D | mdp5_irq.c | 108 irq_hw_number_t hwirq = fls(intr) - 1; in mdp5_irq()
|
/linux-4.4.14/arch/ia64/pci/ |
D | pci.c | 632 low_totalram = (1 << (fls(low_totalram) - 1)); in ia64_dma_get_required_mask() 636 high_totalram = (1 << (fls(high_totalram) - 1)); in ia64_dma_get_required_mask()
|
/linux-4.4.14/arch/arm/probes/uprobes/ |
D | actions-arm.c | 47 freereg = free = fls(free) - 1; in uprobes_substitute_pc()
|
/linux-4.4.14/arch/alpha/include/asm/ |
D | bitops.h | 393 static inline int fls(int x) in fls() function
|
/linux-4.4.14/arch/arm64/kernel/ |
D | setup.c | 142 ls = fls(affinity); in smp_build_mpidr_hash()
|
/linux-4.4.14/arch/m68k/mm/ |
D | motorola.c | 245 m68k_virt_to_node_shift = fls(max_addr - min_addr - 1) - 6; in paging_init()
|
/linux-4.4.14/arch/arc/kernel/ |
D | mcip.c | 288 if (cpu != fls(distri)) in idu_irq_xlate()
|
/linux-4.4.14/drivers/net/wireless/realtek/rtl818x/rtl8180/ |
D | dev.c | 767 basic_max = fls(basic_mask) - 1; in rtl8180_conf_basic_rates() 775 resp_max = fls(resp_mask) - 1; in rtl8180_conf_basic_rates() 1385 cw_min = fls(params->cw_min); in rtl8187se_conf_ac_parm() 1386 cw_max = fls(params->cw_max); in rtl8187se_conf_ac_parm() 1425 cw_min = fls(params->cw_min); in rtl8180_conf_tx() 1426 cw_max = fls(params->cw_max); in rtl8180_conf_tx()
|
/linux-4.4.14/arch/s390/include/asm/ |
D | bitops.h | 445 static inline int fls(int word) in fls() function
|
/linux-4.4.14/arch/mips/ath79/ |
D | irq.c | 251 irq = fls(pending) - 1; in plat_irq_dispatch()
|
/linux-4.4.14/arch/ia64/include/asm/ |
D | bitops.h | 391 fls (int t) in fls() function
|
/linux-4.4.14/drivers/net/wireless/rt2x00/ |
D | rt2x00mac.c | 707 queue->cw_min = fls(params->cw_min); in rt2x00mac_conf_tx() 712 queue->cw_max = fls(params->cw_max); in rt2x00mac_conf_tx()
|
/linux-4.4.14/drivers/pinctrl/ |
D | pinctrl-falcon.c | 425 return fls(avail); in pinctrl_falcon_get_range_size() 470 pins = fls(avail); in pinctrl_falcon_probe()
|
/linux-4.4.14/drivers/ata/ |
D | libata-transport.c | 341 ata_link_linkspeed_attr(hw_sata_spd_limit, fls); 342 ata_link_linkspeed_attr(sata_spd_limit, fls);
|
D | ahci_brcmstb.c | 193 if (fls(impl) > SATA_TOP_MAX_PHYS) in brcm_ahci_get_portmask()
|
D | acard-ahci.c | 462 n_ports = max(ahci_nr_ports(hpriv->cap), fls(hpriv->port_map)); in acard_ahci_init_one()
|
D | libata-core.c | 924 int highbit = fls(xfer_mask) - 1; in ata_xfer_mask2mode() 1018 highbit = fls(xfer_mask) - 1; in ata_mode_string() 2786 bit = fls(mask) - 1; in sata_down_spd_limit() 2813 sata_spd_string(fls(mask))); in sata_down_spd_limit() 2835 target = fls(limit); in __sata_set_spd_needed() 3147 highbit = fls(pio_mask) - 1; in ata_down_xfermask_limit() 3153 highbit = fls(udma_mask) - 1; in ata_down_xfermask_limit() 3158 highbit = fls(mwdma_mask) - 1; in ata_down_xfermask_limit()
|
D | libahci_platform.c | 541 n_ports = max(ahci_nr_ports(hpriv->cap), fls(hpriv->port_map)); in ahci_platform_init_host()
|
D | sata_highbank.c | 533 n_ports = max(ahci_nr_ports(hpriv->cap), fls(hpriv->port_map)); in ahci_highbank_probe()
|
/linux-4.4.14/fs/ubifs/ |
D | lpt.c | 82 c->space_bits = fls(c->leb_size) - 3; in do_calc_lpt_geom() 83 c->lpt_lnum_bits = fls(c->lpt_lebs); in do_calc_lpt_geom() 84 c->lpt_offs_bits = fls(c->leb_size - 1); in do_calc_lpt_geom() 85 c->lpt_spc_bits = fls(c->leb_size); in do_calc_lpt_geom() 88 c->pcnt_bits = fls(n - 1); in do_calc_lpt_geom() 90 c->lnum_bits = fls(c->max_leb_cnt - 1); in do_calc_lpt_geom()
|
D | super.c | 518 c->min_io_shift = fls(c->min_io_size) - 1; in init_constants_early() 520 c->max_write_shift = fls(c->max_write_size) - 1; in init_constants_early()
|
/linux-4.4.14/arch/arm/plat-orion/ |
D | pcie.c | 171 size = 1 << fls(size); in orion_pcie_setup_wins()
|
/linux-4.4.14/drivers/clk/at91/ |
D | clk-programmable.c | 153 shift = fls(div) - 1; in clk_programmable_set_rate()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/device/ |
D | tegra.c | 107 tdev->iommu.pgshift = fls(pgsize_bitmap & ~PAGE_MASK); in nvkm_device_tegra_probe_iommu()
|
/linux-4.4.14/fs/9p/ |
D | vfs_super.c | 80 sb->s_blocksize_bits = fls(v9ses->maxdata - 1); in v9fs_fill_super()
|
/linux-4.4.14/arch/avr32/mm/ |
D | tlb.c | 87 rp = 32 - fls(tlbar); in update_dtlb()
|
/linux-4.4.14/drivers/dma/ |
D | at_hdmac_regs.h | 294 *maxburst = fls(*maxburst) - 2; in convert_burst()
|
D | mpc512x_dma.c | 332 while ((ch = fls(status) - 1) >= 0) { in mpc_dma_irq_process()
|
D | sirf-dma.c | 280 while ((ch = fls(is) - 1) >= 0) { in sirfsoc_dma_irq()
|
/linux-4.4.14/drivers/bus/ |
D | brcmstb_gisb.c | 333 last = fls(gdev->valid_mask) - 1; in brcmstb_gisb_arb_probe()
|
/linux-4.4.14/drivers/pci/host/ |
D | pci-mvebu.c | 247 size = 1 << fls(size); in mvebu_pcie_setup_wins() 334 size_t sz = 1 << (fls(size) - 1); in mvebu_pcie_del_windows() 356 size_t sz = 1 << (fls(size) - 1); in mvebu_pcie_add_windows()
|
/linux-4.4.14/drivers/platform/chrome/ |
D | cros_ec_proto.c | 262 fls(proto_info->protocol_versions) - 1); in cros_ec_query_all()
|
/linux-4.4.14/drivers/usb/gadget/udc/bdc/ |
D | bdc_cmd.c | 205 si = fls(desc->bInterval * 8) - 1; in bdc_config_ep()
|
D | bdc_core.c | 243 size = fls(NUM_SR_ENTRIES) - 2; in bdc_mem_init()
|
/linux-4.4.14/drivers/soc/dove/ |
D | pmu.c | 240 u32 hwirq = fls(stat) - 1; in pmu_irq_handler()
|
/linux-4.4.14/drivers/usb/core/ |
D | config.c | 200 n = fls(d->bInterval*8); in usb_parse_endpoint() 212 n = clamp(fls(d->bInterval), i, j); in usb_parse_endpoint()
|
/linux-4.4.14/fs/fscache/ |
D | object.c | 194 event = fls(events & t->events) - 1; in fscache_object_sm_dispatcher() 208 event = fls(events & t->events) - 1; in fscache_object_sm_dispatcher()
|
/linux-4.4.14/arch/c6x/kernel/ |
D | traps.c | 322 type_num = fls(type) - 1; in process_exception()
|
/linux-4.4.14/drivers/mtd/nand/bcm47xxnflash/ |
D | ops_bcm4706.c | 433 if (!tbits || tbits != fls(chipsize)) { in bcm47xxnflash_ops_bcm4706_init()
|
/linux-4.4.14/drivers/media/i2c/ |
D | mt9v032.c | 420 hbin = fls(mt9v032->hratio) - 1; in mt9v032_s_stream() 421 vbin = fls(mt9v032->vratio) - 1; in mt9v032_s_stream()
|
/linux-4.4.14/drivers/base/ |
D | platform.c | 1107 low_totalram = (1 << (fls(low_totalram) - 1)); in dma_get_required_mask() 1111 high_totalram = (1 << (fls(high_totalram) - 1)); in dma_get_required_mask()
|
/linux-4.4.14/drivers/xen/ |
D | balloon.c | 119 #define EXTENT_ORDER (fls(XEN_PFN_PER_PAGE) - 1)
|
/linux-4.4.14/drivers/misc/echo/ |
D | echo.c | 225 return (int)fls((int32_t) bits) - 1; in top_bit()
|
/linux-4.4.14/drivers/rtc/ |
D | rtc-max8997.c | 93 tm->tm_wday = fls(data[RTC_WEEKDAY] & 0x7f) - 1; in max8997_rtc_data_to_tm()
|
/linux-4.4.14/drivers/net/can/c_can/ |
D | c_can.c | 447 idx = fls(atomic_read(&priv->tx_active)); in c_can_start_xmit() 727 lasts = fls(pend); in c_can_adjust_pending()
|
/linux-4.4.14/drivers/media/pci/cx88/ |
D | cx88-input.c | 550 bits = min(todo, 32U - fls(ev.pulse ? samples : ~samples)); in cx88_ir_irq()
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb3/ |
D | t3_hw.c | 2596 V_TXDATAACKIDX(fls(p->tx_pg_size) - 12)); in partition_mem() 2703 unsigned int tre = fls(core_clk / (1000000 / TP_TMR_RES)) - 1; in tp_set_timers() 2704 unsigned int dack_re = fls(core_clk / 5000) - 1; /* 200us */ in tp_set_timers() 2705 unsigned int tstamp_re = fls(core_clk / 1000); /* 1ms, at least */ in tp_set_timers() 2876 unsigned int log2 = fls(mtu); in t3_load_mtus() 3308 log2_width = fls(adap->params.pci.width) - 1; in config_pcie()
|
/linux-4.4.14/mm/ |
D | vmstat.c | 155 threshold = 2 * fls(num_online_cpus()) * (1 + fls(mem)); in calculate_normal_threshold()
|
D | slab_common.c | 863 index = fls(size - 1); in kmalloc_slab()
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/ |
D | mr.c | 938 fls(dev->caps.reserved_mtts - 1)); in mlx4_init_mr_table() 967 fls(dev->caps.reserved_mtts - 1)); in mlx4_cleanup_mr_table()
|
/linux-4.4.14/drivers/spi/ |
D | spi-imx.c | 260 post = fls(fin) - fls(fspi); in mx51_ecspi_clkdiv()
|
/linux-4.4.14/drivers/input/keyboard/ |
D | pmic8xxx-keypad.c | 442 bits = fls(scan_delay_ms) - 1; in pmic8xxx_kpd_init()
|
/linux-4.4.14/arch/mips/kernel/ |
D | pm-cps.c | 574 uasm_i_andi(&p, v0, t1, (1 << fls(smp_num_siblings)) - 1); in cps_gen_entry_code()
|
D | cpu-probe.c | 683 c->core >>= fls(core_nvpes()) - 1; in decode_configs()
|
/linux-4.4.14/drivers/pwm/ |
D | pwm-samsung.c | 128 bits = (fls(divisor) - 1) - pwm->variant.div_base; in pwm_samsung_set_divisor()
|
/linux-4.4.14/drivers/hwmon/ |
D | nct6683.c | 1199 fls(data->have_pwm)); in nct6683_probe() 1217 fls(data->have_fan)); in nct6683_probe()
|
D | nct6775.c | 4091 fls(data->have_in)); in nct6775_probe() 4098 fls(data->has_fan)); in nct6775_probe() 4105 fls(data->have_temp)); in nct6775_probe()
|
/linux-4.4.14/drivers/vfio/pci/ |
D | vfio_pci_intrs.c | 302 vdev->msi_qmax = fls(nvec * 2 - 1) - 1; in vfio_msi_enable()
|
/linux-4.4.14/drivers/net/wireless/rsi/ |
D | rsi_91x_sdio.c | 158 s32 bit = (fls(host->ocr_avail) - 1); in rsi_reset_card()
|
/linux-4.4.14/drivers/md/bcache/ |
D | bset.c | 408 unsigned b = fls(j); in __to_inorder() 409 unsigned shift = fls(size - 1) - b; in __to_inorder()
|
/linux-4.4.14/net/sched/ |
D | cls_flow.c | 413 if (fls(keymask) - 1 > FLOW_KEY_MAX) in flow_change()
|
D | sch_qfq.c | 830 int last_flip_pos = fls(vslot ^ old_vslot); in qfq_make_eligible()
|
/linux-4.4.14/drivers/iio/adc/ |
D | vf610_adc.c | 201 adc_feature->clk_div = 1 << fls(divisor + 1); in vf610_adc_calculate_rates()
|
/linux-4.4.14/fs/proc/ |
D | array.c | 139 return task_state_array[fls(state)]; in get_task_state()
|
/linux-4.4.14/drivers/md/ |
D | dm-kcopyd.c | 129 int shift = fls(t->total_period >> ACCOUNT_INTERVAL_SHIFT); in io_job_start()
|
/linux-4.4.14/arch/arm/kernel/ |
D | setup.c | 566 ls = fls(affinity); in smp_build_mpidr_hash()
|
/linux-4.4.14/drivers/gpu/drm/exynos/ |
D | exynos_drm_fimc.c | 970 hfactor = fls(src_w / dst_w / 2); in fimc_set_prescaler() 976 vfactor = fls(src_h / dst_h / 2); in fimc_set_prescaler()
|
/linux-4.4.14/net/netfilter/ipset/ |
D | ip_set_hash_gen.h | 121 u8 bits = fls(hashsize - 1); in htable_bits() 125 bits = fls(hashsize); in htable_bits()
|
/linux-4.4.14/net/sunrpc/ |
D | auth.c | 54 nbits = fls(num); in param_set_hashtbl_sz()
|
/linux-4.4.14/drivers/usb/host/whci/ |
D | qset.c | 85 phy_rate = fls(phy_rates) - 1; in qset_fill_qh()
|
/linux-4.4.14/net/netfilter/ |
D | xt_recent.c | 751 ip_list_hash_size = 1 << fls(ip_list_tot); in recent_mt_init()
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/dvm/ |
D | scan.c | 927 u8 ant_idx = fls(priv->nvm_data->valid_tx_ant) - 1; in iwl_init_scan_params()
|
/linux-4.4.14/drivers/crypto/nx/ |
D | nx-842-pseries.c | 140 int bucket = fls(time); in ibm_nx842_incr_hist()
|
/linux-4.4.14/drivers/net/wireless/realtek/rtl818x/rtl8187/ |
D | dev.c | 1353 cw_min = fls(params->cw_min); in rtl8187_conf_tx() 1354 cw_max = fls(params->cw_max); in rtl8187_conf_tx()
|
/linux-4.4.14/drivers/i2c/busses/ |
D | i2c-at91.c | 197 ckdiv = fls(div >> 8); in at91_calc_twi_clock()
|
/linux-4.4.14/drivers/dma/xilinx/ |
D | xilinx_vdma.c | 1152 xdev->common.copy_align = fls(width - 1); in xilinx_vdma_chan_probe()
|
/linux-4.4.14/drivers/mmc/core/ |
D | core.c | 1536 bit = fls(ocr) - 1; in mmc_select_voltage() 1717 host->ios.vdd = fls(ocr) - 1; in mmc_power_up()
|
/linux-4.4.14/net/mac80211/ |
D | sta_info.c | 1330 return fls(tids) - 1; in find_highest_prio_tid() 1334 return fls(tids) - 1; in find_highest_prio_tid()
|
/linux-4.4.14/drivers/net/wireless/ath/ath9k/ |
D | ar9003_paprd.c | 409 return fls(num) - 1; in find_expn()
|
/linux-4.4.14/drivers/block/ |
D | nbd.c | 1007 part_shift = fls(max_part); in nbd_init()
|
/linux-4.4.14/drivers/clk/st/ |
D | clkgen-pll.c | 1027 div->width = fls(pll_data->odf[odf].mask); in clkgen_odf_register()
|
/linux-4.4.14/fs/ext4/ |
D | mballoc.c | 683 min = fls(len) - 1; in ext4_mb_mark_free_simple() 2126 i = fls(ac->ac_g_ex.fe_len); in ext4_mb_regular_allocator() 3408 order = fls(ac->ac_o_ex.fe_len) - 1; in ext4_mb_use_preallocated() 4311 order = fls(pa->pa_free) - 1; in ext4_mb_add_n_trim()
|
/linux-4.4.14/drivers/media/platform/soc_camera/ |
D | mx3_camera.c | 561 if (buswidth > fls(mx3_cam->width_flags)) in test_platform_param()
|
/linux-4.4.14/net/sunrpc/xprtrdma/ |
D | verbs.c | 1383 segments = 1 << (fls(bytes / sizeof(struct rpcrdma_segment)) - 1); in rpcrdma_max_segments()
|
/linux-4.4.14/drivers/tty/serial/ |
D | max310x.c | 727 max310x_port_irq(s, fls(val) - 1); in max310x_ist()
|
/linux-4.4.14/drivers/usb/host/ |
D | xhci-mem.c | 772 max_primary_streams = fls(stream_info->num_stream_ctxs) - 2; in xhci_setup_streams_ep_input_ctx() 1245 interval = fls(desc_interval) - 1; in xhci_microframes_to_exponent()
|
/linux-4.4.14/arch/arm/net/ |
D | bpf_jit_32.c | 187 return fls(ctx->seen & SEEN_MEM); in mem_words_used()
|
/linux-4.4.14/drivers/char/ |
D | random.c | 839 credit_entropy_bits(r, min_t(int, fls(delta>>1), 11)); in add_timer_randomness()
|
/linux-4.4.14/drivers/net/ethernet/emulex/benet/ |
D | be_cmds.c | 1166 u32 len_encoded = fls(q_len); /* log2(len) + 1 */ in be_encoded_q_len() 1367 req->frag_size = fls(frag_size) - 1; in be_cmd_rxq_create() 2164 req->cpu_table_size_log2 = cpu_to_le16(fls(table_size) - 1); in be_cmd_rss_config()
|