/linux-4.4.14/drivers/clk/ |
D | clk-vt8500.c | 387 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 …]
|
D | clk-cdce706.c | 77 unsigned mul; member 175 __func__, hwd->idx, hwd->mux, hwd->mul, hwd->div); in cdce706_pll_recalc_rate() 178 if (hwd->div && hwd->mul) { in cdce706_pll_recalc_rate() 179 u64 res = (u64)parent_rate * hwd->mul; in cdce706_pll_recalc_rate() 195 unsigned long mul, div; in cdce706_pll_round_rate() local 204 &mul, &div); in cdce706_pll_round_rate() 205 hwd->mul = mul; in cdce706_pll_round_rate() 210 __func__, hwd->idx, mul, div); in cdce706_pll_round_rate() 212 res = (u64)*parent_rate * hwd->mul; in cdce706_pll_round_rate() 221 unsigned long mul = hwd->mul, div = hwd->div; in cdce706_pll_set_rate() local [all …]
|
D | clk-moxart.c | 23 unsigned int mul; in moxart_of_pll_clk_init() local 36 mul = readl(base + 0x30) >> 3 & 0x3f; in moxart_of_pll_clk_init() 45 clk = clk_register_fixed_factor(NULL, name, parent_name, 0, mul, 1); in moxart_of_pll_clk_init()
|
D | clk-nomadik.c | 227 u8 mul; in pll_clk_recalc_rate() local 230 mul = (val >> 8) & 0x3FU; in pll_clk_recalc_rate() 231 mul += 2; in pll_clk_recalc_rate() 233 return (parent_rate * mul) >> div; in pll_clk_recalc_rate() 237 u8 mul; in pll_clk_recalc_rate() local 239 mul = (val >> 24) & 0x3FU; in pll_clk_recalc_rate() 240 mul += 2; in pll_clk_recalc_rate() 241 return (parent_rate * mul); in pll_clk_recalc_rate()
|
/linux-4.4.14/drivers/clk/tegra/ |
D | clk-divider.c | 37 int mul; in get_div() local 42 mul = get_mul(divider); in get_div() 45 divider_ux1 *= mul; in get_div() 53 divider_ux1 *= mul; in get_div() 55 divider_ux1 -= mul; in get_div() 71 int div, mul; in clk_frac_div_recalc_rate() local 77 mul = get_mul(divider); in clk_frac_div_recalc_rate() 78 div += mul; in clk_frac_div_recalc_rate() 80 rate *= mul; in clk_frac_div_recalc_rate() 91 int div, mul; in clk_frac_div_round_rate() local [all …]
|
/linux-4.4.14/arch/mips/ar7/ |
D | clock.c | 83 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.4.14/drivers/cpufreq/ |
D | cpufreq-nforce2.c | 23 #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.4.14/include/linux/ |
D | math64.h | 139 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() 146 static inline u64 mul_u64_u64_shr(u64 a, u64 mul, unsigned int shift) in mul_u64_u64_shr() argument 148 return (u64)(((unsigned __int128)a * mul) >> shift); in mul_u64_u64_shr() 155 static inline u64 mul_u64_u32_shr(u64 a, u32 mul, unsigned int shift) in mul_u64_u32_shr() argument 163 ret = ((u64)al * mul) >> shift; in mul_u64_u32_shr() 165 ret += ((u64)ah * mul) << (32 - shift); in mul_u64_u32_shr() 218 static inline u64 mul_u64_u32_div(u64 a, u32 mul, u32 divisor) in mul_u64_u32_div() argument 232 rl.ll = (u64)u.l.low * mul; in mul_u64_u32_div() 233 rh.ll = (u64)u.l.high * mul + rl.l.high; in mul_u64_u32_div()
|
/linux-4.4.14/drivers/pwm/ |
D | pwm-img.c | 92 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.4.14/drivers/net/wireless/ath/ath9k/ |
D | common.h | 39 #define ATH_EP_MUL(x, mul) ((x) * (mul)) argument 47 #define ATH_EP_RND(x, mul) \ argument 48 (((x) + ((mul)/2)) / (mul))
|
/linux-4.4.14/drivers/clk/at91/ |
D | clk-pll.c | 67 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.4.14/crypto/ |
D | tgr192.c | 401 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.4.14/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_afmt.c | 54 unsigned long div, mul; in amdgpu_afmt_calc_cts() local 70 mul = ((128*freq/1000) + (n-1))/n; in amdgpu_afmt_calc_cts() 72 n *= mul; in amdgpu_afmt_calc_cts() 73 cts *= mul; in amdgpu_afmt_calc_cts()
|
/linux-4.4.14/arch/arm/lib/ |
D | muldi3.S | 31 mul xh, yl, xh 38 mul yh, xl, yh 39 mul xl, yl, xl 40 mul ip, yl, ip
|
D | delay-loop.S | 26 mul r0, r2, r0 35 mul r0, r2, r0 @ max = 2^32-1
|
D | lib1funcs.S | 332 mul r3, r0, r2 345 mul r3, r0, r2
|
/linux-4.4.14/arch/m68k/fpsp040/ |
D | binstr.S | 16 | 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.
|
D | decbin.S | 62 | 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,
|
D | bindec.S | 254 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)
|
D | res_func.S | 619 | and for mul when
|
/linux-4.4.14/drivers/media/i2c/ |
D | smiapp-pll.c | 162 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.4.14/arch/mips/ralink/ |
D | mt7620.c | 246 mt7620_calc_rate(u32 ref_rate, u32 mul, u32 div) in mt7620_calc_rate() argument 251 t *= mul; in mt7620_calc_rate() 289 u32 mul; in mt7620_get_cpu_pll_rate() local 299 mul = (reg >> CPLL_CFG0_PLL_MULT_RATIO_SHIFT) & in mt7620_get_cpu_pll_rate() 301 mul += 24; in mt7620_get_cpu_pll_rate() 303 mul *= 2; in mt7620_get_cpu_pll_rate() 310 return mt7620_calc_rate(xtal_rate, mul, mt7620_clk_divider[div]); in mt7620_get_cpu_pll_rate() 332 u32 mul; in mt7620_get_cpu_rate() local 337 mul = reg & CPU_SYS_CLKCFG_CPU_FFRAC_MASK; in mt7620_get_cpu_rate() 341 return mt7620_calc_rate(pll_rate, mul, div); in mt7620_get_cpu_rate()
|
/linux-4.4.14/arch/arm/boot/compressed/ |
D | ll_char_wr.S | 69 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.4.14/arch/nios2/ |
D | Makefile | 26 KBUILD_CFLAGS += $(if $(CONFIG_NIOS2_HW_MUL_SUPPORT),-mhw-mul,-mno-hw-mul)
|
/linux-4.4.14/arch/unicore32/lib/ |
D | delay.S | 28 mul r0, r2, r0 34 mul r0, r2, r0 @ max = 2^32-1
|
/linux-4.4.14/drivers/gpu/drm/tegra/ |
D | dsi.c | 43 unsigned int mul; member 501 unsigned int hact, hsw, hbp, hfp, i, mul, div; in tegra_dsi_configure() local 512 mul = state->mul; in tegra_dsi_configure() 559 hact = mode->hdisplay * mul / div; in tegra_dsi_configure() 562 hsw = (mode->hsync_end - mode->hsync_start) * mul / div; in tegra_dsi_configure() 565 hbp = (mode->htotal - mode->hsync_end) * mul / div; in tegra_dsi_configure() 571 hfp = (mode->hsync_start - mode->hdisplay) * mul / div; in tegra_dsi_configure() 584 tegra_dsi_writel(dsi, 8 * mul / div, DSI_SOL_DELAY); in tegra_dsi_configure() 594 bytes = 1 + (mode->hdisplay / 2) * mul / div; in tegra_dsi_configure() 597 bytes = 1 + mode->hdisplay * mul / div; in tegra_dsi_configure() [all …]
|
/linux-4.4.14/arch/openrisc/ |
D | Makefile | 30 KBUILD_CFLAGS += $(call cc-option,-mhard-mul) 32 KBUILD_CFLAGS += $(call cc-option,-msoft-mul)
|
D | Kconfig | 91 bool "Have instruction l.mul for hardware multiply"
|
/linux-4.4.14/arch/mips/kernel/ |
D | cps-vec.S | 124 mul t1, t1, t0 125 mul t1, t1, t2 151 mul t1, t1, t0 152 mul t1, t1, t2 334 mul t0, t0, t1 365 mul v0, t9, t1 415 mul t0, t0, ta1
|
/linux-4.4.14/arch/avr32/mach-at32ap/ |
D | hsmc.c | 38 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()
|
D | at32ap700x.c | 117 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.4.14/drivers/media/radio/si4713/ |
D | si4713.c | 940 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.4.14/drivers/usb/gadget/udc/bdc/ |
D | bdc_cmd.c | 147 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.4.14/drivers/clk/h8300/ |
D | clk-h8s2678.c | 30 int mul = 1 << (readb(pll_clock->pllcr) & 3); in pll_recalc_rate() local 32 return parent_rate * mul; in pll_recalc_rate()
|
/linux-4.4.14/drivers/net/wireless/p54/ |
D | eeprom.h | 98 __le16 mul; member 103 __le16 mul; member
|
D | eeprom.c | 65 .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()
|
D | p54.h | 121 s16 mul; member
|
D | fwio.c | 510 rssi->mul = cpu_to_le16(rssi_data->mul); in p54_scan() 515 rssi->mul = cpu_to_le16(rssi_data->longbow_unkn); in p54_scan()
|
D | txrx.c | 278 return ((rssi * priv->cur_rssi->mul) / 64 + in p54_rssi_to_dbm()
|
/linux-4.4.14/drivers/ata/ |
D | pata_at91.c | 191 unsigned long mul; in calc_mck_cycles() local 200 mul = (mck_hz / 10000) << 16; in calc_mck_cycles() 201 mul /= 100000; in calc_mck_cycles() 203 return (ns * mul + 65536) >> 16; /* rounding */ in calc_mck_cycles()
|
/linux-4.4.14/drivers/usb/core/ |
D | usb.h | 48 unsigned mul = (udev->speed == USB_SPEED_SUPER ? 8 : 2); in usb_get_max_power() local 50 return c->desc.bMaxPower * mul; in usb_get_max_power()
|
D | devices.c | 321 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.4.14/drivers/tty/serial/8250/ |
D | 8250_mid.c | 150 unsigned long mul, div; in mid8250_set_termios() local 164 rational_best_approximation(fuart, mid->board->freq, w, w, &mul, &div); in mid8250_set_termios() 168 writel(mul, p->membase + INTEL_MID_UART_MUL); /* set MUL */ in mid8250_set_termios()
|
/linux-4.4.14/lib/mpi/ |
D | Makefile | 20 mpih-mul.o \
|
/linux-4.4.14/tools/perf/bench/ |
D | numa.c | 461 int mul; in parse_setup_cpu_list() local 499 mul = 1; in parse_setup_cpu_list() 502 mul = atol(tok_mul + 1); in parse_setup_cpu_list() 503 BUG_ON(mul <= 0); in parse_setup_cpu_list() 506 dprintf("CPUs: %d_%d-%d#%dx%d\n", bind_cpu_0, bind_len, bind_cpu_1, step, mul); in parse_setup_cpu_list() 519 for (i = 0; i < mul; i++) { in parse_setup_cpu_list() 597 int mul; in parse_setup_node_list() local 623 mul = 1; in parse_setup_node_list() 626 mul = atol(tok_mul + 1); in parse_setup_node_list() 627 BUG_ON(mul <= 0); in parse_setup_node_list() [all …]
|
/linux-4.4.14/Documentation/devicetree/bindings/nios2/ |
D | nios2.txt | 26 - altr,has-mul: Specifies CPU hardware multipy support, should be 1. 56 altr,has-mul = <1>;
|
/linux-4.4.14/arch/sh/lib/ |
D | div64.S | 28 mul.l r6, r2
|
/linux-4.4.14/arch/powerpc/platforms/512x/ |
D | clock-commonclk.c | 229 int mul, int div) in mpc512x_clk_factor() argument 235 mul, div); in mpc512x_clk_factor() 708 int mul, div; in mpc512x_clk_setup_clock_tree() local 779 mul = get_cpmf_mult_x2(); in mpc512x_clk_setup_clock_tree() 781 clks[MPC512x_CLK_E300] = mpc512x_clk_factor("e300", "csb", mul, div); in mpc512x_clk_setup_clock_tree()
|
/linux-4.4.14/arch/arm64/kernel/vdso/ |
D | gettimeofday.S | 234 mul x10, x10, x11 243 mul x13, x14, x11
|
/linux-4.4.14/kernel/time/ |
D | timeconst.bc | 27 /* 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.4.14/drivers/spi/ |
D | spi-pxa2xx.c | 770 u32 mul; in quark_x1000_get_clk_div() local 775 mul = (1 << 24) >> 1; in quark_x1000_get_clk_div() 786 mul >>= scale - 9; in quark_x1000_get_clk_div() 796 mul >>= scale; in quark_x1000_get_clk_div() 799 r1 = abs(fref1 / (1 << (24 - fls_long(mul))) / q1 - rate); in quark_x1000_get_clk_div() 819 mul = (1 << 24) * 2 / 5; in quark_x1000_get_clk_div() 840 mul = m; in quark_x1000_get_clk_div() 844 *dds = mul; in quark_x1000_get_clk_div()
|
/linux-4.4.14/drivers/gpu/drm/radeon/ |
D | radeon_audio.c | 556 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.4.14/drivers/gpu/drm/i915/ |
D | intel_panel.c | 1275 u32 mul, clock; in spt_hz_to_pwm() local 1278 mul = 128; in spt_hz_to_pwm() 1280 mul = 16; in spt_hz_to_pwm() 1284 return clock / (pwm_freq_hz * mul); in spt_hz_to_pwm() 1296 u32 mul, clock; in lpt_hz_to_pwm() local 1299 mul = 16; in lpt_hz_to_pwm() 1301 mul = 128; in lpt_hz_to_pwm() 1308 return clock / (pwm_freq_hz * mul); in lpt_hz_to_pwm()
|
D | intel_pm.c | 7230 int mul, czclk_freq = DIV_ROUND_CLOSEST(dev_priv->czclk_freq, 1000); in byt_freq_opcode() local 7232 mul = vlv_gpu_freq_div(czclk_freq); in byt_freq_opcode() 7233 if (mul < 0) in byt_freq_opcode() 7234 return mul; in byt_freq_opcode() 7236 return DIV_ROUND_CLOSEST(mul * val, czclk_freq) + 0xbd - 6; in byt_freq_opcode() 7252 int mul, czclk_freq = DIV_ROUND_CLOSEST(dev_priv->czclk_freq, 1000); in chv_freq_opcode() local 7254 mul = vlv_gpu_freq_div(czclk_freq) / 2; in chv_freq_opcode() 7255 if (mul < 0) in chv_freq_opcode() 7256 return mul; in chv_freq_opcode() 7259 return DIV_ROUND_CLOSEST(val * 2 * mul, czclk_freq) * 2; in chv_freq_opcode()
|
D | i915_irq.c | 1003 unsigned int mul = 100; in vlv_c0_above() local 1009 mul <<= 8; in vlv_c0_above() 1020 c0 *= mul * VLV_CZ_CLOCK_TO_MILLI_SEC; in vlv_c0_above()
|
/linux-4.4.14/drivers/hwmon/ |
D | smsc47m192.c | 60 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()
|
D | adm9240.c | 83 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.4.14/arch/mips/include/asm/octeon/ |
D | cvmx-spxx-defs.h | 291 uint64_t mul:1; member 301 uint64_t mul:1;
|
/linux-4.4.14/drivers/net/ethernet/cisco/enic/ |
D | vnic_dev.c | 945 vdev->intr_coal_timer_info.mul = 2; in vnic_dev_intr_coal_timer_info_default() 974 vdev->intr_coal_timer_info.mul = (u32) vdev->args[0]; in vnic_dev_intr_coal_timer_info() 1028 return (usec * vdev->intr_coal_timer_info.mul) / in vnic_dev_intr_coal_timer_usec_to_hw() 1035 vdev->intr_coal_timer_info.mul; in vnic_dev_intr_coal_timer_hw_to_usec()
|
D | vnic_dev.h | 86 u32 mul; member
|
/linux-4.4.14/drivers/usb/chipidea/ |
D | udc.c | 364 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.4.14/arch/mips/netlogic/common/ |
D | reset.S | 190 mul t3, t2, t1 /* t3 = node * 0x40000 */
|
/linux-4.4.14/arch/nios2/boot/dts/ |
D | 3c120_devboard.dts | 49 altr,has-mul = <1>;
|
D | 10m50_devboard.dts | 40 altr,has-mul = <1>;
|
/linux-4.4.14/arch/nios2/platform/ |
D | Kconfig.platform | 60 instruction. This will enable the -mhw-mul compiler flag.
|
/linux-4.4.14/tools/net/ |
D | bpf_exp.y | 103 | mul 490 mul
|
/linux-4.4.14/drivers/video/fbdev/ |
D | vga16fb.c | 248 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.4.14/sound/core/ |
D | pcm_lib.c | 565 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() 938 num = mul(q, den); in snd_interval_ratden() 970 num = mul(q, den); in snd_interval_ratden()
|
/linux-4.4.14/arch/powerpc/platforms/powernv/ |
D | pci-ioda.c | 2743 int mul, total_vfs; in pnv_pci_ioda_fixup_iov_resources() local 2756 mul = phb->ioda.total_pe; in pnv_pci_ioda_fixup_iov_resources() 2775 mul = roundup_pow_of_two(total_vfs); in pnv_pci_ioda_fixup_iov_resources() 2792 res->end = res->start + size * mul - 1; in pnv_pci_ioda_fixup_iov_resources() 2795 i, res, mul); in pnv_pci_ioda_fixup_iov_resources() 2797 pdn->vfs_expanded = mul; in pnv_pci_ioda_fixup_iov_resources()
|
/linux-4.4.14/arch/m68k/ifpsp060/src/ |
D | ilsp.S | 480 # _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 #
|
D | itest.S | 80 ### mul
|
/linux-4.4.14/drivers/tty/serial/ |
D | imx.c | 1729 unsigned int mul = ubir + 1; in imx_console_get_options() local 1733 baud_raw = (uartclk / div) * mul; in imx_console_get_options() 1734 baud_raw += (rem * mul + div / 2) / div; in imx_console_get_options()
|
/linux-4.4.14/arch/microblaze/boot/dts/ |
D | system.dts | 125 xlnx,use-hw-mul = <0x2>;
|
/linux-4.4.14/arch/mips/net/ |
D | bpf_jit.c | 372 emit_instr(ctx, mul, dst, src1, src2); in emit_mul()
|
/linux-4.4.14/Documentation/networking/ |
D | filter.txt | 230 mul 0, 4 A * <x>
|
/linux-4.4.14/arch/x86/kvm/ |
D | emulate.c | 909 FASTOP1SRC2(mul, mul_ex);
|