Home
last modified time | relevance | path

Searched refs:multiplier (Results 1 – 25 of 123) sorted by relevance

12345

/kernel/linux/linux-5.10/drivers/clk/
Dclk-vt8500.c351 u32 *multiplier, u32 *prediv) in vt8500_find_pll_bits() argument
358 *multiplier = 0; in vt8500_find_pll_bits()
368 *multiplier = rate / (parent_rate / *prediv); in vt8500_find_pll_bits()
369 tclk = (parent_rate / *prediv) * *multiplier; in vt8500_find_pll_bits()
390 unsigned long parent_rate, u32 *multiplier, u32 *divisor1, in wm8650_find_pll_bits() argument
409 *multiplier = O1 / parent_rate; in wm8650_find_pll_bits()
417 if ((*multiplier < 3) || (*multiplier > 1023)) in wm8650_find_pll_bits()
453 u32 *filter, u32 *multiplier, u32 *divisor1, u32 *divisor2) in wm8750_find_pll_bits() argument
472 *multiplier = mul; in wm8750_find_pll_bits()
480 *multiplier = mul; in wm8750_find_pll_bits()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/hdmi/
Dhdmi_audio.c114 uint32_t n, cts, multiplier; in msm_hdmi_audio_update() local
123 multiplier = 4; in msm_hdmi_audio_update()
127 multiplier = 2; in msm_hdmi_audio_update()
130 multiplier = 1; in msm_hdmi_audio_update()
133 DBG("n=%u, cts=%u, multiplier=%u", n, cts, multiplier); in msm_hdmi_audio_update()
137 acr_pkt_ctrl |= HDMI_ACR_PKT_CTRL_N_MULTIPLIER(multiplier); in msm_hdmi_audio_update()
/kernel/linux/linux-5.10/tools/power/cpupower/debug/i386/
Dcentrino-decode.c65 unsigned int multiplier; in decode() local
68 multiplier = ((msr >> 8) & 0xFF); in decode()
72 printf("0x%x means multiplier %d @ %d mV\n", msr, multiplier, mv); in decode()
/kernel/linux/linux-5.10/drivers/clk/meson/
Dvid-pll-div.c30 unsigned int multiplier; member
38 .multiplier = (_fb), \
89 return DIV_ROUND_UP_ULL(parent_rate * div->multiplier, div->divider); in meson_vid_pll_div_recalc_rate()
/kernel/linux/linux-5.10/sound/soc/codecs/
Dtlv320aic32x4-clk.c157 u64 multiplier; in clk_aic32x4_pll_calc_muldiv() local
168 multiplier = (u64) rate * settings->p * 10000; in clk_aic32x4_pll_calc_muldiv()
169 do_div(multiplier, parent_rate); in clk_aic32x4_pll_calc_muldiv()
175 settings->r = ((u32) multiplier / 640000) + 1; in clk_aic32x4_pll_calc_muldiv()
178 do_div(multiplier, settings->r); in clk_aic32x4_pll_calc_muldiv()
183 if (multiplier < 10000) in clk_aic32x4_pll_calc_muldiv()
187 settings->j = (u32) multiplier / 10000; in clk_aic32x4_pll_calc_muldiv()
188 settings->d = (u32) multiplier % 10000; in clk_aic32x4_pll_calc_muldiv()
/kernel/linux/linux-5.10/drivers/video/fbdev/aty/
Dmach64_ct.c123 u32 multiplier, divider, ras_multiplier, ras_divider, tmp; in aty_dsp_gt() local
127 multiplier = ((u32)pll->mclk_fb_div) * pll->vclk_post_div_real; in aty_dsp_gt()
145 multiplier = multiplier * par->lcd_width; in aty_dsp_gt()
154 while (((multiplier | divider) & 1) == 0) { in aty_dsp_gt()
155 multiplier = multiplier >> 1; in aty_dsp_gt()
160 tmp = ((multiplier * pll->fifo_size) << vshift) / divider; in aty_dsp_gt()
173 dsp_off = ((multiplier * (pll->fifo_size - 1)) << vshift) / divider - in aty_dsp_gt()
180 dsp_on = ((multiplier << vshift) + divider) / divider; in aty_dsp_gt()
192 dsp_on = dsp_off - (multiplier << vshift) / divider; in aty_dsp_gt()
197 dsp_xclks = ((multiplier << (vshift + 5)) + divider) / divider; in aty_dsp_gt()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/clock/
Dkeystone-pll.txt3 Binding for keystone PLLs. The main PLL IP typically has a multiplier,
18 - reg-names : control, multiplier and post-divider. The multiplier and
29 reg-names = "control", "multiplier", "post-divider";
/kernel/linux/linux-5.10/sound/usb/
Dclock.c272 struct uac_clock_multiplier_descriptor *multiplier; in __uac_clock_find_source() local
361 multiplier = snd_usb_find_clock_multiplier(chip->ctrl_intf, entity_id); in __uac_clock_find_source()
362 if (multiplier) in __uac_clock_find_source()
364 multiplier->bCSourceID, in __uac_clock_find_source()
376 struct uac3_clock_multiplier_descriptor *multiplier; in __uac3_clock_find_source() local
461 multiplier = snd_usb_find_clock_multiplier_v3(chip->ctrl_intf, in __uac3_clock_find_source()
463 if (multiplier) in __uac3_clock_find_source()
465 multiplier->bCSourceID, in __uac3_clock_find_source()
/kernel/linux/linux-5.10/drivers/video/fbdev/via/
Dvia_clock.h26 u16 multiplier; member
50 return ref_freq / pll.divisor * pll.multiplier; in get_pll_internal_frequency()
Dvia_clock.c23 return (pll.multiplier << 8) in cle266_encode_pll()
32 | (pll.multiplier - 2); in k800_encode_pll()
39 | pll.multiplier; in vx855_encode_pll()
/kernel/linux/linux-5.10/drivers/acpi/acpica/
Dutmath.c48 acpi_ut_short_multiply(u64 multiplicand, u32 multiplier, u64 *out_product) in acpi_ut_short_multiply() argument
62 ACPI_MUL_64_BY_32(0, multiplicand_ovl.part.hi, multiplier, in acpi_ut_short_multiply()
65 ACPI_MUL_64_BY_32(0, multiplicand_ovl.part.lo, multiplier, in acpi_ut_short_multiply()
165 acpi_ut_short_multiply(u64 multiplicand, u32 multiplier, u64 *out_product) in acpi_ut_short_multiply() argument
173 *out_product = multiplicand * multiplier; in acpi_ut_short_multiply()
/kernel/linux/linux-5.10/arch/sh/kernel/cpu/sh4a/
Dclock-sh7757.c26 int multiplier; in pll_recalc() local
28 multiplier = test_mode_pin(MODE_PIN0) ? 24 : 16; in pll_recalc()
30 return clk->parent->rate * multiplier; in pll_recalc()
Dclock-sh7785.c29 int multiplier; in pll_recalc() local
31 multiplier = test_mode_pin(MODE_PIN4) ? 36 : 72; in pll_recalc()
33 return clk->parent->rate * multiplier; in pll_recalc()
Dclock-sh7786.c27 int multiplier; in pll_recalc() local
33 multiplier = (sh_mv.mv_mode_pins() & 0xf) < 3 ? 64 : 32; in pll_recalc()
35 return clk->parent->rate * multiplier; in pll_recalc()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce/
Ddce_aux.c435 uint32_t multiplier = 0; in dce_aux_configure_timeout() local
449 multiplier = DEFAULT_AUX_ENGINE_MULT; in dce_aux_configure_timeout()
452 multiplier = 0; in dce_aux_configure_timeout()
457 multiplier = 1; in dce_aux_configure_timeout()
462 multiplier = 2; in dce_aux_configure_timeout()
467 multiplier = 3; in dce_aux_configure_timeout()
495 …UPDATE_SEQ_2(AUX_DPHY_RX_CONTROL1, AUX_RX_TIMEOUT_LEN, length, AUX_RX_TIMEOUT_LEN_MUL, multiplier); in dce_aux_configure_timeout()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/dma/
Dimg-mdc-dma.txt13 - img,max-burst-multiplier: Must be the maximum supported burst size multiplier.
46 img,max-burst-multiplier = <16>;
/kernel/linux/linux-5.10/arch/mips/ath25/
Dar5312.c290 unsigned predivide_select, predivisor, multiplier; in ar5312_cpu_frequency() local
334 multiplier = (clock_ctl1 & multiplier_mask) >> multiplier_shift; in ar5312_cpu_frequency()
337 multiplier <<= 1; in ar5312_cpu_frequency()
339 return (40000000 / predivisor) * multiplier; in ar5312_cpu_frequency()
/kernel/linux/linux-5.10/arch/x86/kernel/
Dtsc_msr.c39 u32 multiplier; member
198 tscref = TSC_REFERENCE_KHZ * md->multiplier; in cpu_khz_from_msr()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/dsi/pll/
Ddsi_pll_10nm.c164 u64 multiplier; in dsi_pll_calc_dec_frac() local
173 multiplier = 1 << config->frac_bits; in dsi_pll_calc_dec_frac()
174 dec_multiple = div_u64(pll_freq * multiplier, divider); in dsi_pll_calc_dec_frac()
175 div_u64_rem(dec_multiple, multiplier, &frac); in dsi_pll_calc_dec_frac()
177 dec = div_u64(dec_multiple, multiplier); in dsi_pll_calc_dec_frac()
489 u64 multiplier; in dsi_pll_10nm_vco_recalc_rate() local
508 multiplier = 1 << 18; in dsi_pll_10nm_vco_recalc_rate()
511 pll_freq += div_u64(tmp64, multiplier); in dsi_pll_10nm_vco_recalc_rate()
Ddsi_pll_7nm.c165 u64 multiplier; in dsi_pll_calc_dec_frac() local
174 multiplier = 1 << config->frac_bits; in dsi_pll_calc_dec_frac()
175 dec_multiple = div_u64(pll_freq * multiplier, divider); in dsi_pll_calc_dec_frac()
176 div_u64_rem(dec_multiple, multiplier, &frac); in dsi_pll_calc_dec_frac()
178 dec = div_u64(dec_multiple, multiplier); in dsi_pll_calc_dec_frac()
515 u64 multiplier; in dsi_pll_7nm_vco_recalc_rate() local
534 multiplier = 1 << 18; in dsi_pll_7nm_vco_recalc_rate()
537 pll_freq += div_u64(tmp64, multiplier); in dsi_pll_7nm_vco_recalc_rate()
/kernel/linux/linux-5.10/kernel/
Dprofile.c511 extern int setup_profiling_timer(unsigned int multiplier); in write_profile()
514 unsigned int multiplier; in write_profile() local
516 if (copy_from_user(&multiplier, buf, sizeof(int))) in write_profile()
519 if (setup_profiling_timer(multiplier)) in write_profile()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_dcb.c25 int min_credit, multiplier; in ixgbe_ieee_credits() local
36 multiplier = (min_credit / min_percent) + 1; in ixgbe_ieee_credits()
40 int val = min(bw[i] * multiplier, MAX_CREDIT_REFILL); in ixgbe_ieee_credits()
/kernel/linux/linux-5.10/drivers/staging/clocking-wizard/
DTODO2 - support for fractional multiplier
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dconfigfs-usb-gadget-subset10 qmult queue length multiplier for high and
Dconfigfs-usb-gadget-eem10 qmult queue length multiplier for high and

12345