mult 332 arch/arm/kernel/vdso.c vdso_data->cs_mult = tk->tkr_mono.mult; mult 40 arch/arm/lib/delay.c static inline u64 cyc_to_ns(u64 cyc, u32 mult, u32 shift) mult 42 arch/arm/lib/delay.c return (cyc * mult) >> shift; mult 360 arch/arm/mach-davinci/da850.c unsigned int mult; mult 369 arch/arm/mach-davinci/da850.c .mult = 19, mult 378 arch/arm/mach-davinci/da850.c .mult = 17, mult 387 arch/arm/mach-davinci/da850.c .mult = 31, mult 396 arch/arm/mach-davinci/da850.c .mult = 25, mult 405 arch/arm/mach-davinci/da850.c .mult = 25, mult 414 arch/arm/mach-davinci/da850.c .mult = 20, mult 112 arch/arm/mach-omap2/clkt2xxx_dpllcore.c u32 cur_rate, low, mult, div, valid_rate, done_rate; mult 118 arch/arm/mach-omap2/clkt2xxx_dpllcore.c mult = omap2xxx_cm_get_core_clk_src(); mult 120 arch/arm/mach-omap2/clkt2xxx_dpllcore.c if ((rate == (cur_rate / 2)) && (mult == 2)) { mult 122 arch/arm/mach-omap2/clkt2xxx_dpllcore.c } else if ((rate == (cur_rate * 2)) && (mult == 1)) { mult 129 arch/arm/mach-omap2/clkt2xxx_dpllcore.c if (mult == 1) mult 147 arch/arm/mach-omap2/clkt2xxx_dpllcore.c mult = ((rate / 2) / 1000000); mult 151 arch/arm/mach-omap2/clkt2xxx_dpllcore.c mult = (rate / 1000000); mult 155 arch/arm/mach-omap2/clkt2xxx_dpllcore.c tmpset.cm_clksel1_pll |= (mult << __ffs(dd->div1_mask)); mult 494 arch/arm/mach-s3c24xx/mach-bast.c .mult = 3300, mult 500 arch/arm/mach-s3c24xx/mach-bast.c .mult = 3300, mult 506 arch/arm/mach-s3c24xx/mach-bast.c .mult = 3300, mult 512 arch/arm/mach-s3c24xx/mach-bast.c .mult = 3300, mult 180 arch/arm/mach-s3c64xx/mach-smartq.c .mult = 3300, mult 186 arch/arm/mach-s3c64xx/mach-smartq.c .mult = 3300, mult 267 arch/c6x/platforms/pll.c u32 ctrl, mult = 0, prediv = 0, postdiv = 0; mult 284 arch/c6x/platforms/pll.c mult = pll_read(pll, PLLM); mult 285 arch/c6x/platforms/pll.c mult = (mult & PLLM_PLLM_MASK) + 1; mult 305 arch/c6x/platforms/pll.c if (mult) mult 306 arch/c6x/platforms/pll.c rate *= mult; mult 313 arch/c6x/platforms/pll.c prediv, mult, postdiv, rate / 1000000); mult 437 arch/ia64/kernel/time.c fsyscall_gtod_data.clk_mult = tk->tkr_mono.mult; mult 150 arch/m68k/coldfire/pit.c cf_pit_clockevent.mult = div_sc(FREQ, NSEC_PER_SEC, 32); mult 173 arch/microblaze/kernel/timer.c clockevent_xilinx_timer.mult = mult 216 arch/microblaze/kernel/timer.c xilinx_cc.mult = div_sc(timer_clock_freq, NSEC_PER_SEC, mult 212 arch/mips/alchemy/common/clock.c unsigned long mult; mult 217 arch/mips/alchemy/common/clock.c mult = rate / (*parent_rate); mult 219 arch/mips/alchemy/common/clock.c if (mult && (mult < 7)) mult 220 arch/mips/alchemy/common/clock.c mult = 7; mult 221 arch/mips/alchemy/common/clock.c if (mult > a->maxmult) mult 222 arch/mips/alchemy/common/clock.c mult = a->maxmult; mult 224 arch/mips/alchemy/common/clock.c return (*parent_rate) * mult; mult 127 arch/mips/alchemy/common/time.c cd->mult = div_sc(32768, NSEC_PER_SEC, cd->shift); mult 71 arch/mips/ath79/clock.c unsigned int mult, unsigned int div) mult 76 arch/mips/ath79/clock.c clk = clk_register_fixed_factor(NULL, name, parent, 0, mult, div); mult 126 arch/mips/ath79/clock.c u32 mult, div, ddr_div, ahb_div; mult 133 arch/mips/ath79/clock.c mult = ((pll >> AR724X_PLL_FB_SHIFT) & AR724X_PLL_FB_MASK); mult 139 arch/mips/ath79/clock.c ath79_set_ff_clk(ATH79_CLK_CPU, "ref", mult, div); mult 140 arch/mips/ath79/clock.c ath79_set_ff_clk(ATH79_CLK_DDR, "ref", mult, div * ddr_div); mult 141 arch/mips/ath79/clock.c ath79_set_ff_clk(ATH79_CLK_AHB, "ref", mult, div * ahb_div); mult 119 arch/mips/cavium-octeon/csrc-octeon.c u64 mult = clocksource_mips.mult; mult 133 arch/mips/cavium-octeon/csrc-octeon.c : [cnt] "r" (cnt), [mult] "r" (mult), [shift] "r" (shift) mult 98 arch/mips/kernel/cevt-txx9.c __raw_writel(((u64)(NSEC_PER_SEC / HZ) * evt->mult) >> evt->shift, mult 279 arch/mips/loongson64/loongson-3/hpet.c .mult = 0, mult 285 arch/mips/loongson64/loongson-3/hpet.c csrc_hpet.mult = clocksource_hz2mult(HPET_FREQ, csrc_hpet.shift); mult 150 arch/mips/ralink/cevt-rt3352.c np, systick.dev.mult, systick.dev.shift); mult 213 arch/nds32/kernel/vdso.c vdso_data->cs_mult = tk->tkr_mono.mult; mult 872 arch/powerpc/kernel/time.c u32 mult = tk->tkr_mono.mult; mult 905 arch/powerpc/kernel/time.c if (mult <= 62500000 && clock->shift >= 16) mult 906 arch/powerpc/kernel/time.c new_tb_to_xs = ((u64) mult * 295147905179ULL) >> (clock->shift - 16); mult 908 arch/powerpc/kernel/time.c new_tb_to_xs = (u64) mult * (19342813113834067ULL >> clock->shift); mult 971 arch/powerpc/kernel/time.c clock->name, clock->mult, clock->shift); mult 1003 arch/powerpc/kernel/time.c dec->name, dec->mult, dec->shift, cpu); mult 1006 arch/powerpc/kernel/time.c decrementer_clockevent.mult = dec->mult; mult 171 arch/s390/kernel/time.c cd->mult = 16777; mult 266 arch/s390/kernel/time.c .mult = 1000, mult 311 arch/s390/kernel/time.c vdso_data->tk_mult = tk->tkr_mono.mult; mult 69 arch/s390/kernel/vtime.c u64 delta, fac, mult, div; mult 75 arch/s390/kernel/vtime.c mult = div = 0; mult 79 arch/s390/kernel/vtime.c mult *= i + 1; mult 80 arch/s390/kernel/vtime.c mult += delta * fac; mult 86 arch/s390/kernel/vtime.c __this_cpu_write(mt_scaling_mult, mult); mult 106 arch/s390/kernel/vtime.c u64 mult = __this_cpu_read(mt_scaling_mult); mult 110 arch/s390/kernel/vtime.c return vtime * mult / div; mult 42 arch/sh/kernel/cpu/sh4a/clock-sh7343.c unsigned long mult; mult 45 arch/sh/kernel/cpu/sh4a/clock-sh7343.c mult = __raw_readl(DLLFRQ); mult 47 arch/sh/kernel/cpu/sh4a/clock-sh7343.c mult = 0; mult 49 arch/sh/kernel/cpu/sh4a/clock-sh7343.c return clk->parent->rate * mult; mult 64 arch/sh/kernel/cpu/sh4a/clock-sh7343.c unsigned long mult = 1; mult 67 arch/sh/kernel/cpu/sh4a/clock-sh7343.c mult = (((__raw_readl(FRQCR) >> 24) & 0x1f) + 1); mult 69 arch/sh/kernel/cpu/sh4a/clock-sh7343.c return clk->parent->rate * mult; mult 42 arch/sh/kernel/cpu/sh4a/clock-sh7366.c unsigned long mult; mult 45 arch/sh/kernel/cpu/sh4a/clock-sh7366.c mult = __raw_readl(DLLFRQ); mult 47 arch/sh/kernel/cpu/sh4a/clock-sh7366.c mult = 0; mult 49 arch/sh/kernel/cpu/sh4a/clock-sh7366.c return clk->parent->rate * mult; mult 64 arch/sh/kernel/cpu/sh4a/clock-sh7366.c unsigned long mult = 1; mult 68 arch/sh/kernel/cpu/sh4a/clock-sh7366.c mult = (((__raw_readl(FRQCR) >> 24) & 0x1f) + 1); mult 72 arch/sh/kernel/cpu/sh4a/clock-sh7366.c return (clk->parent->rate * mult) / div; mult 45 arch/sh/kernel/cpu/sh4a/clock-sh7722.c unsigned long mult; mult 48 arch/sh/kernel/cpu/sh4a/clock-sh7722.c mult = __raw_readl(DLLFRQ); mult 50 arch/sh/kernel/cpu/sh4a/clock-sh7722.c mult = 0; mult 52 arch/sh/kernel/cpu/sh4a/clock-sh7722.c return clk->parent->rate * mult; mult 67 arch/sh/kernel/cpu/sh4a/clock-sh7722.c unsigned long mult = 1; mult 71 arch/sh/kernel/cpu/sh4a/clock-sh7722.c mult = (((__raw_readl(FRQCR) >> 24) & 0x1f) + 1); mult 75 arch/sh/kernel/cpu/sh4a/clock-sh7722.c return (clk->parent->rate * mult) / div; mult 46 arch/sh/kernel/cpu/sh4a/clock-sh7723.c unsigned long mult; mult 49 arch/sh/kernel/cpu/sh4a/clock-sh7723.c mult = __raw_readl(DLLFRQ); mult 51 arch/sh/kernel/cpu/sh4a/clock-sh7723.c mult = 0; mult 53 arch/sh/kernel/cpu/sh4a/clock-sh7723.c return clk->parent->rate * mult; mult 68 arch/sh/kernel/cpu/sh4a/clock-sh7723.c unsigned long mult = 1; mult 72 arch/sh/kernel/cpu/sh4a/clock-sh7723.c mult = (((__raw_readl(FRQCR) >> 24) & 0x1f) + 1); mult 76 arch/sh/kernel/cpu/sh4a/clock-sh7723.c return (clk->parent->rate * mult) / div; mult 49 arch/sh/kernel/cpu/sh4a/clock-sh7724.c unsigned long mult = 0; mult 53 arch/sh/kernel/cpu/sh4a/clock-sh7724.c mult = __raw_readl(FLLFRQ) & 0x3ff; mult 58 arch/sh/kernel/cpu/sh4a/clock-sh7724.c return (clk->parent->rate * mult) / div; mult 73 arch/sh/kernel/cpu/sh4a/clock-sh7724.c unsigned long mult = 1; mult 76 arch/sh/kernel/cpu/sh4a/clock-sh7724.c mult = (((__raw_readl(FRQCRA) >> 24) & 0x3f) + 1) * 2; mult 78 arch/sh/kernel/cpu/sh4a/clock-sh7724.c return clk->parent->rate * mult; mult 20 arch/sparc/include/asm/vvar.h int mult; mult 133 arch/sparc/kernel/time_32.c ce->mult = div_sc(sparc_config.clock_rate, NSEC_PER_SEC, mult 229 arch/sparc/kernel/time_32.c ce->mult = div_sc(sparc_config.clock_rate, NSEC_PER_SEC, mult 862 arch/sparc/kernel/time_64.c clocksource_tick.mult, clocksource_tick.shift); mult 875 arch/sparc/kernel/time_64.c sparc64_clockevent.mult, sparc64_clockevent.shift); mult 36 arch/sparc/kernel/vdso.c vdata->clock.mult = tk->tkr_mono.mult; mult 133 arch/sparc/vdso/vclock_gettime.c return v * vvar->clock.mult; mult 143 arch/sparc/vdso/vclock_gettime.c return v * vvar->clock.mult; mult 122 arch/um/kernel/time.c .mult = 1, mult 287 arch/x86/include/asm/vdso/gettimeofday.h u64 vdso_calc_delta(u64 cycles, u64 last, u64 mask, u32 mult) mult 290 arch/x86/include/asm/vdso/gettimeofday.h return (cycles - last) * mult; mult 760 arch/x86/kernel/apic/apic.c unsigned long mult; mult 773 arch/x86/kernel/apic/apic.c mult = clocksource_hz2mult(PMTMR_TICKS_PER_SEC, 22); mult 781 arch/x86/kernel/apic/apic.c res = (((u64)deltapm) * mult) >> 22; mult 812 arch/x86/kernel/apic/apic.c lapic_clockevent.mult = div_sc(lapic_timer_period/APIC_DIVISOR, mult 968 arch/x86/kernel/apic/apic.c apic_printk(APIC_VERBOSE, "..... mult: %u\n", lapic_clockevent.mult); mult 1057 arch/x86/kernel/apic/apic.c lapic_clockevent.mult = 1; mult 302 arch/x86/kernel/hpet.c delta = ((uint64_t)(NSEC_PER_SEC / HZ)) * evt->mult; mult 1094 arch/x86/kernel/hpet.c clc = (uint64_t) evt->mult * NSEC_PER_SEC; mult 1191 arch/x86/kernel/hpet.c clc = (uint64_t) evt->mult * NSEC_PER_SEC; mult 1626 arch/x86/kvm/x86.c u32 mult; mult 1650 arch/x86/kvm/x86.c vdata->clock.mult = tk->tkr_mono.mult; mult 2114 arch/x86/kvm/x86.c return v * gtod->clock.mult; mult 35 arch/x86/math-emu/poly.h asmlinkage void mul32_Xsig(Xsig *, const unsigned long mult); mult 36 arch/x86/math-emu/poly.h asmlinkage void mul64_Xsig(Xsig *, const unsigned long long *mult); mult 37 arch/x86/math-emu/poly.h asmlinkage void mul_Xsig_Xsig(Xsig *dest, const Xsig *mult); mult 375 arch/x86/platform/uv/uv_time.c clock_event_device_uv.mult = div_sc(sn_rtc_cycles_per_second, mult 224 arch/x86/xen/time.c .mult = 1, mult 285 arch/x86/xen/time.c .mult = 1, mult 2009 drivers/atm/eni.c struct eni_multipliers mult; mult 2012 drivers/atm/eni.c if (copy_from_user(&mult, arg, mult 2015 drivers/atm/eni.c if ((mult.tx && mult.tx <= 100) || (mult.rx &&mult.rx <= 100) || mult 2016 drivers/atm/eni.c mult.tx > 65536 || mult.rx > 65536) mult 2018 drivers/atm/eni.c if (mult.tx) eni_dev->tx_mult = mult.tx; mult 2019 drivers/atm/eni.c if (mult.rx) eni_dev->rx_mult = mult.rx; mult 658 drivers/atm/he.c int mult, buf, buf_limit = 4; mult 741 drivers/atm/he.c mult = he_dev->atm_dev->link_rate / ATM_OC3_PCR; mult 742 drivers/atm/he.c if (rate_cps > (272ULL * mult)) mult 744 drivers/atm/he.c else if (rate_cps > (204ULL * mult)) mult 746 drivers/atm/he.c else if (rate_cps > (136ULL * mult)) mult 748 drivers/atm/he.c else if (rate_cps > (68ULL * mult)) mult 85 drivers/clk/actions/owl-composite.h .rate.fix_fact_hw.mult = _mul, \ mult 18 drivers/clk/actions/owl-fixed-factor.h .mult = _mul, \ mult 66 drivers/clk/berlin/berlin2-pll.c rate *= fbdiv * map->mult; mult 13 drivers/clk/berlin/berlin2-pll.h u8 mult; mult 136 drivers/clk/berlin/bg2.c .mult = 10, mult 67 drivers/clk/berlin/bg2q.c .mult = 1, mult 130 drivers/clk/clk-aspeed.c unsigned int mult, div; mult 134 drivers/clk/clk-aspeed.c mult = div = 1; mult 141 drivers/clk/clk-aspeed.c mult = (2 - od) * (n + 2); mult 145 drivers/clk/clk-aspeed.c mult, div); mult 150 drivers/clk/clk-aspeed.c unsigned int mult, div; mult 154 drivers/clk/clk-aspeed.c mult = div = 1; mult 161 drivers/clk/clk-aspeed.c mult = (m + 1) / (n + 1); mult 166 drivers/clk/clk-aspeed.c mult, div); mult 160 drivers/clk/clk-ast2600.c unsigned int mult, div; mult 164 drivers/clk/clk-ast2600.c mult = div = 1; mult 170 drivers/clk/clk-ast2600.c mult = (m + 1) / (n + 1); mult 174 drivers/clk/clk-ast2600.c mult, div); mult 179 drivers/clk/clk-ast2600.c unsigned int mult, div; mult 183 drivers/clk/clk-ast2600.c mult = div = 1; mult 190 drivers/clk/clk-ast2600.c mult = (2 - od) * (m + 2); mult 194 drivers/clk/clk-ast2600.c mult, div); mult 28 drivers/clk/clk-fixed-factor.c rate = (unsigned long long int)parent_rate * fix->mult; mult 41 drivers/clk/clk-fixed-factor.c best_parent = (rate / fix->mult) * fix->div; mult 45 drivers/clk/clk-fixed-factor.c return (*prate / fix->div) * fix->mult; mult 70 drivers/clk/clk-fixed-factor.c unsigned long flags, unsigned int mult, unsigned int div) mult 83 drivers/clk/clk-fixed-factor.c fix->mult = mult; mult 111 drivers/clk/clk-fixed-factor.c unsigned int mult, unsigned int div) mult 114 drivers/clk/clk-fixed-factor.c flags, mult, div); mult 120 drivers/clk/clk-fixed-factor.c unsigned int mult, unsigned int div) mult 124 drivers/clk/clk-fixed-factor.c hw = clk_hw_register_fixed_factor(dev, name, parent_name, flags, mult, mult 167 drivers/clk/clk-fixed-factor.c u32 div, mult; mult 176 drivers/clk/clk-fixed-factor.c if (of_property_read_u32(node, "clock-mult", &mult)) { mult 188 drivers/clk/clk-fixed-factor.c flags, mult, div); mult 278 drivers/clk/clk-gemini.c unsigned int mult, div; mult 328 drivers/clk/clk-gemini.c mult = 1; mult 331 drivers/clk/clk-gemini.c mult = 3; mult 334 drivers/clk/clk-gemini.c hw = clk_hw_register_fixed_factor(NULL, "secdiv", "ahb", 0, mult, div); mult 359 drivers/clk/clk-gemini.c mult = 1; mult 397 drivers/clk/clk-gemini.c unsigned int mult, div; mult 444 drivers/clk/clk-gemini.c mult = 13 + ((val >> AHBSPEED_SHIFT) & AHBSPEED_MASK); mult 448 drivers/clk/clk-gemini.c mult *= 2; mult 449 drivers/clk/clk-gemini.c hw = clk_hw_register_fixed_factor(NULL, "vco", "xtal", 0, mult, div); mult 84 drivers/clk/clk-milbeaut.c u8 mult; mult 536 drivers/clk/clk-milbeaut.c factors->mult, factors->div); mult 15 drivers/clk/clk-multiplier.c static inline u32 clk_mult_readl(struct clk_multiplier *mult) mult 17 drivers/clk/clk-multiplier.c if (mult->flags & CLK_MULTIPLIER_BIG_ENDIAN) mult 18 drivers/clk/clk-multiplier.c return ioread32be(mult->reg); mult 20 drivers/clk/clk-multiplier.c return readl(mult->reg); mult 23 drivers/clk/clk-multiplier.c static inline void clk_mult_writel(struct clk_multiplier *mult, u32 val) mult 25 drivers/clk/clk-multiplier.c if (mult->flags & CLK_MULTIPLIER_BIG_ENDIAN) mult 26 drivers/clk/clk-multiplier.c iowrite32be(val, mult->reg); mult 28 drivers/clk/clk-multiplier.c writel(val, mult->reg); mult 31 drivers/clk/clk-multiplier.c static unsigned long __get_mult(struct clk_multiplier *mult, mult 35 drivers/clk/clk-multiplier.c if (mult->flags & CLK_MULTIPLIER_ROUND_CLOSEST) mult 44 drivers/clk/clk-multiplier.c struct clk_multiplier *mult = to_clk_multiplier(hw); mult 47 drivers/clk/clk-multiplier.c val = clk_mult_readl(mult) >> mult->shift; mult 48 drivers/clk/clk-multiplier.c val &= GENMASK(mult->width - 1, 0); mult 50 drivers/clk/clk-multiplier.c if (!val && mult->flags & CLK_MULTIPLIER_ZERO_BYPASS) mult 69 drivers/clk/clk-multiplier.c struct clk_multiplier *mult = to_clk_multiplier(hw); mult 80 drivers/clk/clk-multiplier.c !(mult->flags & CLK_MULTIPLIER_ZERO_BYPASS)) mult 118 drivers/clk/clk-multiplier.c struct clk_multiplier *mult = to_clk_multiplier(hw); mult 120 drivers/clk/clk-multiplier.c mult->width, mult->flags); mult 128 drivers/clk/clk-multiplier.c struct clk_multiplier *mult = to_clk_multiplier(hw); mult 129 drivers/clk/clk-multiplier.c unsigned long factor = __get_mult(mult, rate, parent_rate); mult 133 drivers/clk/clk-multiplier.c if (mult->lock) mult 134 drivers/clk/clk-multiplier.c spin_lock_irqsave(mult->lock, flags); mult 136 drivers/clk/clk-multiplier.c __acquire(mult->lock); mult 138 drivers/clk/clk-multiplier.c val = clk_mult_readl(mult); mult 139 drivers/clk/clk-multiplier.c val &= ~GENMASK(mult->width + mult->shift - 1, mult->shift); mult 140 drivers/clk/clk-multiplier.c val |= factor << mult->shift; mult 141 drivers/clk/clk-multiplier.c clk_mult_writel(mult, val); mult 143 drivers/clk/clk-multiplier.c if (mult->lock) mult 144 drivers/clk/clk-multiplier.c spin_unlock_irqrestore(mult->lock, flags); mult 146 drivers/clk/clk-multiplier.c __release(mult->lock); mult 164 drivers/clk/clk-npcm7xx.c u8 mult; mult 1144 drivers/clk/clk-qoriq.c u32 mult; mult 1188 drivers/clk/clk-qoriq.c mult = cg_in(cg, reg); mult 1191 drivers/clk/clk-qoriq.c if (mult & PLL_KILL) { mult 1198 drivers/clk/clk-qoriq.c mult = (mult & GENMASK(8, 1)) >> 1; mult 1200 drivers/clk/clk-qoriq.c mult = (mult & GENMASK(6, 1)) >> 1; mult 1217 drivers/clk/clk-qoriq.c pll->div[i].name, input, 0, mult, i + 1); mult 434 drivers/clk/clk-stm32f4.c unsigned long mult = 1; mult 437 drivers/clk/clk-stm32f4.c mult = 2; mult 440 drivers/clk/clk-stm32f4.c unsigned long best_parent = rate / mult; mult 445 drivers/clk/clk-stm32f4.c return *prate * mult; mult 335 drivers/clk/clk-stm32mp1.c unsigned int mult; mult 406 drivers/clk/clk-stm32mp1.c cfg->flags, ff_cfg->mult, mult 921 drivers/clk/clk-stm32mp1.c unsigned int mult = 0; mult 927 drivers/clk/clk-stm32mp1.c mult = 2; mult 930 drivers/clk/clk-stm32mp1.c mult = 4; mult 932 drivers/clk/clk-stm32mp1.c return mult; mult 1113 drivers/clk/clk-stm32mp1.c .mult = _mult,\ mult 120 drivers/clk/davinci/pll.c u32 mult; mult 122 drivers/clk/davinci/pll.c mult = readl(pll->base + PLLM) & pll->pllm_mask; mult 123 drivers/clk/davinci/pll.c rate *= mult + 1; mult 136 drivers/clk/davinci/pll.c u32 mult; mult 143 drivers/clk/davinci/pll.c mult = rate / parent_rate; mult 144 drivers/clk/davinci/pll.c best_rate = parent_rate * mult; mult 151 drivers/clk/davinci/pll.c if (mult < pll->pllm_min || mult > pll->pllm_max) mult 162 drivers/clk/davinci/pll.c for (mult = pll->pllm_min; mult <= pll->pllm_max; mult++) { mult 163 drivers/clk/davinci/pll.c parent_rate = clk_hw_round_rate(parent, rate / mult); mult 164 drivers/clk/davinci/pll.c r = parent_rate * mult; mult 185 drivers/clk/davinci/pll.c u32 mult; mult 187 drivers/clk/davinci/pll.c mult = rate / parent_rate; mult 188 drivers/clk/davinci/pll.c writel(mult - 1, pll->base + PLLM); mult 212 drivers/clk/davinci/pll.c u32 mult; mult 214 drivers/clk/davinci/pll.c mult = readl(pll->base + PLLM) & pll->pllm_mask; mult 215 drivers/clk/davinci/pll.c rate *= mult * 2; mult 130 drivers/clk/hisilicon/clk.c clks[i].flags, clks[i].mult, mult 38 drivers/clk/hisilicon/clk.h unsigned long mult; mult 71 drivers/clk/imx/clk-pllv4.c u32 mult, mfn, mfd; mult 74 drivers/clk/imx/clk-pllv4.c mult = readl_relaxed(pll->base + PLL_CFG_OFFSET); mult 75 drivers/clk/imx/clk-pllv4.c mult &= BM_PLL_MULT; mult 76 drivers/clk/imx/clk-pllv4.c mult >>= BP_PLL_MULT; mult 84 drivers/clk/imx/clk-pllv4.c return (parent_rate * mult) + (u32)temp64; mult 134 drivers/clk/imx/clk-pllv4.c static bool clk_pllv4_is_valid_mult(unsigned int mult) mult 140 drivers/clk/imx/clk-pllv4.c if (pllv4_mult_table[i] == mult) mult 151 drivers/clk/imx/clk-pllv4.c u32 val, mult, mfn, mfd = DEFAULT_MFD; mult 154 drivers/clk/imx/clk-pllv4.c mult = rate / parent_rate; mult 156 drivers/clk/imx/clk-pllv4.c if (!clk_pllv4_is_valid_mult(mult)) mult 162 drivers/clk/imx/clk-pllv4.c temp64 = (u64)(rate - mult * parent_rate); mult 169 drivers/clk/imx/clk-pllv4.c val |= mult << BP_PLL_MULT; mult 70 drivers/clk/imx/clk.h #define imx_clk_fixed_factor(name, parent, mult, div) \ mult 71 drivers/clk/imx/clk.h to_clk(imx_clk_hw_fixed_factor(name, parent, mult, div)) mult 225 drivers/clk/imx/clk.h const char *parent, unsigned int mult, unsigned int div) mult 228 drivers/clk/imx/clk.h CLK_SET_RATE_PARENT, mult, div); mult 81 drivers/clk/keystone/pll.c u32 mult = 0, prediv, postdiv, val; mult 89 drivers/clk/keystone/pll.c mult = (val & pll_data->pllm_lower_mask); mult 94 drivers/clk/keystone/pll.c mult |= ((val & pll_data->pllm_upper_mask) mult 110 drivers/clk/keystone/pll.c rate = (rate * (mult + 1)); mult 84 drivers/clk/mediatek/clk-mtk.c CLK_SET_RATE_PARENT, ff->mult, ff->div); mult 43 drivers/clk/mediatek/clk-mtk.h int mult; mult 51 drivers/clk/mediatek/clk-mtk.h .mult = _mult, \ mult 324 drivers/clk/meson/axg.c .mult = 1, mult 351 drivers/clk/meson/axg.c .mult = 1, mult 389 drivers/clk/meson/axg.c .mult = 1, mult 415 drivers/clk/meson/axg.c .mult = 1, mult 441 drivers/clk/meson/axg.c .mult = 1, mult 253 drivers/clk/meson/g12a.c .mult = 1, mult 266 drivers/clk/meson/g12a.c .mult = 1, mult 279 drivers/clk/meson/g12a.c .mult = 1, mult 305 drivers/clk/meson/g12a.c .mult = 1, mult 1158 drivers/clk/meson/g12a.c .mult = 1, mult 1171 drivers/clk/meson/g12a.c .mult = 1, mult 1330 drivers/clk/meson/g12a.c .mult = 1, mult 1343 drivers/clk/meson/g12a.c .mult = 1, mult 1356 drivers/clk/meson/g12a.c .mult = 1, mult 1369 drivers/clk/meson/g12a.c .mult = 1, mult 1382 drivers/clk/meson/g12a.c .mult = 1, mult 1395 drivers/clk/meson/g12a.c .mult = 1, mult 1408 drivers/clk/meson/g12a.c .mult = 1, mult 1889 drivers/clk/meson/g12a.c .mult = 1, mult 1923 drivers/clk/meson/g12a.c .mult = 1, mult 2039 drivers/clk/meson/g12a.c .mult = 1, mult 2065 drivers/clk/meson/g12a.c .mult = 1, mult 2091 drivers/clk/meson/g12a.c .mult = 1, mult 2117 drivers/clk/meson/g12a.c .mult = 1, mult 2145 drivers/clk/meson/g12a.c .mult = 1, mult 2175 drivers/clk/meson/g12a.c .mult = 1, mult 3389 drivers/clk/meson/g12a.c .mult = 1, mult 3402 drivers/clk/meson/g12a.c .mult = 1, mult 3415 drivers/clk/meson/g12a.c .mult = 1, mult 3428 drivers/clk/meson/g12a.c .mult = 1, mult 3441 drivers/clk/meson/g12a.c .mult = 1, mult 3454 drivers/clk/meson/g12a.c .mult = 1, mult 3467 drivers/clk/meson/g12a.c .mult = 1, mult 3480 drivers/clk/meson/g12a.c .mult = 1, mult 150 drivers/clk/meson/gxbb.c .mult = 2, mult 556 drivers/clk/meson/gxbb.c .mult = 1, mult 585 drivers/clk/meson/gxbb.c .mult = 1, mult 623 drivers/clk/meson/gxbb.c .mult = 1, mult 649 drivers/clk/meson/gxbb.c .mult = 1, mult 675 drivers/clk/meson/gxbb.c .mult = 1, mult 2092 drivers/clk/meson/gxbb.c .mult = 1, mult 2105 drivers/clk/meson/gxbb.c .mult = 1, mult 2118 drivers/clk/meson/gxbb.c .mult = 1, mult 2131 drivers/clk/meson/gxbb.c .mult = 1, mult 2144 drivers/clk/meson/gxbb.c .mult = 1, mult 2157 drivers/clk/meson/gxbb.c .mult = 1, mult 2170 drivers/clk/meson/gxbb.c .mult = 1, mult 2183 drivers/clk/meson/gxbb.c .mult = 1, mult 266 drivers/clk/meson/meson8b.c .mult = 1, mult 301 drivers/clk/meson/meson8b.c .mult = 1, mult 329 drivers/clk/meson/meson8b.c .mult = 1, mult 357 drivers/clk/meson/meson8b.c .mult = 1, mult 385 drivers/clk/meson/meson8b.c .mult = 1, mult 645 drivers/clk/meson/meson8b.c .mult = 1, mult 659 drivers/clk/meson/meson8b.c .mult = 1, mult 808 drivers/clk/meson/meson8b.c .mult = 1, mult 821 drivers/clk/meson/meson8b.c .mult = 1, mult 834 drivers/clk/meson/meson8b.c .mult = 1, mult 847 drivers/clk/meson/meson8b.c .mult = 1, mult 860 drivers/clk/meson/meson8b.c .mult = 1, mult 873 drivers/clk/meson/meson8b.c .mult = 1, mult 886 drivers/clk/meson/meson8b.c .mult = 1, mult 1225 drivers/clk/meson/meson8b.c .mult = 1, mult 1255 drivers/clk/meson/meson8b.c .mult = 1, mult 1285 drivers/clk/meson/meson8b.c .mult = 1, mult 1315 drivers/clk/meson/meson8b.c .mult = 1, mult 1392 drivers/clk/meson/meson8b.c .mult = 1, mult 1422 drivers/clk/meson/meson8b.c .mult = 1, mult 1452 drivers/clk/meson/meson8b.c .mult = 1, mult 1482 drivers/clk/meson/meson8b.c .mult = 1, mult 647 drivers/clk/microchip/clk-core.c u32 mult, odiv, div, v; mult 652 drivers/clk/microchip/clk-core.c mult = ((v >> PLL_MULT_SHIFT) & PLL_MULT_MASK) + 1; mult 660 drivers/clk/microchip/clk-core.c rate64 *= mult; mult 679 drivers/clk/microchip/clk-core.c u32 mult, odiv, v; mult 682 drivers/clk/microchip/clk-core.c ret = spll_calc_mult_div(pll, rate, parent_rate, &mult, &odiv); mult 703 drivers/clk/microchip/clk-core.c v |= (mult << PLL_MULT_SHIFT) | (odiv << PLL_ODIV_SHIFT); mult 58 drivers/clk/mmp/clk.c clks[i].flags, clks[i].mult, mult 158 drivers/clk/mmp/clk.h unsigned long mult; mult 114 drivers/clk/mvebu/armada-370.c void __iomem *sar, int id, int *mult, int *div) mult 121 drivers/clk/mvebu/armada-370.c *mult = a370_nbclk_ratios[opt][0]; mult 125 drivers/clk/mvebu/armada-370.c *mult = a370_hclk_ratios[opt][0]; mult 129 drivers/clk/mvebu/armada-370.c *mult = a370_dramclk_ratios[opt][0]; mult 115 drivers/clk/mvebu/armada-375.c void __iomem *sar, int id, int *mult, int *div) mult 122 drivers/clk/mvebu/armada-375.c *mult = armada_375_cpu_l2_ratios[opt][0]; mult 126 drivers/clk/mvebu/armada-375.c *mult = armada_375_cpu_ddr_ratios[opt][0]; mult 115 drivers/clk/mvebu/armada-37xx-tbg.c unsigned int mult, div; mult 118 drivers/clk/mvebu/armada-37xx-tbg.c mult = tbg_get_mult(reg, &tbg[i]); mult 121 drivers/clk/mvebu/armada-37xx-tbg.c parent_name, 0, mult, div); mult 99 drivers/clk/mvebu/armada-38x.c void __iomem *sar, int id, int *mult, int *div) mult 106 drivers/clk/mvebu/armada-38x.c *mult = armada_38x_cpu_l2_ratios[opt][0]; mult 110 drivers/clk/mvebu/armada-38x.c *mult = armada_38x_cpu_ddr_ratios[opt][0]; mult 92 drivers/clk/mvebu/armada-39x.c void __iomem *sar, int id, int *mult, int *div) mult 96 drivers/clk/mvebu/armada-39x.c *mult = 1; mult 100 drivers/clk/mvebu/armada-39x.c *mult = 1; mult 104 drivers/clk/mvebu/armada-39x.c *mult = 1; mult 136 drivers/clk/mvebu/armada-xp.c void __iomem *sar, int id, int *mult, int *div) mult 149 drivers/clk/mvebu/armada-xp.c *mult = axp_nbclk_ratios[opt][0]; mult 153 drivers/clk/mvebu/armada-xp.c *mult = axp_hclk_ratios[opt][0]; mult 157 drivers/clk/mvebu/armada-xp.c *mult = axp_dramclk_ratios[opt][0]; mult 158 drivers/clk/mvebu/common.c int mult, div; mult 162 drivers/clk/mvebu/common.c desc->get_clk_ratio(base, desc->ratios[n].id, &mult, &div); mult 164 drivers/clk/mvebu/common.c cpuclk_name, 0, mult, div); mult 30 drivers/clk/mvebu/common.h void (*get_clk_ratio)(void __iomem *sar, int id, int *mult, int *div); mult 126 drivers/clk/mvebu/dove.c void __iomem *sar, int id, int *mult, int *div) mult 133 drivers/clk/mvebu/dove.c *mult = dove_cpu_l2_ratios[opt][0]; mult 141 drivers/clk/mvebu/dove.c *mult = dove_cpu_ddr_ratios[opt][0]; mult 127 drivers/clk/mvebu/kirkwood.c void __iomem *sar, int id, int *mult, int *div) mult 133 drivers/clk/mvebu/kirkwood.c *mult = kirkwood_cpu_l2_ratios[opt][0]; mult 141 drivers/clk/mvebu/kirkwood.c *mult = kirkwood_cpu_ddr_ratios[opt][0]; mult 167 drivers/clk/mvebu/kirkwood.c void __iomem *sar, int id, int *mult, int *div) mult 173 drivers/clk/mvebu/kirkwood.c *mult = 1; mult 181 drivers/clk/mvebu/kirkwood.c *mult = mv88f6180_cpu_ddr_ratios[opt][0]; mult 118 drivers/clk/mvebu/mv98dx3236.c void __iomem *sar, int id, int *mult, int *div) mult 126 drivers/clk/mvebu/mv98dx3236.c *mult = mv98dx4251_cpu_ddr_ratios[opt][0]; mult 129 drivers/clk/mvebu/mv98dx3236.c *mult = mv98dx3236_cpu_ddr_ratios[opt][0]; mult 135 drivers/clk/mvebu/mv98dx3236.c *mult = mv98dx4251_cpu_mpll_ratios[opt][0]; mult 138 drivers/clk/mvebu/mv98dx3236.c *mult = mv98dx3236_cpu_mpll_ratios[opt][0]; mult 60 drivers/clk/mvebu/orion.c int *mult, int *div) mult 65 drivers/clk/mvebu/orion.c *mult = 1; mult 68 drivers/clk/mvebu/orion.c *mult = 1; mult 71 drivers/clk/mvebu/orion.c *mult = 0; mult 128 drivers/clk/mvebu/orion.c int *mult, int *div) mult 133 drivers/clk/mvebu/orion.c *mult = 1; mult 136 drivers/clk/mvebu/orion.c *mult = 1; mult 139 drivers/clk/mvebu/orion.c *mult = 0; mult 185 drivers/clk/mvebu/orion.c int *mult, int *div) mult 190 drivers/clk/mvebu/orion.c *mult = 1; mult 193 drivers/clk/mvebu/orion.c *mult = 1; mult 196 drivers/clk/mvebu/orion.c *mult = 0; mult 251 drivers/clk/mvebu/orion.c int *mult, int *div) mult 256 drivers/clk/mvebu/orion.c *mult = 1; mult 259 drivers/clk/mvebu/orion.c *mult = 0; mult 55 drivers/clk/mxs/clk.h const char *parent_name, unsigned int mult, unsigned int div) mult 58 drivers/clk/mxs/clk.h CLK_SET_RATE_PARENT, mult, div); mult 123 drivers/clk/pxa/clk-pxa.h .lp = { .mult = _mult_lp, .div = _div_lp }, \ mult 124 drivers/clk/pxa/clk-pxa.h .hp = { .mult = _mult_hp, .div = _div_hp }, \ mult 136 drivers/clk/pxa/clk-pxa25x.c #define PXA25X_CKEN(dev_id, con_id, parents, mult, div, \ mult 138 drivers/clk/pxa/clk-pxa25x.c PXA_CKEN(dev_id, con_id, bit, parents, mult, div, mult, div, \ mult 158 drivers/clk/qcom/common.c factor->mult = factor->div = 1; mult 417 drivers/clk/qcom/gcc-ipq8074.c .mult = 1, mult 545 drivers/clk/qcom/gcc-ipq8074.c .mult = 1, mult 645 drivers/clk/qcom/gcc-ipq8074.c .mult = 1, mult 1268 drivers/clk/qcom/gcc-ipq8074.c .mult = 1, mult 1307 drivers/clk/qcom/gcc-ipq8074.c .mult = 1, mult 1359 drivers/clk/qcom/gcc-ipq8074.c .mult = 1, mult 1521 drivers/clk/qcom/gcc-ipq8074.c .mult = 1, mult 30 drivers/clk/qcom/gcc-mdm9615.c .mult = 1, mult 53 drivers/clk/qcom/gcc-msm8994.c .mult = 1, mult 172 drivers/clk/qcom/gcc-msm8996.c .mult = 1, mult 198 drivers/clk/qcom/gcc-msm8996.c .mult = 1, mult 2687 drivers/clk/qcom/gcc-msm8996.c .mult = 1, mult 2714 drivers/clk/qcom/gcc-msm8996.c .mult = 1, mult 2815 drivers/clk/qcom/gcc-msm8996.c .mult = 1, mult 121 drivers/clk/qcom/gcc-msm8998.c .mult = 1, mult 278 drivers/clk/qcom/gcc-qcs404.c .mult = 1, mult 143 drivers/clk/qcom/gcc-sdm660.c .mult = 1, mult 169 drivers/clk/qcom/gcc-sdm660.c .mult = 1, mult 206 drivers/clk/qcom/gcc-sdm660.c .mult = 1, mult 231 drivers/clk/qcom/mmcc-msm8996.c .mult = 1, mult 67 drivers/clk/renesas/clk-r8a73a4.c unsigned int mult = 1; mult 99 drivers/clk/renesas/clk-r8a73a4.c mult = ((value >> 24) & 0x7f) + 1; mult 107 drivers/clk/renesas/clk-r8a73a4.c mult = ((value >> 24) & 0x7f) + 1; mult 152 drivers/clk/renesas/clk-r8a73a4.c mult = ((value >> 24) & 0x7f) + 1; mult 162 drivers/clk/renesas/clk-r8a73a4.c mult = 0x20 - ((readl(cpg->reg + CPG_FRQCRC) >> shift) & 0x1f); mult 181 drivers/clk/renesas/clk-r8a73a4.c mult, div); mult 69 drivers/clk/renesas/clk-r8a7740.c unsigned int mult = 1; mult 101 drivers/clk/renesas/clk-r8a7740.c mult = ((value >> 24) & 0x7f) + 1; mult 105 drivers/clk/renesas/clk-r8a7740.c mult = ((value >> 24) & 0x7f) + 1; mult 110 drivers/clk/renesas/clk-r8a7740.c mult = ((value >> 24) & 0x3f) + 1; mult 137 drivers/clk/renesas/clk-r8a7740.c mult, div); mult 95 drivers/clk/renesas/clk-r8a7779.c unsigned int mult = 1; mult 100 drivers/clk/renesas/clk-r8a7779.c mult = plla_mult; mult 103 drivers/clk/renesas/clk-r8a7779.c mult = config->z_mult; mult 116 drivers/clk/renesas/clk-r8a7779.c return clk_register_fixed_factor(NULL, name, parent_name, 0, mult, div); mult 60 drivers/clk/renesas/clk-rcar-gen2.c unsigned int mult; mult 64 drivers/clk/renesas/clk-rcar-gen2.c mult = 32 - val; mult 66 drivers/clk/renesas/clk-rcar-gen2.c return div_u64((u64)parent_rate * mult, 32); mult 73 drivers/clk/renesas/clk-rcar-gen2.c unsigned int mult; mult 78 drivers/clk/renesas/clk-rcar-gen2.c mult = div_u64((u64)rate * 32, prate); mult 79 drivers/clk/renesas/clk-rcar-gen2.c mult = clamp(mult, 1U, 32U); mult 81 drivers/clk/renesas/clk-rcar-gen2.c return *parent_rate / 32 * mult; mult 88 drivers/clk/renesas/clk-rcar-gen2.c unsigned int mult; mult 92 drivers/clk/renesas/clk-rcar-gen2.c mult = div_u64((u64)rate * 32, parent_rate); mult 93 drivers/clk/renesas/clk-rcar-gen2.c mult = clamp(mult, 1U, 32U); mult 100 drivers/clk/renesas/clk-rcar-gen2.c val |= (32 - mult) << CPG_FRQCRC_ZFC_SHIFT; mult 176 drivers/clk/renesas/clk-rcar-gen2.c fixed->mult = 1; mult 315 drivers/clk/renesas/clk-rcar-gen2.c unsigned int mult = 1; mult 329 drivers/clk/renesas/clk-rcar-gen2.c mult = config->pll0_mult; mult 333 drivers/clk/renesas/clk-rcar-gen2.c mult = ((value >> 24) & ((1 << 7) - 1)) + 1; mult 338 drivers/clk/renesas/clk-rcar-gen2.c mult = config->pll1_mult / 2; mult 341 drivers/clk/renesas/clk-rcar-gen2.c mult = config->pll3_mult; mult 373 drivers/clk/renesas/clk-rcar-gen2.c mult, div); mult 55 drivers/clk/renesas/clk-rz.c unsigned mult; mult 62 drivers/clk/renesas/clk-rz.c mult = cpg_mode ? (32 / 4) : 30; mult 64 drivers/clk/renesas/clk-rz.c return clk_register_fixed_factor(NULL, name, parent_name, 0, mult, 1); mult 82 drivers/clk/renesas/clk-rz.c mult = frqcr_tab[val]; mult 83 drivers/clk/renesas/clk-rz.c return clk_register_fixed_factor(NULL, name, "pll", 0, mult, 3); mult 81 drivers/clk/renesas/clk-sh73a0.c unsigned int mult = 1; mult 112 drivers/clk/renesas/clk-sh73a0.c mult = ((readl(enable_reg) >> 24) & 0x3f) + 1; mult 116 drivers/clk/renesas/clk-sh73a0.c mult *= 2; mult 124 drivers/clk/renesas/clk-sh73a0.c mult = __raw_readl(dsi_reg); mult 125 drivers/clk/renesas/clk-sh73a0.c if (!(mult & 0x8000)) mult 126 drivers/clk/renesas/clk-sh73a0.c mult = 1; mult 128 drivers/clk/renesas/clk-sh73a0.c mult = (mult & 0x3f) + 1; mult 154 drivers/clk/renesas/clk-sh73a0.c mult, div); mult 165 drivers/clk/renesas/r7s9210-cpg-mssr.c unsigned int mult = 1; mult 178 drivers/clk/renesas/r7s9210-cpg-mssr.c mult = 44; /* Divider 1 is 1/2 */ mult 180 drivers/clk/renesas/r7s9210-cpg-mssr.c mult = 88; /* Divider 1 is 1 */ mult 191 drivers/clk/renesas/r7s9210-cpg-mssr.c __clk_get_name(parent), 0, mult, div); mult 57 drivers/clk/renesas/rcar-gen2-cpg.c unsigned int mult; mult 61 drivers/clk/renesas/rcar-gen2-cpg.c mult = 32 - val; mult 63 drivers/clk/renesas/rcar-gen2-cpg.c return div_u64((u64)parent_rate * mult, 32); mult 70 drivers/clk/renesas/rcar-gen2-cpg.c unsigned int mult; mult 75 drivers/clk/renesas/rcar-gen2-cpg.c mult = div_u64((u64)rate * 32, prate); mult 76 drivers/clk/renesas/rcar-gen2-cpg.c mult = clamp(mult, 1U, 32U); mult 78 drivers/clk/renesas/rcar-gen2-cpg.c return *parent_rate / 32 * mult; mult 85 drivers/clk/renesas/rcar-gen2-cpg.c unsigned int mult; mult 89 drivers/clk/renesas/rcar-gen2-cpg.c mult = div_u64((u64)rate * 32, parent_rate); mult 90 drivers/clk/renesas/rcar-gen2-cpg.c mult = clamp(mult, 1U, 32U); mult 97 drivers/clk/renesas/rcar-gen2-cpg.c val |= (32 - mult) << CPG_FRQCRC_ZFC_SHIFT; mult 174 drivers/clk/renesas/rcar-gen2-cpg.c fixed->mult = 1; mult 281 drivers/clk/renesas/rcar-gen2-cpg.c unsigned int mult = 1; mult 304 drivers/clk/renesas/rcar-gen2-cpg.c mult = cpg_pll_config->pll0_mult; mult 306 drivers/clk/renesas/rcar-gen2-cpg.c if (!mult) { mult 309 drivers/clk/renesas/rcar-gen2-cpg.c mult = (((pll0cr & CPG_PLL0CR_STC_MASK) >> mult 315 drivers/clk/renesas/rcar-gen2-cpg.c mult = cpg_pll_config->pll1_mult / 2; mult 319 drivers/clk/renesas/rcar-gen2-cpg.c mult = cpg_pll_config->pll3_mult; mult 367 drivers/clk/renesas/rcar-gen2-cpg.c 0, mult, div); mult 107 drivers/clk/renesas/rcar-gen3-cpg.c unsigned int mult; mult 111 drivers/clk/renesas/rcar-gen3-cpg.c mult = 32 - (val >> __ffs(zclk->mask)); mult 113 drivers/clk/renesas/rcar-gen3-cpg.c return DIV_ROUND_CLOSEST_ULL((u64)parent_rate * mult, mult 122 drivers/clk/renesas/rcar-gen3-cpg.c unsigned int mult; mult 125 drivers/clk/renesas/rcar-gen3-cpg.c mult = div_u64(rate * 32ULL, prate); mult 126 drivers/clk/renesas/rcar-gen3-cpg.c mult = clamp(mult, 1U, 32U); mult 128 drivers/clk/renesas/rcar-gen3-cpg.c return (u64)prate * mult / 32; mult 135 drivers/clk/renesas/rcar-gen3-cpg.c unsigned int mult; mult 138 drivers/clk/renesas/rcar-gen3-cpg.c mult = DIV64_U64_ROUND_CLOSEST(rate * 32ULL * zclk->fixed_div, mult 140 drivers/clk/renesas/rcar-gen3-cpg.c mult = clamp(mult, 1U, 32U); mult 146 drivers/clk/renesas/rcar-gen3-cpg.c ((32 - mult) << __ffs(zclk->mask)) & zclk->mask); mult 494 drivers/clk/renesas/rcar-gen3-cpg.c rpcd2->fixed.mult = 1; mult 547 drivers/clk/renesas/rcar-gen3-cpg.c unsigned int mult = 1; mult 568 drivers/clk/renesas/rcar-gen3-cpg.c mult = (((value >> 24) & 0x7f) + 1) * 2; mult 570 drivers/clk/renesas/rcar-gen3-cpg.c mult *= 2; mult 574 drivers/clk/renesas/rcar-gen3-cpg.c mult = cpg_pll_config->pll1_mult; mult 586 drivers/clk/renesas/rcar-gen3-cpg.c mult = (((value >> 24) & 0x7f) + 1) * 2; mult 588 drivers/clk/renesas/rcar-gen3-cpg.c mult *= 2; mult 592 drivers/clk/renesas/rcar-gen3-cpg.c mult = cpg_pll_config->pll3_mult; mult 604 drivers/clk/renesas/rcar-gen3-cpg.c mult = (((value >> 24) & 0x7f) + 1) * 2; mult 606 drivers/clk/renesas/rcar-gen3-cpg.c mult *= 2; mult 657 drivers/clk/renesas/rcar-gen3-cpg.c mult = 1; mult 706 drivers/clk/renesas/rcar-gen3-cpg.c __clk_get_name(parent), 0, mult, div); mult 350 drivers/clk/renesas/renesas-cpg-mssr.c core->mult, div); mult 356 drivers/clk/renesas/renesas-cpg-mssr.c core->mult); mult 28 drivers/clk/renesas/renesas-cpg-mssr.h unsigned int mult; mult 52 drivers/clk/renesas/renesas-cpg-mssr.h DEF_BASE(_name, _id, CLK_TYPE_FF, _parent, .div = _div, .mult = _mult) mult 56 drivers/clk/renesas/renesas-cpg-mssr.h DEF_BASE(_name, _id, CLK_TYPE_DIV6_RO, _parent, .offset = _offset, .div = _div, .mult = 1) mult 58 drivers/clk/renesas/renesas-cpg-mssr.h DEF_TYPE(_name, _id, CLK_TYPE_FR, .mult = _rate) mult 319 drivers/clk/rockchip/clk.c void __iomem *base, unsigned int mult, unsigned int div, mult 330 drivers/clk/rockchip/clk.c parent_names[0], flags, mult, mult 349 drivers/clk/rockchip/clk.c fix->mult = mult; mult 165 drivers/clk/samsung/clk.c list->parent_name, list->flags, list->mult, list->div); mult 89 drivers/clk/samsung/clk.h unsigned long mult; mult 99 drivers/clk/samsung/clk.h .mult = m, \ mult 81 drivers/clk/sunxi-ng/ccu-sun4i-a10.c .mult = _SUNXI_CCU_MULT_OFFSET_MIN_MAX(0, 7, 0, 9, 127), mult 183 drivers/clk/sunxi-ng/ccu-sun4i-a10.c .mult = _SUNXI_CCU_MULT_OFFSET_MIN_MAX(0, 7, 0, 9, 127), mult 39 drivers/clk/sunxi-ng/ccu-sun50i-h6.c .mult = _SUNXI_CCU_MULT_MIN(8, 8, 12), mult 83 drivers/clk/sunxi-ng/ccu-sun5i.c .mult = _SUNXI_CCU_MULT_OFFSET_MIN_MAX(0, 7, 0, 9, 127), mult 157 drivers/clk/sunxi-ng/ccu-sun5i.c .mult = _SUNXI_CCU_MULT_OFFSET_MIN_MAX(0, 7, 0, 9, 127), mult 169 drivers/clk/sunxi-ng/ccu-sun8i-a33.c .mult = _SUNXI_CCU_MULT_OFFSET_MIN_MAX(8, 6, 0, 12, 0), mult 39 drivers/clk/sunxi-ng/ccu-sun8i-a83t.c .mult = _SUNXI_CCU_MULT_OFFSET_MIN_MAX(8, 8, 0, 12, 0), mult 53 drivers/clk/sunxi-ng/ccu-sun8i-a83t.c .mult = _SUNXI_CCU_MULT_OFFSET_MIN_MAX(8, 8, 0, 12, 0), mult 38 drivers/clk/sunxi-ng/ccu-sun9i-a80.c .mult = _SUNXI_CCU_MULT_OFFSET_MIN_MAX(8, 8, 0, 12, 0), mult 52 drivers/clk/sunxi-ng/ccu-sun9i-a80.c .mult = _SUNXI_CCU_MULT_OFFSET_MIN_MAX(8, 8, 0, 12, 0), mult 14 drivers/clk/sunxi-ng/ccu_mult.c unsigned long mult, min, max; mult 18 drivers/clk/sunxi-ng/ccu_mult.c struct _ccu_mult *mult) mult 23 drivers/clk/sunxi-ng/ccu_mult.c if (_mult < mult->min) mult 24 drivers/clk/sunxi-ng/ccu_mult.c _mult = mult->min; mult 26 drivers/clk/sunxi-ng/ccu_mult.c if (_mult > mult->max) mult 27 drivers/clk/sunxi-ng/ccu_mult.c _mult = mult->max; mult 29 drivers/clk/sunxi-ng/ccu_mult.c mult->mult = _mult; mult 41 drivers/clk/sunxi-ng/ccu_mult.c _cm.min = cm->mult.min; mult 43 drivers/clk/sunxi-ng/ccu_mult.c if (cm->mult.max) mult 44 drivers/clk/sunxi-ng/ccu_mult.c _cm.max = cm->mult.max; mult 46 drivers/clk/sunxi-ng/ccu_mult.c _cm.max = (1 << cm->mult.width) + cm->mult.offset - 1; mult 50 drivers/clk/sunxi-ng/ccu_mult.c return *parent_rate * _cm.mult; mult 85 drivers/clk/sunxi-ng/ccu_mult.c val = reg >> cm->mult.shift; mult 86 drivers/clk/sunxi-ng/ccu_mult.c val &= (1 << cm->mult.width) - 1; mult 91 drivers/clk/sunxi-ng/ccu_mult.c return parent_rate * (val + cm->mult.offset); mult 123 drivers/clk/sunxi-ng/ccu_mult.c _cm.min = cm->mult.min; mult 125 drivers/clk/sunxi-ng/ccu_mult.c if (cm->mult.max) mult 126 drivers/clk/sunxi-ng/ccu_mult.c _cm.max = cm->mult.max; mult 128 drivers/clk/sunxi-ng/ccu_mult.c _cm.max = (1 << cm->mult.width) + cm->mult.offset - 1; mult 135 drivers/clk/sunxi-ng/ccu_mult.c reg &= ~GENMASK(cm->mult.width + cm->mult.shift - 1, cm->mult.shift); mult 136 drivers/clk/sunxi-ng/ccu_mult.c reg |= ((_cm.mult - cm->mult.offset) << cm->mult.shift); mult 40 drivers/clk/sunxi-ng/ccu_mult.h struct ccu_mult_internal mult; mult 51 drivers/clk/sunxi-ng/ccu_mult.h .mult = _SUNXI_CCU_MULT(_mshift, _mwidth), \ mult 44 drivers/clk/sunxi/clk-a10-pll2.c struct clk_multiplier *mult; mult 83 drivers/clk/sunxi/clk-a10-pll2.c mult = kzalloc(sizeof(struct clk_multiplier), GFP_KERNEL); mult 84 drivers/clk/sunxi/clk-a10-pll2.c if (!mult) mult 87 drivers/clk/sunxi/clk-a10-pll2.c mult->reg = reg; mult 88 drivers/clk/sunxi/clk-a10-pll2.c mult->shift = SUN4I_PLL2_N_SHIFT; mult 89 drivers/clk/sunxi/clk-a10-pll2.c mult->width = 7; mult 90 drivers/clk/sunxi/clk-a10-pll2.c mult->flags = CLK_MULTIPLIER_ZERO_BYPASS | mult 92 drivers/clk/sunxi/clk-a10-pll2.c mult->lock = &sun4i_a10_pll2_lock; mult 98 drivers/clk/sunxi/clk-a10-pll2.c &mult->hw, &clk_multiplier_ops, mult 168 drivers/clk/sunxi/clk-a10-pll2.c kfree(mult); mult 24 drivers/clk/sunxi/clk-sun4i-pll3.c struct clk_multiplier *mult; mult 48 drivers/clk/sunxi/clk-sun4i-pll3.c mult = kzalloc(sizeof(*mult), GFP_KERNEL); mult 49 drivers/clk/sunxi/clk-sun4i-pll3.c if (!mult) mult 52 drivers/clk/sunxi/clk-sun4i-pll3.c mult->reg = reg; mult 53 drivers/clk/sunxi/clk-sun4i-pll3.c mult->shift = SUN4I_A10_PLL3_DIV_SHIFT; mult 54 drivers/clk/sunxi/clk-sun4i-pll3.c mult->width = SUN4I_A10_PLL3_DIV_WIDTH; mult 55 drivers/clk/sunxi/clk-sun4i-pll3.c mult->lock = &sun4i_a10_pll3_lock; mult 60 drivers/clk/sunxi/clk-sun4i-pll3.c &mult->hw, &clk_multiplier_ops, mult 80 drivers/clk/sunxi/clk-sun4i-pll3.c kfree(mult); mult 1053 drivers/clk/sunxi/clk-sunxi.c fix_factor->mult = 1; mult 203 drivers/clk/tegra/clk-dfll.c #define MULT_TO_DVCO_RATE(mult, ref_rate) ((mult) * ((ref_rate) / 2)) mult 340 drivers/clk/ti/adpll.c unsigned int mult, mult 353 drivers/clk/ti/adpll.c 0, mult, div); mult 41 drivers/clk/ti/fixed-factor.c u32 div, mult; mult 49 drivers/clk/ti/fixed-factor.c if (of_property_read_u32(node, "ti,clock-mult", &mult)) { mult 60 drivers/clk/ti/fixed-factor.c mult, div); mult 30 drivers/clk/uniphier/clk-uniphier-fixed-factor.c fix->mult = data->mult; mult 34 drivers/clk/uniphier/clk-uniphier.h unsigned int mult; mult 90 drivers/clk/uniphier/clk-uniphier.h .mult = (_mult), \ mult 84 drivers/clk/zte/clk.h .mult = _mult, \ mult 290 drivers/clk/zynqmp/clkc.c u32 mult, div; mult 303 drivers/clk/zynqmp/clkc.c mult = ret_payload[1]; mult 308 drivers/clk/zynqmp/clkc.c nodes->flag, mult, mult 991 drivers/clocksource/arm_arch_timer.c cyclecounter.mult = clocksource_counter.mult; mult 301 drivers/clocksource/exynos_mct.c cycles_per_jiffy = (((unsigned long long)NSEC_PER_SEC / HZ * evt->mult) mult 419 drivers/clocksource/exynos_mct.c cycles_per_jiffy = (((unsigned long long)NSEC_PER_SEC / HZ * evt->mult) mult 26 drivers/clocksource/numachip.c .mult = 1, mult 42 drivers/clocksource/numachip.c .mult = 1, mult 805 drivers/clocksource/sh_cmt.c ced->mult = div_sc(ch->cmt->rate, NSEC_PER_SEC, ced->shift); mult 247 drivers/clocksource/timer-atmel-pit.c data->clkevt.mult = div_sc(pit_rate, NSEC_PER_SEC, data->clkevt.shift); mult 93 drivers/clocksource/timer-rda.c evt->mult) >> evt->shift; mult 108 drivers/cpufreq/longhaul.c static unsigned int calc_speed(int mult) mult 111 drivers/cpufreq/longhaul.c khz = (mult/10)*fsb; mult 112 drivers/cpufreq/longhaul.c if (mult%10) mult 249 drivers/cpufreq/longhaul.c int speed, mult; mult 259 drivers/cpufreq/longhaul.c mult = mults[mults_index & 0x1f]; mult 260 drivers/cpufreq/longhaul.c if (mult == -1) mult 263 drivers/cpufreq/longhaul.c speed = calc_speed(mult); mult 275 drivers/cpufreq/longhaul.c fsb, mult/10, mult%10, print_speed(speed/1000)); mult 406 drivers/cpufreq/longhaul.c static int guess_fsb(int mult) mult 414 drivers/cpufreq/longhaul.c f_max = ((speeds[i] * mult) + 50) / 100; mult 428 drivers/cpufreq/longhaul.c int mult; mult 431 drivers/cpufreq/longhaul.c mult = longhaul_get_cpu_mult(); mult 432 drivers/cpufreq/longhaul.c if (mult == -1) { mult 436 drivers/cpufreq/longhaul.c fsb = guess_fsb(mult); mult 444 drivers/cpufreq/longhaul.c maxmult = mult; mult 519 drivers/cpufreq/longhaul.c if (mults[longhaul_table[j].driver_data & 0x1f] == mult) { mult 56 drivers/cpufreq/powernow-k6.c unsigned mult; mult 168 drivers/cpufreq/powernow-k6.c max_multiplier = usual_frequency_table[i].mult; mult 108 drivers/cpufreq/spear-cpufreq.c int ret, mult = 1; mult 127 drivers/cpufreq/spear-cpufreq.c mult = 2; mult 136 drivers/cpufreq/spear-cpufreq.c newfreq = clk_round_rate(srcclk, newfreq * mult); mult 142 drivers/cpufreq/spear-cpufreq.c if (mult == 2) mult 176 drivers/cpufreq/speedstep-lib.c u32 msr_lo, msr_hi, mult; mult 216 drivers/cpufreq/speedstep-lib.c mult = msr_lo >> 24; mult 219 drivers/cpufreq/speedstep-lib.c fsb, mult, (fsb * mult)); mult 221 drivers/cpufreq/speedstep-lib.c ret = (fsb * mult); mult 57 drivers/crypto/qat/qat_common/adf_transport.c uint32_t mult = div << shift; mult 59 drivers/crypto/qat/qat_common/adf_transport.c return data - mult; mult 121 drivers/dma/ppc4xx/adma.c int index, u8 mult); mult 1243 drivers/dma/ppc4xx/adma.c unsigned char mult, int index, int dst_pos); mult 1870 drivers/dma/ppc4xx/adma.c u8 xor_arg_no, u8 idx, u8 mult) mult 1874 drivers/dma/ppc4xx/adma.c xcb->ops[xor_arg_no].h |= mult << (DMA_CUED_MULT1_OFF + idx * 8); mult 2283 drivers/dma/ppc4xx/adma.c unsigned char mult = 1; mult 2401 drivers/dma/ppc4xx/adma.c mult = scf[src_cnt]; mult 2403 drivers/dma/ppc4xx/adma.c mult, src_cnt, dst_cnt - 1); mult 2428 drivers/dma/ppc4xx/adma.c unsigned char mult = 1; mult 2496 drivers/dma/ppc4xx/adma.c mult = scf[src_cnt]; mult 2498 drivers/dma/ppc4xx/adma.c mult, src_cnt, dst_cnt - 1); mult 3403 drivers/dma/ppc4xx/adma.c int index, u8 mult) mult 3429 drivers/dma/ppc4xx/adma.c ppc440spe_rxor_set_mult(desc, k - 1, op - index - 1, mult); mult 3432 drivers/dma/ppc4xx/adma.c ppc440spe_rxor_set_mult(desc, k - 1, index - lop, mult); mult 3451 drivers/dma/ppc4xx/adma.c unsigned char mult, int index, int dst_pos) mult 3504 drivers/dma/ppc4xx/adma.c mult_idx, mult_dst, mult); mult 3527 drivers/dma/ppc4xx/adma.c ppc440spe_adma_dma2rxor_set_mult(iter, index, mult); mult 579 drivers/dma/sa11x0-dma.c unsigned mult = DIV_ROUND_UP(tlen, mult 582 drivers/dma/sa11x0-dma.c tlen = (tlen / mult) & ~DMA_ALIGN; mult 639 drivers/dma/sa11x0-dma.c unsigned mult = DIV_ROUND_UP(tlen, DMA_MAX_SIZE & ~DMA_ALIGN); mult 640 drivers/dma/sa11x0-dma.c tlen = (tlen / mult) & ~DMA_ALIGN; mult 540 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c unsigned int mult = 1; mult 543 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c mult *= 2; mult 557 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c n *= mult; mult 569 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c n *= mult; mult 583 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c n *= mult; mult 14503 drivers/gpu/drm/i915/display/intel_display.c int max_scale, mult; mult 14524 drivers/gpu/drm/i915/display/intel_display.c mult = is_planar_yuv_format(pixel_format) ? 2 : 3; mult 14525 drivers/gpu/drm/i915/display/intel_display.c tmpclk1 = (1 << 16) * mult - 1; mult 85 drivers/gpu/drm/meson/meson_overlay.c #define FRAC_16_16(mult, div) (((mult) << 16) / (div)) mult 70 drivers/gpu/drm/meson/meson_plane.c #define FRAC_16_16(mult, div) (((mult) << 16) / (div)) mult 53 drivers/gpu/drm/msm/msm_drv.h #define FRAC_16_16(mult, div) (((mult) << 16) / (div)) mult 301 drivers/gpu/drm/rockchip/rockchip_drm_vop.h #define FRAC_16_16(mult, div) (((mult) << 16) / (div)) mult 1415 drivers/gpu/drm/vc4/vc4_dsi.c fix->mult = 1; mult 46 drivers/gpu/drm/zte/zx_plane.c #define FRAC_16_16(mult, div) (((mult) << 16) / (div)) mult 970 drivers/hwmon/fschmd.c int i, mult[3] = { 0 }, offset[3] = { 0 }, vref = 0, found = 0; mult 1007 drivers/hwmon/fschmd.c mult[in] = dmi_data[i + 1] | (dmi_data[i + 2] << 8); mult 1027 drivers/hwmon/fschmd.c dmi_mult[i] = mult[i] * 10; mult 272 drivers/hwmon/ibmpex.c int mult = data->sensors[attr->index].multiplier; mult 276 drivers/hwmon/ibmpex.c data->sensors[attr->index].values[attr->nr] * mult); mult 166 drivers/hwmon/s3c-hwmon.c ret *= cfg->mult; mult 312 drivers/hwmon/s3c-hwmon.c if (cfg->mult >= 0x10000) mult 421 drivers/iio/dac/ad5592r-base.c int mult; mult 426 drivers/iio/dac/ad5592r-base.c mult = !!(st->cached_gp_ctrl & mult 429 drivers/iio/dac/ad5592r-base.c mult = !!(st->cached_gp_ctrl & mult 432 drivers/iio/dac/ad5592r-base.c *val *= ++mult; mult 153 drivers/infiniband/core/verbs.c __attribute_const__ enum ib_rate mult_to_ib_rate(int mult) mult 155 drivers/infiniband/core/verbs.c switch (mult) { mult 543 drivers/infiniband/hw/hfi1/init.c u16 shift, mult; mult 575 drivers/infiniband/hw/hfi1/init.c mult = (cce & 0x3fff); mult 581 drivers/infiniband/hw/hfi1/init.c src = (max_pkt_time >> shift) * mult; mult 5535 drivers/infiniband/hw/qib/qib_iba7322.c int mult; mult 5544 drivers/infiniband/hw/qib/qib_iba7322.c mult = 4; mult 5547 drivers/infiniband/hw/qib/qib_iba7322.c mult = 2; mult 5550 drivers/infiniband/hw/qib/qib_iba7322.c mult = 1; mult 5554 drivers/infiniband/hw/qib/qib_iba7322.c mult *= 4; mult 5557 drivers/infiniband/hw/qib/qib_iba7322.c ppd->delay_mult = ib_rate_to_delay[mult_to_ib_rate(mult)]; mult 781 drivers/md/dm-stats.c unsigned mult; mult 790 drivers/md/dm-stats.c mult = jiffies_to_msecs(1 << 22); mult 791 drivers/md/dm-stats.c result += (unsigned long long)mult * (unsigned long long)jiffies_to_msecs((j >> 22) & 0x3fffff); mult 794 drivers/md/dm-stats.c result += (unsigned long long)mult * (unsigned long long)mult * (unsigned long long)jiffies_to_msecs(j >> 44); mult 916 drivers/media/i2c/ov2659.c u32 prediv, postdiv, mult; mult 925 drivers/media/i2c/ov2659.c for (mult = 1; mult <= 63; mult++) { mult 927 drivers/media/i2c/ov2659.c actual *= mult; mult 936 drivers/media/i2c/ov2659.c ctrl2_reg = mult; mult 951 drivers/media/i2c/ov5640.c u8 prediv, mult, sysdiv; mult 966 drivers/media/i2c/ov5640.c ov5640_calc_sys_clk(sensor, rate, &prediv, &mult, &sysdiv); mult 976 drivers/media/i2c/ov5640.c ret = ov5640_mod_reg(sensor, OV5640_REG_SC_PLL_CTRL2, 0xff, mult); mult 1008 drivers/media/i2c/ov5640.c u8 prediv, mult, sysdiv, pll_rdiv, bit_div, pclk_div; mult 1011 drivers/media/i2c/ov5640.c ov5640_calc_pclk(sensor, rate, &prediv, &mult, &sysdiv, &pll_rdiv, mult 1032 drivers/media/i2c/ov5640.c 0xff, mult); mult 386 drivers/media/i2c/ov772x.c unsigned int mult; mult 677 drivers/media/i2c/ov772x.c unsigned int pll_mult = ov772x_pll[i].mult; mult 124 drivers/media/pci/cobalt/cobalt-cpld.c unsigned mult, hsdiv, n1; mult 243 drivers/media/pci/cobalt/cobalt-cpld.c unsigned mult = multipliers[i].mult; mult 246 drivers/media/pci/cobalt/cobalt-cpld.c dco = (u64)f_out * mult; mult 258 drivers/media/pci/cobalt/cobalt-cpld.c dco = (u64)f_out * multipliers[i_best].mult; mult 159 drivers/media/platform/vsp1/vsp1_rpf.c u32 mult; mult 173 drivers/media/platform/vsp1/vsp1_rpf.c mult = VI6_RPF_MULT_ALPHA_A_MMD_RATIO mult 184 drivers/media/platform/vsp1/vsp1_rpf.c mult = VI6_RPF_MULT_ALPHA_A_MMD_NONE mult 188 drivers/media/platform/vsp1/vsp1_rpf.c rpf->mult_alpha = mult; mult 729 drivers/media/rc/redrat3.c int mult = 6000000; mult 732 drivers/media/rc/redrat3.c return 65536 - (mult / mod_freq); mult 331 drivers/media/usb/gspca/se401.c int mult = gspca_dev->cam.cam_mode[gspca_dev->curr_mode].priv; mult 348 drivers/media/usb/gspca/se401.c gspca_dev->pixfmt.width * mult, 0); mult 350 drivers/media/usb/gspca/se401.c gspca_dev->pixfmt.height * mult, 0); mult 357 drivers/media/usb/gspca/se401.c switch (mult) { mult 577 drivers/media/usb/gspca/se401.c int mult = gspca_dev->cam.cam_mode[gspca_dev->curr_mode].priv; mult 582 drivers/media/usb/gspca/se401.c if (mult == 1) /* mult == 1 means raw bayer */ mult 1679 drivers/media/usb/uvc/uvc_video.c u16 mult; mult 1687 drivers/media/usb/uvc/uvc_video.c mult = usb_endpoint_maxp_mult(&ep->desc); mult 1688 drivers/media/usb/uvc/uvc_video.c return psize * mult; mult 785 drivers/mfd/si476x-cmd.c report->mult = resp[11]; mult 1212 drivers/mfd/si476x-cmd.c report->mult = resp[11]; mult 1266 drivers/mfd/si476x-cmd.c report->mult = resp[11]; mult 1323 drivers/mfd/si476x-cmd.c report->mult = resp[11]; mult 667 drivers/mmc/core/core.c unsigned int mult; mult 681 drivers/mmc/core/core.c mult = mmc_card_sd(card) ? 100 : 10; mult 688 drivers/mmc/core/core.c mult <<= card->csd.r2w_factor; mult 690 drivers/mmc/core/core.c data->timeout_ns = card->csd.taac_ns * mult; mult 691 drivers/mmc/core/core.c data->timeout_clks = card->csd.taac_clks * mult; mult 1566 drivers/mmc/core/core.c unsigned int mult = (10 << card->csd.r2w_factor); mult 1567 drivers/mmc/core/core.c unsigned int timeout_clks = card->csd.taac_clks * mult; mult 1572 drivers/mmc/core/core.c timeout_us = (card->csd.taac_ns * mult) / 1000; mult 1574 drivers/mmc/core/core.c timeout_us = (card->csd.taac_ns / 1000) * mult; mult 161 drivers/mmc/host/meson-mx-sdio.c u32 mult, send = 0, ext = 0; mult 218 drivers/mmc/host/meson-mx-sdio.c mult = readl(host->base + MESON_MX_SDIO_MULT); mult 219 drivers/mmc/host/meson-mx-sdio.c mult &= ~MESON_MX_SDIO_MULT_PORT_SEL_MASK; mult 220 drivers/mmc/host/meson-mx-sdio.c mult |= FIELD_PREP(MESON_MX_SDIO_MULT_PORT_SEL_MASK, host->slot_id); mult 221 drivers/mmc/host/meson-mx-sdio.c mult |= BIT(31); mult 222 drivers/mmc/host/meson-mx-sdio.c writel(mult, host->base + MESON_MX_SDIO_MULT); mult 364 drivers/mmc/host/meson-mx-sdio.c u32 mult; mult 367 drivers/mmc/host/meson-mx-sdio.c mult = readl(host->base + MESON_MX_SDIO_MULT); mult 368 drivers/mmc/host/meson-mx-sdio.c mult |= MESON_MX_SDIO_MULT_WR_RD_OUT_INDEX; mult 369 drivers/mmc/host/meson-mx-sdio.c mult &= ~MESON_MX_SDIO_MULT_RESP_READ_INDEX_MASK; mult 370 drivers/mmc/host/meson-mx-sdio.c mult |= FIELD_PREP(MESON_MX_SDIO_MULT_RESP_READ_INDEX_MASK, 0); mult 371 drivers/mmc/host/meson-mx-sdio.c writel(mult, host->base + MESON_MX_SDIO_MULT); mult 595 drivers/mmc/host/meson-mx-sdio.c host->fixed_factor.mult = 1; mult 204 drivers/net/dsa/mv88e6xxx/ptp.c u32 diff, mult; mult 212 drivers/net/dsa/mv88e6xxx/ptp.c mult = ptp_ops->cc_mult; mult 220 drivers/net/dsa/mv88e6xxx/ptp.c chip->tstamp_cc.mult = neg_adj ? mult - diff : mult + diff; mult 457 drivers/net/dsa/mv88e6xxx/ptp.c chip->tstamp_cc.mult = ptp_ops->cc_mult; mult 305 drivers/net/dsa/sja1105/sja1105_ptp.c priv->tstamp_cc.mult = SJA1105_CC_MULT + clkrate; mult 369 drivers/net/dsa/sja1105/sja1105_ptp.c .mult = SJA1105_CC_MULT, mult 263 drivers/net/ethernet/amd/xgbe/xgbe-ptp.c cc->mult = 1; mult 15325 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->cyclecounter.mult = 1; mult 51 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c u16 mult; mult 58 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c mult = hw_coal->bufs_per_record; mult 60 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c coal->rx_max_coalesced_frames = hw_coal->coal_bufs / mult; mult 62 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c coal->rx_max_coalesced_frames_irq = hw_coal->coal_bufs_irq / mult; mult 65 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c mult = hw_coal->bufs_per_record; mult 67 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c coal->tx_max_coalesced_frames = hw_coal->coal_bufs / mult; mult 69 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c coal->tx_max_coalesced_frames_irq = hw_coal->coal_bufs_irq / mult; mult 83 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c u16 mult; mult 95 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c mult = hw_coal->bufs_per_record; mult 97 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c hw_coal->coal_bufs = coal->rx_max_coalesced_frames * mult; mult 99 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c hw_coal->coal_bufs_irq = coal->rx_max_coalesced_frames_irq * mult; mult 102 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c mult = hw_coal->bufs_per_record; mult 104 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c hw_coal->coal_bufs = coal->tx_max_coalesced_frames * mult; mult 106 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c hw_coal->coal_bufs_irq = coal->tx_max_coalesced_frames_irq * mult; mult 250 drivers/net/ethernet/cavium/common/cavium_ptp.c cc->mult = 1; mult 269 drivers/net/ethernet/freescale/fec_ptp.c fep->cc.mult = FEC_CC_MULT; mult 4446 drivers/net/ethernet/intel/e1000e/netdev.c adapter->cc.mult = 1; mult 459 drivers/net/ethernet/intel/i40e/i40e_ptp.c u32 mult; mult 467 drivers/net/ethernet/intel/i40e/i40e_ptp.c mult = I40E_PTP_10GB_INCVAL_MULT; mult 470 drivers/net/ethernet/intel/i40e/i40e_ptp.c mult = I40E_PTP_1GB_INCVAL_MULT; mult 481 drivers/net/ethernet/intel/i40e/i40e_ptp.c mult = 0; mult 486 drivers/net/ethernet/intel/i40e/i40e_ptp.c mult = 1; mult 493 drivers/net/ethernet/intel/i40e/i40e_ptp.c incval = I40E_PTP_40GB_INCVAL * mult; mult 503 drivers/net/ethernet/intel/i40e/i40e_ptp.c WRITE_ONCE(pf->ptp_adj_mult, mult); mult 1196 drivers/net/ethernet/intel/igb/igb_ptp.c adapter->cc.mult = 1; mult 1215 drivers/net/ethernet/intel/igb/igb_ptp.c adapter->cc.mult = 1; mult 190 drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c clock_period = div_u64((NS_PER_HALF_SEC << cc->shift), cc->mult); mult 209 drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c clock_edge += div_u64(((u64)rem << cc->shift), cc->mult); mult 275 drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c freqout = div_u64(NS_PER_HALF_SEC << cc->shift, cc->mult); mult 292 drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c clock_edge += div_u64(((u64)rem << cc->shift), cc->mult); mult 1229 drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c cc.mult = 1; mult 1242 drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c cc.mult = 3; mult 124 drivers/net/ethernet/mellanox/mlx4/en_clock.c u32 diff, mult; mult 134 drivers/net/ethernet/mellanox/mlx4/en_clock.c mult = mdev->nominal_c_mult; mult 135 drivers/net/ethernet/mellanox/mlx4/en_clock.c adj = mult; mult 141 drivers/net/ethernet/mellanox/mlx4/en_clock.c mdev->cycles.mult = neg_adj ? mult - diff : mult + diff; mult 281 drivers/net/ethernet/mellanox/mlx4/en_clock.c mdev->cycles.mult = mult 283 drivers/net/ethernet/mellanox/mlx4/en_clock.c mdev->nominal_c_mult = mdev->cycles.mult; mult 92 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c clock_info->mult = clock->cycles.mult; mult 213 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c clock->cycles.mult = neg_adj ? clock->nominal_c_mult - diff : mult 336 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c clock->cycles.mult); mult 502 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c clock->cycles.mult); mult 531 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c clock->cycles.mult = clocksource_khz2mult(dev_freq, mult 533 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c clock->nominal_c_mult = clock->cycles.mult; mult 547 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c overflow_cycles = div64_u64(~0ULL >> 1, clock->cycles.mult); mult 561 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c mdev->clock_info->mult = clock->nominal_c_mult; mult 119 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c cycles = div_u64(cycles, tc->cc->mult); mult 173 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c clock->cycles.mult = neg_adj ? clock->nominal_c_mult - diff : mult 264 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c clock->cycles.mult = clocksource_khz2mult(MLXSW_SP1_PTP_CLOCK_FREQ_KHZ, mult 266 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c clock->nominal_c_mult = clock->cycles.mult; mult 280 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c overflow_cycles = div64_u64(~0ULL >> 1, clock->cycles.mult); mult 203 drivers/net/ethernet/pensando/ionic/ionic_lif.h u32 mult = le32_to_cpu(ionic->ident.dev.intr_coal_mult); mult 207 drivers/net/ethernet/pensando/ionic/ionic_lif.h if (!div || !mult) mult 211 drivers/net/ethernet/pensando/ionic/ionic_lif.h usecs += (div / mult) >> 1; mult 214 drivers/net/ethernet/pensando/ionic/ionic_lif.h return (usecs * mult) / div; mult 219 drivers/net/ethernet/pensando/ionic/ionic_lif.h u32 mult = le32_to_cpu(ionic->ident.dev.intr_coal_mult); mult 223 drivers/net/ethernet/pensando/ionic/ionic_lif.h if (!div || !mult) mult 227 drivers/net/ethernet/pensando/ionic/ionic_lif.h return (units * div) / mult; mult 912 drivers/net/ethernet/qlogic/qed/qed_hsi.h __le16 mult; mult 455 drivers/net/ethernet/qlogic/qede/qede_ptp.c ptp->cc.mult = 1; mult 168 drivers/net/ethernet/stmicro/stmmac/dwmac-meson8b.c clk_configs->fixed_div2.mult = 1; mult 219 drivers/net/ethernet/ti/cpts.c u32 diff, mult; mult 228 drivers/net/ethernet/ti/cpts.c mult = cpts->cc_mult; mult 229 drivers/net/ethernet/ti/cpts.c adj = mult; mult 237 drivers/net/ethernet/ti/cpts.c cpts->cc.mult = neg_adj ? mult - diff : mult + diff; mult 522 drivers/net/ethernet/ti/cpts.c if (cpts->cc.mult || cpts->cc.shift) mult 525 drivers/net/ethernet/ti/cpts.c clocks_calc_mult_shift(&cpts->cc.mult, &cpts->cc.shift, mult 533 drivers/net/ethernet/ti/cpts.c freq, cpts->cc.mult, cpts->cc.shift, (ns - NSEC_PER_SEC)); mult 618 drivers/net/ethernet/ti/cpts.c cpts->cc.mult = prop; mult 623 drivers/net/ethernet/ti/cpts.c if ((cpts->cc.mult && !cpts->cc.shift) || mult 624 drivers/net/ethernet/ti/cpts.c (!cpts->cc.mult && cpts->cc.shift)) mult 675 drivers/net/ethernet/ti/cpts.c cpts->cc_mult = cpts->cc.mult; mult 3479 drivers/net/ethernet/via/via-velocity.c int mult = 1; mult 3484 drivers/net/ethernet/via/via-velocity.c mult = 4; break; mult 3486 drivers/net/ethernet/via/via-velocity.c mult = 16; break; mult 3488 drivers/net/ethernet/via/via-velocity.c mult = 64; break; mult 3494 drivers/net/ethernet/via/via-velocity.c return (val & 0x3f) * mult; mult 3499 drivers/net/ethernet/via/via-velocity.c u8 mult = 0; mult 3503 drivers/net/ethernet/via/via-velocity.c mult = 1; /* mult with 4 */ mult 3507 drivers/net/ethernet/via/via-velocity.c mult = 2; /* mult with 16 */ mult 3511 drivers/net/ethernet/via/via-velocity.c mult = 3; /* mult with 64 */ mult 3515 drivers/net/ethernet/via/via-velocity.c *val = (mult << 6) | ((us >> shift) & 0x3f); mult 678 drivers/pci/controller/dwc/pci-imx6.c int mult, div; mult 692 drivers/pci/controller/dwc/pci-imx6.c mult = 25; mult 696 drivers/pci/controller/dwc/pci-imx6.c mult = 25; mult 708 drivers/pci/controller/dwc/pci-imx6.c val |= mult << PCIE_PHY_MPLL_MULTIPLIER_SHIFT; mult 440 drivers/regulator/tps65910-regulator.c int opvsel = 0, srvsel = 0, vselmax = 0, mult = 0, sr = 0; mult 447 drivers/regulator/tps65910-regulator.c ret = tps65910_reg_read(pmic->mfd, TPS65910_VDD1, &mult); mult 450 drivers/regulator/tps65910-regulator.c mult = (mult & VDD1_VGAIN_SEL_MASK) >> VDD1_VGAIN_SEL_SHIFT; mult 463 drivers/regulator/tps65910-regulator.c ret = tps65910_reg_read(pmic->mfd, TPS65910_VDD2, &mult); mult 466 drivers/regulator/tps65910-regulator.c mult = (mult & VDD2_VGAIN_SEL_MASK) >> VDD2_VGAIN_SEL_SHIFT; mult 492 drivers/regulator/tps65910-regulator.c if (!mult) mult 493 drivers/regulator/tps65910-regulator.c mult = 1; mult 700 drivers/regulator/tps65910-regulator.c int volt, mult = 1, id = rdev_get_id(dev); mult 705 drivers/regulator/tps65910-regulator.c mult = (selector / VDD1_2_NUM_VOLT_FINE) + 1; mult 717 drivers/regulator/tps65910-regulator.c return volt * 100 * mult; mult 1915 drivers/scsi/ncr53c8xx.c static void ncr_getclock (struct ncb *np, int mult); mult 7892 drivers/scsi/ncr53c8xx.c static void __init ncr_getclock (struct ncb *np, int mult) mult 7904 drivers/scsi/ncr53c8xx.c if (mult > 1 && (stest1 & (DBLEN+DBLSEL)) == DBLEN+DBLSEL) { mult 7907 drivers/scsi/ncr53c8xx.c np->multiplier = mult; mult 7915 drivers/scsi/ncr53c8xx.c if (np->multiplier != mult || (scntl3 & 7) < 3 || !(scntl3 & 1)) { mult 7933 drivers/scsi/ncr53c8xx.c if (f1 < 80000 && mult > 1) { mult 7936 drivers/scsi/ncr53c8xx.c np->multiplier = mult; mult 448 drivers/scsi/scsi_transport_spi.c int mult = 100; mult 453 drivers/scsi/scsi_transport_spi.c picosec += (*endp - '0') * mult; mult 454 drivers/scsi/scsi_transport_spi.c mult /= 10; mult 455 drivers/scsi/scsi_transport_spi.c } while (mult > 0); mult 376 drivers/scsi/sym53c8xx_2/sym_hipd.c static void sym_getclock (struct sym_hcb *np, int mult) mult 387 drivers/scsi/sym53c8xx_2/sym_hipd.c if (mult > 1 && (stest1 & (DBLEN+DBLSEL)) == DBLEN+DBLSEL) { mult 390 drivers/scsi/sym53c8xx_2/sym_hipd.c np->multiplier = mult; mult 398 drivers/scsi/sym53c8xx_2/sym_hipd.c if (np->multiplier != mult || (scntl3 & 7) < 3 || !(scntl3 & 1)) { mult 409 drivers/scsi/sym53c8xx_2/sym_hipd.c if (f1 < 80000 && mult > 1) { mult 413 drivers/scsi/sym53c8xx_2/sym_hipd.c np->multiplier = mult; mult 45 drivers/sh/clk/core.c unsigned long mult, div; mult 53 drivers/sh/clk/core.c mult = 1; mult 59 drivers/sh/clk/core.c mult = src_table->multipliers[i]; mult 61 drivers/sh/clk/core.c if (!div || !mult || (bitmap && !test_bit(i, bitmap))) mult 64 drivers/sh/clk/core.c freq = clk->parent->rate * mult / div; mult 325 drivers/staging/comedi/drivers/dt2811.c unsigned int mult = dt2811_clk_multipliers[_mult]; mult 326 drivers/staging/comedi/drivers/dt2811.c unsigned long long divider = div * mult; mult 4884 drivers/staging/comedi/drivers/ni_mio_common.c unsigned int mult; mult 4897 drivers/staging/comedi/drivers/ni_mio_common.c for (mult = 1; mult <= NI_M_PLL_MAX_MULTIPLIER; ++mult) { mult 4899 drivers/staging/comedi/drivers/ni_mio_common.c (reference_picosec * div) / mult; mult 4904 drivers/staging/comedi/drivers/ni_mio_common.c best_mult = mult; mult 115 drivers/thermal/tegra/soctherm-fuse.c s32 mult, div; mult 134 drivers/thermal/tegra/soctherm-fuse.c mult = sensor_group->pdiv * sensor->config->tsample_ate; mult 137 drivers/thermal/tegra/soctherm-fuse.c temp = (s64)delta_temp * (1LL << 13) * mult; mult 1561 drivers/usb/cdns3/gadget.c u8 mult = 0; mult 1585 drivers/usb/cdns3/gadget.c mult = CDNS3_EP_ISO_HS_MULT - 1; mult 1586 drivers/usb/cdns3/gadget.c buffering = mult + 1; mult 1598 drivers/usb/cdns3/gadget.c mult = 0; mult 1602 drivers/usb/cdns3/gadget.c buffering = (mult + 1) * mult 1631 drivers/usb/cdns3/gadget.c EP_CFG_MULT(mult) | mult 824 drivers/usb/chipidea/udc.c hwreq->req.length > hwep->ep.mult * hwep->ep.maxpacket) { mult 1254 drivers/usb/chipidea/udc.c hwep->ep.mult = usb_endpoint_maxp_mult(desc); mult 431 drivers/usb/core/urb.c int mult = USB_SS_MULT(ep->ss_ep_comp.bmAttributes); mult 433 drivers/usb/core/urb.c max *= mult; mult 955 drivers/usb/dwc3/gadget.c unsigned int mult = 2; mult 959 drivers/usb/dwc3/gadget.c mult--; mult 962 drivers/usb/dwc3/gadget.c mult--; mult 964 drivers/usb/dwc3/gadget.c trb->size |= DWC3_TRB_SIZE_PCM1(mult); mult 199 drivers/usb/gadget/composite.c _ep->mult = 1; mult 203 drivers/usb/gadget/composite.c _ep->mult = usb_endpoint_maxp_mult(_ep->desc); mult 221 drivers/usb/gadget/composite.c _ep->mult = (comp_desc->bmAttributes & 0x3) + 1; mult 259 drivers/usb/gadget/function/uvc_video.c * (video->ep->mult); mult 485 drivers/usb/gadget/udc/fsl_udc_core.c unsigned int zlt, unsigned char mult) mult 499 drivers/usb/gadget/udc/fsl_udc_core.c | (mult << EP_QUEUE_HEAD_MULT_POS); mult 549 drivers/usb/gadget/udc/fsl_udc_core.c unsigned char mult = 0, zlt; mult 581 drivers/usb/gadget/udc/fsl_udc_core.c mult = 0; mult 585 drivers/usb/gadget/udc/fsl_udc_core.c mult = usb_endpoint_maxp_mult(desc); mult 587 drivers/usb/gadget/udc/fsl_udc_core.c if (mult > 3) mult 607 drivers/usb/gadget/udc/fsl_udc_core.c max, zlt, mult); mult 341 drivers/usb/gadget/udc/mv_udc_core.c u32 temp, mult = 0; mult 346 drivers/usb/gadget/udc/mv_udc_core.c mult = (dqh->max_packet_length >> EP_QUEUE_HEAD_MULT_POS) mult 349 drivers/usb/gadget/udc/mv_udc_core.c (unsigned)(mult * req->ep->ep.maxpacket)); mult 394 drivers/usb/gadget/udc/mv_udc_core.c temp |= mult << 10; mult 444 drivers/usb/gadget/udc/mv_udc_core.c unsigned char ios, mult; mult 481 drivers/usb/gadget/udc/mv_udc_core.c mult = 0; mult 491 drivers/usb/gadget/udc/mv_udc_core.c mult = usb_endpoint_maxp_mult(desc); mult 493 drivers/usb/gadget/udc/mv_udc_core.c if (mult > 3) mult 504 drivers/usb/gadget/udc/mv_udc_core.c | (mult << EP_QUEUE_HEAD_MULT_POS) mult 147 drivers/usb/gadget/udc/trace.h __field(unsigned, mult) mult 159 drivers/usb/gadget/udc/trace.h __entry->mult = ep->mult; mult 168 drivers/usb/gadget/udc/trace.h __entry->max_streams, __entry->mult, __entry->maxburst, mult 770 drivers/usb/host/ehci-q.c int mult; mult 787 drivers/usb/host/ehci-q.c mult = usb_endpoint_maxp_mult (&ep->desc); mult 809 drivers/usb/host/ehci-q.c is_input, 0, mult * maxp)); mult 928 drivers/usb/host/ehci-q.c info2 |= mult << 30; mult 1436 drivers/usb/host/xhci-mem.c unsigned int mult; mult 1468 drivers/usb/host/xhci-mem.c mult = xhci_get_endpoint_mult(udev, ep); mult 1492 drivers/usb/host/xhci-mem.c mult = 0; mult 1506 drivers/usb/host/xhci-mem.c EP_MULT(mult)); mult 1542 drivers/usb/host/xhci-mem.c bw_info->mult = 0; mult 1590 drivers/usb/host/xhci-mem.c bw_info->mult = CTX_TO_EP_MULT( mult 213 drivers/usb/host/xhci-mtk-sch.c u32 mult; mult 222 drivers/usb/host/xhci-mtk-sch.c mult = CTX_TO_EP_MULT(le32_to_cpu(ep_ctx->ep_info)); mult 264 drivers/usb/host/xhci-mtk-sch.c esit_pkts = (mult + 1) * (max_burst + 1); mult 2483 drivers/usb/host/xhci.c (ep_bw->mult * ep_bw->num_packets * mult 2485 drivers/usb/host/xhci.c return DIV_ROUND_UP(ep_bw->mult * ep_bw->num_packets * mult 869 drivers/usb/host/xhci.h unsigned int mult; mult 2650 drivers/usb/host/xhci.h u8 mult; mult 2661 drivers/usb/host/xhci.h mult = CTX_TO_EP_MULT(info) + 1; mult 2673 drivers/usb/host/xhci.h xhci_ep_state_string(ep_state), mult, mult 429 drivers/usb/mtu3/mtu3.h int interval, int burst, int mult); mult 302 drivers/usb/mtu3/mtu3_core.c int interval, int burst, int mult) mult 324 drivers/usb/mtu3/mtu3_core.c num_pkts = (burst + 1) * (mult + 1) - 1; mult 326 drivers/usb/mtu3/mtu3_core.c csr1 |= TX_MAX_PKT(gen2cp, num_pkts) | TX_MULT(gen2cp, mult); mult 360 drivers/usb/mtu3/mtu3_core.c num_pkts = (burst + 1) * (mult + 1) - 1; mult 362 drivers/usb/mtu3/mtu3_core.c csr1 |= RX_MAX_PKT(gen2cp, num_pkts) | RX_MULT(gen2cp, mult); mult 73 drivers/usb/mtu3/mtu3_gadget.c u32 mult = 0; mult 92 drivers/usb/mtu3/mtu3_gadget.c mult = comp_desc->bmAttributes; mult 111 drivers/usb/mtu3/mtu3_gadget.c __func__, mep->maxp, interval, burst, mult); mult 120 drivers/usb/mtu3/mtu3_gadget.c ret = mtu3_config_ep(mtu, mep, interval, burst, mult); mult 224 drivers/usb/mtu3/mtu3_trace.h __field(unsigned int, mult) mult 235 drivers/usb/mtu3/mtu3_trace.h __entry->mult = mep->ep.mult; mult 244 drivers/usb/mtu3/mtu3_trace.h __entry->mult, __entry->maxburst, mult 650 drivers/video/fbdev/matrox/matroxfb_misc.c unsigned int mult; mult 652 drivers/video/fbdev/matrox/matroxfb_misc.c mult = bd->pins[4]?8000:6000; mult 654 drivers/video/fbdev/matrox/matroxfb_misc.c minfo->limits.pixel.vcomax = (bd->pins[ 38] == 0xFF) ? 600000 : bd->pins[ 38] * mult; mult 655 drivers/video/fbdev/matrox/matroxfb_misc.c minfo->limits.system.vcomax = (bd->pins[ 36] == 0xFF) ? minfo->limits.pixel.vcomax : bd->pins[ 36] * mult; mult 656 drivers/video/fbdev/matrox/matroxfb_misc.c minfo->limits.video.vcomax = (bd->pins[ 37] == 0xFF) ? minfo->limits.system.vcomax : bd->pins[ 37] * mult; mult 657 drivers/video/fbdev/matrox/matroxfb_misc.c minfo->limits.pixel.vcomin = (bd->pins[123] == 0xFF) ? 256000 : bd->pins[123] * mult; mult 658 drivers/video/fbdev/matrox/matroxfb_misc.c minfo->limits.system.vcomin = (bd->pins[121] == 0xFF) ? minfo->limits.pixel.vcomin : bd->pins[121] * mult; mult 659 drivers/video/fbdev/matrox/matroxfb_misc.c minfo->limits.video.vcomin = (bd->pins[122] == 0xFF) ? minfo->limits.system.vcomin : bd->pins[122] * mult; mult 576 drivers/video/fbdev/mmp/hw/mmp_ctrl.h #define CFG_C_MULTS(mult) ((mult)<<16) mult 348 drivers/video/fbdev/pxa168fb.h #define CFG_C_MULTS(mult) ((mult) << 16) mult 734 fs/ext4/resize.c int mult = 3; mult 745 fs/ext4/resize.c mult = 5; mult 749 fs/ext4/resize.c mult = 7; mult 753 fs/ext4/resize.c *min *= mult; mult 603 include/linux/clk-provider.h unsigned int mult; mult 612 include/linux/clk-provider.h unsigned int mult, unsigned int div); mult 616 include/linux/clk-provider.h unsigned int mult, unsigned int div); mult 984 include/linux/clk-provider.h .mult = _mult, \ mult 995 include/linux/clk-provider.h .mult = _mult, \ mult 1010 include/linux/clk-provider.h .mult = _mult, \ mult 1021 include/linux/clk-provider.h .mult = _mult, \ mult 107 include/linux/clockchips.h u32 mult; mult 195 include/linux/clockchips.h return clocks_calc_mult_shift(&ce->mult, &ce->shift, NSEC_PER_SEC, freq, maxsec); mult 83 include/linux/clocksource.h u32 mult; mult 184 include/linux/clocksource.h static inline s64 clocksource_cyc2ns(u64 cycles, u32 mult, u32 shift) mult 186 include/linux/clocksource.h return ((u64) cycles * mult) >> shift; mult 202 include/linux/clocksource.h clocks_calc_max_nsecs(u32 mult, u32 shift, u32 maxadj, u64 mask, u64 *max_cycles); mult 204 include/linux/clocksource.h clocks_calc_mult_shift(u32 *mult, u32 *shift, u32 from, u32 to, u32 minsec); mult 511 include/linux/cpufreq.h u_int mult) mult 514 include/linux/cpufreq.h u64 result = ((u64) old) * ((u64) mult); mult 519 include/linux/cpufreq.h unsigned long result = old * ((u64) mult); mult 86 include/linux/mfd/si476x-reports.h __s8 mult; mult 24 include/linux/platform_data/hwmon-s3c.h unsigned int mult; mult 33 include/linux/timecounter.h u32 mult; mult 75 include/linux/timecounter.h ns = (ns * cc->mult) + *frac; mult 38 include/linux/timekeeper_internal.h u32 mult; mult 234 include/linux/usb/gadget.h unsigned mult:2; mult 1216 include/net/sch_generic.h u32 mult; mult 1228 include/net/sch_generic.h return ((u64)(DIV_ROUND_UP(len,48)*53) * r->mult) >> r->shift; mult 1230 include/net/sch_generic.h return ((u64)len * r->mult) >> r->shift; mult 874 include/rdma/ib_verbs.h __attribute_const__ enum ib_rate mult_to_ib_rate(int mult); mult 446 include/uapi/rdma/mlx5-abi.h __u32 mult; mult 65 include/vdso/datapage.h u32 mult; mult 38 kernel/time/clockevents.c if (WARN_ON(!evt->mult)) mult 39 kernel/time/clockevents.c evt->mult = 1; mult 40 kernel/time/clockevents.c rnd = (u64) evt->mult - 1; mult 69 kernel/time/clockevents.c (!ismax || evt->mult <= (1ULL << evt->shift))) mult 72 kernel/time/clockevents.c do_div(clc, evt->mult); mult 161 kernel/time/clockevents.c if (WARN_ON(!dev->mult)) mult 162 kernel/time/clockevents.c dev->mult = 1; mult 247 kernel/time/clockevents.c clc = ((unsigned long long) delta * dev->mult) >> dev->shift; mult 286 kernel/time/clockevents.c clc = ((unsigned long long) delta * dev->mult) >> dev->shift; mult 333 kernel/time/clockevents.c clc = ((unsigned long long) delta * dev->mult) >> dev->shift; mult 45 kernel/time/clocksource.c clocks_calc_mult_shift(u32 *mult, u32 *shift, u32 from, u32 to, u32 maxsec) mult 71 kernel/time/clocksource.c *mult = tmp; mult 224 kernel/time/clocksource.c wd_nsec = clocksource_cyc2ns(delta, watchdog->mult, mult 228 kernel/time/clocksource.c cs_nsec = clocksource_cyc2ns(delta, cs->mult, cs->shift); mult 583 kernel/time/clocksource.c nsec = mul_u64_u32_shr(delta, suspend_clocksource->mult, mult 646 kernel/time/clocksource.c ret = (u64)cs->mult * 11; mult 666 kernel/time/clocksource.c u64 clocks_calc_max_nsecs(u32 mult, u32 shift, u32 maxadj, u64 mask, u64 *max_cyc) mult 675 kernel/time/clocksource.c do_div(max_cycles, mult+maxadj); mult 684 kernel/time/clocksource.c max_nsecs = clocksource_cyc2ns(max_cycles, mult - maxadj, shift); mult 703 kernel/time/clocksource.c cs->max_idle_ns = clocks_calc_max_nsecs(cs->mult, cs->shift, mult 884 kernel/time/clocksource.c clocks_calc_mult_shift(&cs->mult, &cs->shift, freq, mult 892 kernel/time/clocksource.c while (freq && ((cs->mult + cs->maxadj < cs->mult) mult 893 kernel/time/clocksource.c || (cs->mult - cs->maxadj > cs->mult))) { mult 894 kernel/time/clocksource.c cs->mult >>= 1; mult 903 kernel/time/clocksource.c WARN_ONCE(cs->mult + cs->maxadj < cs->mult, mult 56 kernel/time/jiffies.c .mult = TICK_NSEC << JIFFIES_SHIFT, /* details above */ mult 116 kernel/time/jiffies.c refined_jiffies.mult = ((u32)nsec_per_tick) << JIFFIES_SHIFT; mult 43 kernel/time/sched_clock.c u32 mult; mult 86 kernel/time/sched_clock.c .read_data[0] = { .mult = NSEC_PER_SEC / HZ, mult 91 kernel/time/sched_clock.c static inline u64 notrace cyc_to_ns(u64 cyc, u32 mult, u32 shift) mult 93 kernel/time/sched_clock.c return (cyc * mult) >> shift; mult 108 kernel/time/sched_clock.c res = rd->epoch_ns + cyc_to_ns(cyc, rd->mult, rd->shift); mult 151 kernel/time/sched_clock.c ns = rd.epoch_ns + cyc_to_ns((cyc - rd.epoch_cyc) & rd.sched_clock_mask, rd.mult, rd.shift); mult 196 kernel/time/sched_clock.c ns = rd.epoch_ns + cyc_to_ns((cyc - rd.epoch_cyc) & rd.sched_clock_mask, rd.mult, rd.shift); mult 201 kernel/time/sched_clock.c rd.mult = new_mult; mult 94 kernel/time/tick-broadcast-hrtimer.c .mult = 1, mult 74 kernel/time/timecounter.c ns = ((ns * cc->mult) - frac) >> cc->shift; mult 307 kernel/time/timekeeping.c tmp += clock->mult/2; mult 308 kernel/time/timekeeping.c do_div(tmp, clock->mult); mult 316 kernel/time/timekeeping.c tk->xtime_interval = interval * clock->mult; mult 318 kernel/time/timekeeping.c tk->raw_interval = interval * clock->mult; mult 344 kernel/time/timekeeping.c tk->tkr_mono.mult = clock->mult; mult 345 kernel/time/timekeeping.c tk->tkr_raw.mult = clock->mult; mult 363 kernel/time/timekeeping.c nsec = delta * tkr->mult + tkr->xtime_nsec; mult 706 kernel/time/timekeeping.c tk->tkr_mono.xtime_nsec += delta * tk->tkr_mono.mult; mult 712 kernel/time/timekeeping.c tk->tkr_raw.xtime_nsec += delta * tk->tkr_raw.mult; mult 777 kernel/time/timekeeping.c nsecs = tk->tkr_mono.mult >> tk->tkr_mono.shift; mult 998 kernel/time/timekeeping.c static int scale64_check_overflow(u64 mult, u64 div, u64 *base) mult 1004 kernel/time/timekeeping.c if (((int)sizeof(u64)*8 - fls64(mult) < fls64(tmp)) || mult 1005 kernel/time/timekeeping.c ((int)sizeof(u64)*8 - fls64(mult) < fls64(rem))) mult 1007 kernel/time/timekeeping.c tmp *= mult; mult 1008 kernel/time/timekeeping.c rem *= mult; mult 1072 kernel/time/timekeeping.c (corr_raw, tk->tkr_mono.mult, tk->tkr_raw.mult); mult 1884 kernel/time/timekeeping.c if ((mult_adj > 0) && (tk->tkr_mono.mult + mult_adj < mult_adj)) { mult 1890 kernel/time/timekeeping.c tk->tkr_mono.mult += mult_adj; mult 1901 kernel/time/timekeeping.c u32 mult; mult 1908 kernel/time/timekeeping.c mult = tk->tkr_mono.mult - tk->ntp_err_mult; mult 1911 kernel/time/timekeeping.c mult = div64_u64((tk->ntp_tick >> tk->ntp_error_shift) - mult 1922 kernel/time/timekeeping.c mult += tk->ntp_err_mult; mult 1924 kernel/time/timekeeping.c timekeeping_apply_adjustment(tk, offset, mult - tk->tkr_mono.mult); mult 1927 kernel/time/timekeeping.c (abs(tk->tkr_mono.mult - tk->tkr_mono.clock->mult) mult 1931 kernel/time/timekeeping.c tk->tkr_mono.clock->name, (long)tk->tkr_mono.mult, mult 1932 kernel/time/timekeeping.c (long)tk->tkr_mono.clock->mult + tk->tkr_mono.clock->maxadj); mult 215 kernel/time/timer_list.c SEQ_printf(m, " mult: %u\n", dev->mult); mult 24 kernel/time/vsyscall.c vdata[CS_HRES_COARSE].mult = tk->tkr_mono.mult; mult 28 kernel/time/vsyscall.c vdata[CS_RAW].mult = tk->tkr_raw.mult; mult 86 lib/reed_solomon/test_rslib.c int mult; mult 463 lib/reed_solomon/test_rslib.c int pad = (pad_coef[i].mult * max_pad) >> pad_coef[i].shift; mult 35 lib/vdso/gettimeofday.c u64 vdso_calc_delta(u64 cycles, u64 last, u64 mask, u32 mult) mult 37 lib/vdso/gettimeofday.c return ((cycles - last) & mask) * mult; mult 56 lib/vdso/gettimeofday.c ns += vdso_calc_delta(cycles, last, vd->mask, vd->mult); mult 1325 net/sched/sch_generic.c r->mult = 1; mult 1343 net/sched/sch_generic.c r->mult = div64_u64(factor, r->rate_bytes_ps); mult 1344 net/sched/sch_generic.c if (r->mult & (1U << 31) || factor & (1ULL << 63)) mult 21 sound/core/pcm_timer.c unsigned long rate, mult, fsize, l, post; mult 24 sound/core/pcm_timer.c mult = 1000000000; mult 28 sound/core/pcm_timer.c l = gcd(mult, rate); mult 29 sound/core/pcm_timer.c mult /= l; mult 38 sound/core/pcm_timer.c while ((mult * fsize) / fsize != mult) { mult 39 sound/core/pcm_timer.c mult /= 2; mult 49 sound/core/pcm_timer.c runtime->timer_resolution = (mult * fsize / rate) * post; mult 692 sound/hda/hdac_device.c #define HDA_RATE(base, mult, div) \ mult 693 sound/hda/hdac_device.c (AC_FMT_BASE_##base##K | (((mult) - 1) << AC_FMT_MULT_SHIFT) | \ mult 540 sound/hda/hdac_stream.c cc->mult = 125; /* saturation after 195 years */ mult 654 sound/pci/riptide/riptide.c unsigned int mult = 1; mult 663 sound/pci/riptide/riptide.c sum += mult * value; mult 664 sound/pci/riptide/riptide.c mult *= 16; mult 70 sound/soc/meson/axg-pdm.c unsigned int mult; mult 311 sound/soc/meson/axg-pdm.c val |= PDM_HCIC_CTRL1_GAIN_MULT(hcic->mult); mult 541 sound/soc/meson/axg-pdm.c .mult = 0x80, mult 424 tools/perf/builtin-record.c { .tag = 'B', .mult = 1 }, mult 425 tools/perf/builtin-record.c { .tag = 'K', .mult = 1 << 10 }, mult 426 tools/perf/builtin-record.c { .tag = 'M', .mult = 1 << 20 }, mult 427 tools/perf/builtin-record.c { .tag = 'G', .mult = 1 << 30 }, mult 2003 tools/perf/builtin-record.c { .tag = 'B', .mult = 1 }, mult 2004 tools/perf/builtin-record.c { .tag = 'K', .mult = 1 << 10 }, mult 2005 tools/perf/builtin-record.c { .tag = 'M', .mult = 1 << 20 }, mult 2006 tools/perf/builtin-record.c { .tag = 'G', .mult = 1 << 30 }, mult 2010 tools/perf/builtin-record.c { .tag = 's', .mult = 1 }, mult 2011 tools/perf/builtin-record.c { .tag = 'm', .mult = 60 }, mult 2012 tools/perf/builtin-record.c { .tag = 'h', .mult = 60*60 }, mult 2013 tools/perf/builtin-record.c { .tag = 'd', .mult = 60*60*24 }, mult 804 tools/perf/util/evlist.c { .tag = 'B', .mult = 1 }, mult 805 tools/perf/util/evlist.c { .tag = 'K', .mult = 1 << 10 }, mult 806 tools/perf/util/evlist.c { .tag = 'M', .mult = 1 << 20 }, mult 807 tools/perf/util/evlist.c { .tag = 'G', .mult = 1 << 30 }, mult 25 tools/perf/util/units.c if (value > ULONG_MAX / i->mult) mult 27 tools/perf/util/units.c value *= i->mult; mult 10 tools/perf/util/units.h int mult;