Home
last modified time | relevance | path

Searched refs:mul (Results 1 – 76 of 76) sorted by relevance

/linux-4.1.27/drivers/clk/
Dclk-vt8500.c387 u32 mul, div1, div2; in wm8650_find_pll_bits() local
396 for (mul = 3; mul <= 1023; mul++) { in wm8650_find_pll_bits()
397 tclk = parent_rate * mul / (div1 * (1 << div2)); in wm8650_find_pll_bits()
403 *multiplier = mul; in wm8650_find_pll_bits()
411 best_mul = mul; in wm8650_find_pll_bits()
455 u32 mul, div1, div2; in wm8750_find_pll_bits() local
464 for (mul = 0; mul <= 255; mul++) { in wm8750_find_pll_bits()
465 tclk = parent_rate * (mul + 1) / ((div1 + 1) * (1 << div2)); in wm8750_find_pll_bits()
472 *multiplier = mul; in wm8750_find_pll_bits()
480 best_mul = mul; in wm8750_find_pll_bits()
[all …]
Dclk-cdce706.c76 unsigned mul; member
174 __func__, hwd->idx, hwd->mux, hwd->mul, hwd->div); in cdce706_pll_recalc_rate()
177 if (hwd->div && hwd->mul) { in cdce706_pll_recalc_rate()
178 u64 res = (u64)parent_rate * hwd->mul; in cdce706_pll_recalc_rate()
194 unsigned long mul, div; in cdce706_pll_round_rate() local
203 &mul, &div); in cdce706_pll_round_rate()
204 hwd->mul = mul; in cdce706_pll_round_rate()
209 __func__, hwd->idx, mul, div); in cdce706_pll_round_rate()
211 res = (u64)*parent_rate * hwd->mul; in cdce706_pll_round_rate()
220 unsigned long mul = hwd->mul, div = hwd->div; in cdce706_pll_set_rate() local
[all …]
Dclk-moxart.c22 unsigned int mul; in moxart_of_pll_clk_init() local
35 mul = readl(base + 0x30) >> 3 & 0x3f; in moxart_of_pll_clk_init()
44 clk = clk_register_fixed_factor(NULL, name, parent_name, 0, mul, 1); in moxart_of_pll_clk_init()
Dclk-nomadik.c228 u8 mul; in pll_clk_recalc_rate() local
231 mul = (val >> 8) & 0x3FU; in pll_clk_recalc_rate()
232 mul += 2; in pll_clk_recalc_rate()
234 return (parent_rate * mul) >> div; in pll_clk_recalc_rate()
238 u8 mul; in pll_clk_recalc_rate() local
240 mul = (val >> 24) & 0x3FU; in pll_clk_recalc_rate()
241 mul += 2; in pll_clk_recalc_rate()
242 return (parent_rate * mul); in pll_clk_recalc_rate()
/linux-4.1.27/drivers/clk/tegra/
Dclk-divider.c38 int mul; in get_div() local
43 mul = get_mul(divider); in get_div()
46 divider_ux1 *= mul; in get_div()
54 divider_ux1 *= mul; in get_div()
56 divider_ux1 -= mul; in get_div()
72 int div, mul; in clk_frac_div_recalc_rate() local
78 mul = get_mul(divider); in clk_frac_div_recalc_rate()
79 div += mul; in clk_frac_div_recalc_rate()
81 rate *= mul; in clk_frac_div_recalc_rate()
92 int div, mul; in clk_frac_div_round_rate() local
[all …]
/linux-4.1.27/arch/mips/ar7/
Dclock.c83 u32 mul; member
112 int *postdiv, int *mul) in approximate() argument
121 *mul = i; in approximate()
129 int *mul) in calculate() argument
136 *mul = target / tmp_gcd; in calculate()
138 if ((*mul < 1) || (*mul >= 16)) in calculate()
144 if (base / *prediv * *mul / *postdiv != target) { in calculate()
145 approximate(base, target, prediv, postdiv, mul); in calculate()
146 tmp_freq = base / *prediv * *mul / *postdiv; in calculate()
153 *prediv, *postdiv, *mul); in calculate()
[all …]
/linux-4.1.27/drivers/cpufreq/
Dcpufreq-nforce2.c23 #define NFORCE2_PLL(mul, div) (0x100000 | (mul << 8) | div) argument
69 unsigned char mul, div; in nforce2_calc_fsb() local
71 mul = (pll >> 8) & 0xff; in nforce2_calc_fsb()
75 return NFORCE2_XTAL * mul / div; in nforce2_calc_fsb()
89 unsigned char mul = 0, div = 0; in nforce2_calc_pll() local
93 while (((mul == 0) || (div == 0)) && (tried <= 3)) { in nforce2_calc_pll()
98 mul = xmul; in nforce2_calc_pll()
104 if ((mul == 0) || (div == 0)) in nforce2_calc_pll()
107 return NFORCE2_PLL(mul, div); in nforce2_calc_pll()
/linux-4.1.27/drivers/pwm/
Dpwm-img.c92 unsigned long mul, output_clk_hz, input_clk_hz; in img_pwm_config() local
105 mul = DIV_ROUND_UP(input_clk_hz, output_clk_hz); in img_pwm_config()
106 if (mul <= max_timebase) { in img_pwm_config()
108 timebase = DIV_ROUND_UP(mul, 1); in img_pwm_config()
109 } else if (mul <= max_timebase * 8) { in img_pwm_config()
111 timebase = DIV_ROUND_UP(mul, 8); in img_pwm_config()
112 } else if (mul <= max_timebase * 64) { in img_pwm_config()
114 timebase = DIV_ROUND_UP(mul, 64); in img_pwm_config()
115 } else if (mul <= max_timebase * 512) { in img_pwm_config()
117 timebase = DIV_ROUND_UP(mul, 512); in img_pwm_config()
[all …]
/linux-4.1.27/drivers/net/wireless/ath/ath9k/
Dcommon.h39 #define ATH_EP_MUL(x, mul) ((x) * (mul)) argument
47 #define ATH_EP_RND(x, mul) \ argument
48 (((x) + ((mul)/2)) / (mul))
/linux-4.1.27/drivers/clk/at91/
Dclk-pll.c67 u16 mul; member
95 u16 mul; in clk_pll_prepare() local
99 mul = PLL_MUL(pllr, layout); in clk_pll_prepare()
102 (div == pll->div && mul == pll->mul)) in clk_pll_prepare()
118 ((pll->mul & layout->mul_mask) << layout->mul_shift)); in clk_pll_prepare()
155 if (!pll->div || !pll->mul) in clk_pll_recalc_rate()
158 return (parent_rate / pll->div) * (pll->mul + 1); in clk_pll_recalc_rate()
163 u32 *div, u32 *mul, in clk_pll_get_best_div_mul() argument
263 if (mul) in clk_pll_get_best_div_mul()
264 *mul = bestmul - 1; in clk_pll_get_best_div_mul()
[all …]
/linux-4.1.27/crypto/
Dtgr192.c401 static void tgr192_round(u64 * ra, u64 * rb, u64 * rc, u64 x, int mul) in tgr192_round() argument
412 b *= mul; in tgr192_round()
420 static void tgr192_pass(u64 * ra, u64 * rb, u64 * rc, u64 * x, int mul) in tgr192_pass() argument
426 tgr192_round(&a, &b, &c, x[0], mul); in tgr192_pass()
427 tgr192_round(&b, &c, &a, x[1], mul); in tgr192_pass()
428 tgr192_round(&c, &a, &b, x[2], mul); in tgr192_pass()
429 tgr192_round(&a, &b, &c, x[3], mul); in tgr192_pass()
430 tgr192_round(&b, &c, &a, x[4], mul); in tgr192_pass()
431 tgr192_round(&c, &a, &b, x[5], mul); in tgr192_pass()
432 tgr192_round(&a, &b, &c, x[6], mul); in tgr192_pass()
[all …]
/linux-4.1.27/arch/arm/lib/
Dmuldi3.S31 mul xh, yl, xh
38 mul yh, xl, yh
39 mul xl, yl, xl
40 mul ip, yl, ip
Ddelay-loop.S26 mul r0, r2, r0
35 mul r0, r2, r0 @ max = 2^32-1
Dlib1funcs.S332 mul r3, r0, r2
345 mul r3, r0, r2
/linux-4.1.27/arch/m68k/fpsp040/
Dbinstr.S16 | bit 63. The fraction is multiplied by 10 using a mul by 2
17 | shift and a mul by 8 shift. The bits shifted out of the
51 | d2: upper 32-bits of fraction for mul by 8
52 | d3: lower 32-bits of fraction for mul by 8
53 | d4: upper 32-bits of fraction for mul by 2
54 | d5: lower 32-bits of fraction for mul by 2
97 asll #1,%d5 |mul d5 by 2
98 roxll #1,%d4 |mul d4 by 2
100 addxw %d6,%d1 |add in extend from mul by 2
102 | A5. Add mul by 8 to mul by 2. D1 contains the digit formed.
Ddecbin.S62 | Clean up and return. Check if the final mul or div resulted
125 | 2. Calculate absolute value of exponent in d1 by mul and add.
153 mulul #TEN,%d1 |mul partial product by one digit place
463 bccs e_next |if zero, skip the mul
464 fmulx (%a1,%d3),%fp1 |mul by 10**(d3_bit_no)
483 beqs mul |if clear, go to multiply
487 mul: label
493 | If the final mul/div in decbin incurred an inex exception,
Dbindec.S254 fmulx LOG2UP1,%fp0 |if neg, mul by LOG2UP1
258 fmulx LOG2,%fp0 |if pos, mul by LOG2
650 bccs l_next |if zero, skip the mul
651 fmulx (%a1,%d3),%fp2 |mul by 10**(d3_bit_no)
Dres_func.S619 | and for mul when
/linux-4.1.27/drivers/media/i2c/
Dsmiapp-pll.c162 struct smiapp_pll *pll, struct smiapp_pll_branch *op_pll, uint32_t mul, in __smiapp_pll_calculate() argument
187 more_mul_max = limits->max_pll_multiplier / mul; in __smiapp_pll_calculate()
195 / (pll->ext_clk_freq_hz / pll->pre_pll_clk_div * mul)); in __smiapp_pll_calculate()
206 DIV_ROUND_UP(limits->max_pll_multiplier, mul)); in __smiapp_pll_calculate()
213 * mul); in __smiapp_pll_calculate()
218 DIV_ROUND_UP(limits->min_pll_multiplier, mul)); in __smiapp_pll_calculate()
243 pll->pll_multiplier = mul * i; in __smiapp_pll_calculate()
403 uint32_t mul, div; in smiapp_pll_calculate() local
457 mul = div_u64(pll->pll_op_clk_freq_hz, i); in smiapp_pll_calculate()
459 dev_dbg(dev, "mul %u / div %u\n", mul, div); in smiapp_pll_calculate()
[all …]
/linux-4.1.27/include/linux/
Dmath64.h139 static inline u64 mul_u64_u32_shr(u64 a, u32 mul, unsigned int shift) in mul_u64_u32_shr() argument
141 return (u64)(((unsigned __int128)a * mul) >> shift); in mul_u64_u32_shr()
148 static inline u64 mul_u64_u32_shr(u64 a, u32 mul, unsigned int shift) in mul_u64_u32_shr() argument
156 ret = ((u64)al * mul) >> shift; in mul_u64_u32_shr()
158 ret += ((u64)ah * mul) << (32 - shift); in mul_u64_u32_shr()
/linux-4.1.27/arch/arm/mach-shmobile/
Dclock.h12 int mul; member
18 .mul = m, \
38 (p)->mul = m; \
Dclock.c31 return clk->parent->rate / p->div * p->mul; in shmobile_fixed_ratio_clk_recalc()
/linux-4.1.27/arch/mips/ralink/
Dmt7620.c231 mt7620_calc_rate(u32 ref_rate, u32 mul, u32 div) in mt7620_calc_rate() argument
236 t *= mul; in mt7620_calc_rate()
274 u32 mul; in mt7620_get_cpu_pll_rate() local
284 mul = (reg >> CPLL_CFG0_PLL_MULT_RATIO_SHIFT) & in mt7620_get_cpu_pll_rate()
286 mul += 24; in mt7620_get_cpu_pll_rate()
288 mul *= 2; in mt7620_get_cpu_pll_rate()
295 return mt7620_calc_rate(xtal_rate, mul, mt7620_clk_divider[div]); in mt7620_get_cpu_pll_rate()
317 u32 mul; in mt7620_get_cpu_rate() local
322 mul = reg & CPU_SYS_CLKCFG_CPU_FFRAC_MASK; in mt7620_get_cpu_rate()
326 return mt7620_calc_rate(pll_rate, mul, div); in mt7620_get_cpu_rate()
/linux-4.1.27/arch/arm/boot/compressed/
Dll_char_wr.S69 mul r7, r2, r7
74 mul r7, r2, r7
88 mul r4, r2, ip
91 mul ip, r2, ip @ avoid r4
98 mul r4, r2, ip
101 mul ip, r2, ip @ avoid r4
/linux-4.1.27/arch/nios2/
DMakefile26 KBUILD_CFLAGS += $(if $(CONFIG_NIOS2_HW_MUL_SUPPORT),-mhw-mul,-mno-hw-mul)
/linux-4.1.27/arch/unicore32/lib/
Ddelay.S28 mul r0, r2, r0
34 mul r0, r2, r0 @ max = 2^32-1
/linux-4.1.27/arch/mips/kernel/
Dcps-vec.S107 mul t1, t1, t0
108 mul t1, t1, t2
134 mul t1, t1, t0
135 mul t1, t1, t2
307 mul t0, t0, t1
336 mul v0, t9, t1
387 mul t0, t0, t5
/linux-4.1.27/drivers/gpu/drm/tegra/
Ddsi.c43 unsigned int mul; member
489 unsigned int hact, hsw, hbp, hfp, i, mul, div; in tegra_dsi_configure() local
500 mul = state->mul; in tegra_dsi_configure()
547 hact = mode->hdisplay * mul / div; in tegra_dsi_configure()
550 hsw = (mode->hsync_end - mode->hsync_start) * mul / div; in tegra_dsi_configure()
554 hbp = (mode->htotal - mode->hsync_end) * mul / div; in tegra_dsi_configure()
558 hfp = (mode->hsync_start - mode->hdisplay) * mul / div; in tegra_dsi_configure()
567 tegra_dsi_writel(dsi, 8 * mul / div, DSI_SOL_DELAY); in tegra_dsi_configure()
577 bytes = 1 + (mode->hdisplay / 2) * mul / div; in tegra_dsi_configure()
580 bytes = 1 + mode->hdisplay * mul / div; in tegra_dsi_configure()
[all …]
/linux-4.1.27/arch/openrisc/
DMakefile30 KBUILD_CFLAGS += $(call cc-option,-mhard-mul)
32 KBUILD_CFLAGS += $(call cc-option,-msoft-mul)
DKconfig91 bool "Have instruction l.mul for hardware multiply"
/linux-4.1.27/arch/avr32/mach-at32ap/
Dhsmc.c38 unsigned long mul; in smc_set_timing() local
57 mul = (clk_get_rate(hsmc->mck) / 10000) << 16; in smc_set_timing()
58 mul /= 100000; in smc_set_timing()
60 #define ns2cyc(x) ((((x) * mul) + 65535) >> 16) in smc_set_timing()
Dat32ap700x.c117 unsigned long div, mul, rate; in pll_get_rate() local
120 mul = PM_BFEXT(PLLMUL, control) + 1; in pll_get_rate()
124 rate *= mul; in pll_get_rate()
132 unsigned long mul; in pll_set_rate() local
161 mul = (rate + pll_in / 2) / pll_in; in pll_set_rate()
163 if (mul == 0) in pll_set_rate()
166 actual = pll_in * mul; in pll_set_rate()
170 mul_best_fit = mul; in pll_set_rate()
/linux-4.1.27/drivers/media/radio/si4713/
Dsi4713.c940 s32 *bit, s32 *mask, u16 *property, int *mul, in si4713_choose_econtrol_action() argument
949 *mul = 1; in si4713_choose_econtrol_action()
953 *mul = 1; in si4713_choose_econtrol_action()
957 *mul = 1; in si4713_choose_econtrol_action()
961 *mul = 1; in si4713_choose_econtrol_action()
965 *mul = ATTACK_TIME_UNIT; in si4713_choose_econtrol_action()
969 *mul = 10; in si4713_choose_econtrol_action()
973 *mul = 10; in si4713_choose_econtrol_action()
977 *mul = 1; in si4713_choose_econtrol_action()
1124 int mul = 0; in si4713_s_ctrl() local
[all …]
/linux-4.1.27/drivers/ata/
Dpata_at91.c180 unsigned long mul; in calc_mck_cycles() local
189 mul = (mck_hz / 10000) << 16; in calc_mck_cycles()
190 mul /= 100000; in calc_mck_cycles()
192 return (ns * mul + 65536) >> 16; /* rounding */ in calc_mck_cycles()
/linux-4.1.27/drivers/usb/gadget/udc/bdc/
Dbdc_cmd.c147 u32 mps, mbs, mul, si; in bdc_config_ep() local
152 cmd_sc = mul = mbs = param2 = 0; in bdc_config_ep()
174 mul = comp_desc->bmAttributes; in bdc_config_ep()
177 param2 |= mul << EPM_SHIFT; in bdc_config_ep()
/linux-4.1.27/drivers/net/wireless/p54/
Deeprom.h98 __le16 mul; member
103 __le16 mul; member
Deeprom.c65 .mul = 130,
567 entry[i].mul = (s16) le16_to_cpu(cal[i].mul); in p54_parse_rssical()
585 entry[i].mul = (s16) le16_to_cpu(cal[i].mul); in p54_parse_rssical()
Dp54.h121 s16 mul; member
Dfwio.c511 rssi->mul = cpu_to_le16(rssi_data->mul); in p54_scan()
516 rssi->mul = cpu_to_le16(rssi_data->longbow_unkn); in p54_scan()
Dtxrx.c278 return ((rssi * priv->cur_rssi->mul) / 64 + in p54_rssi_to_dbm()
/linux-4.1.27/tools/perf/bench/
Dnuma.c456 int mul; in parse_setup_cpu_list() local
494 mul = 1; in parse_setup_cpu_list()
497 mul = atol(tok_mul + 1); in parse_setup_cpu_list()
498 BUG_ON(mul <= 0); in parse_setup_cpu_list()
501 dprintf("CPUs: %d_%d-%d#%dx%d\n", bind_cpu_0, bind_len, bind_cpu_1, step, mul); in parse_setup_cpu_list()
514 for (i = 0; i < mul; i++) { in parse_setup_cpu_list()
592 int mul; in parse_setup_node_list() local
618 mul = 1; in parse_setup_node_list()
621 mul = atol(tok_mul + 1); in parse_setup_node_list()
622 BUG_ON(mul <= 0); in parse_setup_node_list()
[all …]
/linux-4.1.27/drivers/usb/core/
Dusb.h46 unsigned mul = (udev->speed == USB_SPEED_SUPER ? 8 : 2); in usb_get_max_power() local
48 return c->desc.bMaxPower * mul; in usb_get_max_power()
Ddevices.c321 int mul; in usb_dump_config_descriptor() local
326 mul = 8; in usb_dump_config_descriptor()
328 mul = 2; in usb_dump_config_descriptor()
335 desc->bMaxPower * mul); in usb_dump_config_descriptor()
/linux-4.1.27/lib/mpi/
DMakefile20 mpih-mul.o \
/linux-4.1.27/Documentation/devicetree/bindings/nios2/
Dnios2.txt26 - altr,has-mul: Specifies CPU hardware multipy support, should be 1.
56 altr,has-mul = <1>;
/linux-4.1.27/drivers/media/tuners/
De4000_priv.h53 u8 mul; member
Dfc2580_priv.h66 u16 mul; member
Dfc2580.c352 fc2580_if_filter_lut[i].mul, 1000000000)); in fc2580_set_params()
De4000.c143 f_vco = 1ull * c->frequency * e4000_pll_lut[i].mul; in e4000_set_params()
/linux-4.1.27/arch/sh/lib/
Ddiv64.S28 mul.l r6, r2
/linux-4.1.27/arch/powerpc/platforms/512x/
Dclock-commonclk.c228 int mul, int div) in mpc512x_clk_factor() argument
234 mul, div); in mpc512x_clk_factor()
707 int mul, div; in mpc512x_clk_setup_clock_tree() local
778 mul = get_cpmf_mult_x2(); in mpc512x_clk_setup_clock_tree()
780 clks[MPC512x_CLK_E300] = mpc512x_clk_factor("e300", "csb", mul, div); in mpc512x_clk_setup_clock_tree()
/linux-4.1.27/kernel/time/
Dtimeconst.bc27 /* Compute the appropriate mul/adj values as well as a shift count,
28 which brings the mul value into the range 2^b-1 <= x < 2^b. Such
/linux-4.1.27/arch/arm64/kernel/vdso/
Dgettimeofday.S234 mul x10, x10, x11
243 mul x13, x14, x11
/linux-4.1.27/drivers/spi/
Dspi-pxa2xx.c699 u32 mul; in quark_x1000_get_clk_div() local
704 mul = (1 << 24) >> 1; in quark_x1000_get_clk_div()
715 mul >>= scale - 9; in quark_x1000_get_clk_div()
725 mul >>= scale; in quark_x1000_get_clk_div()
728 r1 = abs(fref1 / (1 << (24 - fls_long(mul))) / q1 - rate); in quark_x1000_get_clk_div()
748 mul = (1 << 24) * 2 / 5; in quark_x1000_get_clk_div()
769 mul = m; in quark_x1000_get_clk_div()
773 *dds = mul; in quark_x1000_get_clk_div()
/linux-4.1.27/drivers/net/ethernet/cisco/enic/
Dvnic_dev.c45 u32 mul; member
827 vdev->intr_coal_timer_info.mul = 2; in vnic_dev_intr_coal_timer_info_default()
856 vdev->intr_coal_timer_info.mul = (u32) vdev->args[0]; in vnic_dev_intr_coal_timer_info()
910 return (usec * vdev->intr_coal_timer_info.mul) / in vnic_dev_intr_coal_timer_usec_to_hw()
917 vdev->intr_coal_timer_info.mul; in vnic_dev_intr_coal_timer_hw_to_usec()
/linux-4.1.27/drivers/gpu/drm/radeon/
Dradeon_audio.c556 unsigned long div, mul; in radeon_audio_calc_cts() local
572 mul = ((128*freq/1000) + (n-1))/n; in radeon_audio_calc_cts()
574 n *= mul; in radeon_audio_calc_cts()
575 cts *= mul; in radeon_audio_calc_cts()
/linux-4.1.27/drivers/hwmon/
Dsmsc47m192.c60 static inline int SCALE(long val, int mul, int div) in SCALE() argument
63 return (val * mul - div / 2) / div; in SCALE()
65 return (val * mul + div / 2) / div; in SCALE()
Dadm9240.c83 static inline int SCALE(long val, int mul, int div) in SCALE() argument
86 return (val * mul - div / 2) / div; in SCALE()
88 return (val * mul + div / 2) / div; in SCALE()
/linux-4.1.27/arch/mips/include/asm/octeon/
Dcvmx-spxx-defs.h291 uint64_t mul:1; member
301 uint64_t mul:1;
/linux-4.1.27/drivers/usb/chipidea/
Dudc.c364 u32 mul = hwreq->req.length / hwep->ep.maxpacket; in add_td_to_list() local
368 mul++; in add_td_to_list()
369 node->ptr->token |= mul << __ffs(TD_MULTO); in add_td_to_list()
494 u32 mul = hwreq->req.length / hwep->ep.maxpacket; in _hardware_enqueue() local
498 mul++; in _hardware_enqueue()
499 hwep->qh.ptr->cap |= mul << __ffs(QH_MULT); in _hardware_enqueue()
/linux-4.1.27/arch/mips/netlogic/common/
Dreset.S190 mul t3, t2, t1 /* t3 = node * 0x40000 */
/linux-4.1.27/arch/nios2/boot/dts/
D3c120_devboard.dts49 altr,has-mul = <1>;
/linux-4.1.27/arch/nios2/platform/
DKconfig.platform60 instruction. This will enable the -mhw-mul compiler flag.
/linux-4.1.27/arch/powerpc/platforms/powernv/
Dpci-ioda.c2361 int mul, total_vfs; in pnv_pci_ioda_fixup_iov_resources() local
2374 mul = phb->ioda.total_pe; in pnv_pci_ioda_fixup_iov_resources()
2393 mul = roundup_pow_of_two(total_vfs); in pnv_pci_ioda_fixup_iov_resources()
2410 res->end = res->start + size * mul - 1; in pnv_pci_ioda_fixup_iov_resources()
2413 i, res, mul); in pnv_pci_ioda_fixup_iov_resources()
2415 pdn->vfs_expanded = mul; in pnv_pci_ioda_fixup_iov_resources()
/linux-4.1.27/tools/net/
Dbpf_exp.y103 | mul
490 mul
/linux-4.1.27/drivers/video/fbdev/
Dvga16fb.c248 int mul, int div) in vga16fb_clock_chip() argument
262 pixclock = (pixclock * mul) / div; in vga16fb_clock_chip()
278 pixclock = (best->pixclock * div) / mul; in vga16fb_clock_chip()
/linux-4.1.27/sound/core/
Dpcm_lib.c565 static inline unsigned int mul(unsigned int a, unsigned int b) in mul() function
681 c->min = mul(a->min, b->min); in snd_interval_mul()
683 c->max = mul(a->max, b->max); in snd_interval_mul()
937 num = mul(q, den); in snd_interval_ratden()
969 num = mul(q, den); in snd_interval_ratden()
/linux-4.1.27/arch/m68k/ifpsp060/src/
Dilsp.S480 # _060LSP__imulu64_(): Emulate 64-bit unsigned mul instruction #
481 # _060LSP__imuls64_(): Emulate 64-bit signed mul instruction. #
484 # and therefore does not work exactly like the 680X0 mul{s,u}.l #
Ditest.S80 ### mul
/linux-4.1.27/drivers/gpu/drm/i915/
Dintel_pm.c6709 int mul, czclk_freq = DIV_ROUND_CLOSEST(dev_priv->mem_freq, 4); in byt_freq_opcode() local
6711 mul = vlv_gpu_freq_div(czclk_freq); in byt_freq_opcode()
6712 if (mul < 0) in byt_freq_opcode()
6713 return mul; in byt_freq_opcode()
6715 return DIV_ROUND_CLOSEST(mul * val, czclk_freq) + 0xbd - 6; in byt_freq_opcode()
6731 int mul, czclk_freq = dev_priv->rps.cz_freq; in chv_freq_opcode() local
6733 mul = vlv_gpu_freq_div(czclk_freq) / 2; in chv_freq_opcode()
6734 if (mul < 0) in chv_freq_opcode()
6735 return mul; in chv_freq_opcode()
6738 return DIV_ROUND_CLOSEST(val * 2 * mul, czclk_freq) * 2; in chv_freq_opcode()
/linux-4.1.27/drivers/tty/serial/
Dimx.c1725 unsigned int mul = ubir + 1; in imx_console_get_options() local
1729 baud_raw = (uartclk / div) * mul; in imx_console_get_options()
1730 baud_raw += (rem * mul + div / 2) / div; in imx_console_get_options()
/linux-4.1.27/arch/microblaze/boot/dts/
Dsystem.dts125 xlnx,use-hw-mul = <0x2>;
/linux-4.1.27/drivers/tty/serial/8250/
D8250_pci.c1528 unsigned long mul, div; in intel_mid_set_termios() local
1542 rational_best_approximation(fuart, fref, w, w, &mul, &div); in intel_mid_set_termios()
1546 writel(mul, p->membase + INTEL_MID_UART_MUL); /* set MUL */ in intel_mid_set_termios()
/linux-4.1.27/arch/mips/net/
Dbpf_jit.c407 emit_instr(ctx, mul, dst, src1, src2); in emit_mul()
/linux-4.1.27/Documentation/networking/
Dfilter.txt230 mul 0, 4 A * <x>
/linux-4.1.27/arch/x86/kvm/
Demulate.c912 FASTOP1SRC2(mul, mul_ex);