Home
last modified time | relevance | path

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

12345

/linux-6.6.21/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 …]
Dclk-cs2000-cp.c203 u32 multiplier = lf_ratio ? 12 : 20; in cs2000_rate_to_ratio() local
211 ratio = (u64)rate_out << multiplier; in cs2000_rate_to_ratio()
220 u32 multiplier = lf_ratio ? 12 : 20; in cs2000_ratio_to_rate() local
230 return rate_out >> multiplier; in cs2000_ratio_to_rate()
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/Documentation/devicetree/bindings/clock/
Dkeystone-pll.txt3 Binding for keystone PLLs. The main PLL IP typically has a multiplier,
17 - reg - pll control0 and pll multiplier registers
18 - reg-names : control, multiplier and post-divider. The multiplier and
29 reg-names = "control", "multiplier", "post-divider";
/linux-6.6.21/drivers/video/fbdev/aty/
Dmach64_ct.c121 u32 multiplier, divider, ras_multiplier, ras_divider, tmp; in aty_dsp_gt() local
125 multiplier = ((u32)pll->mclk_fb_div) * pll->vclk_post_div_real; in aty_dsp_gt()
143 multiplier = multiplier * par->lcd_width; in aty_dsp_gt()
152 while (((multiplier | divider) & 1) == 0) { in aty_dsp_gt()
153 multiplier = multiplier >> 1; in aty_dsp_gt()
158 tmp = ((multiplier * pll->fifo_size) << vshift) / divider; in aty_dsp_gt()
171 dsp_off = ((multiplier * (pll->fifo_size - 1)) << vshift) / divider - in aty_dsp_gt()
178 dsp_on = ((multiplier << vshift) + divider) / divider; in aty_dsp_gt()
190 dsp_on = dsp_off - (multiplier << vshift) / divider; in aty_dsp_gt()
195 dsp_xclks = ((multiplier << (vshift + 5)) + divider) / divider; in aty_dsp_gt()
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/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>;
/linux-6.6.21/arch/mips/ath25/
Dar5312.c289 unsigned predivide_select, predivisor, multiplier; in ar5312_cpu_frequency() local
333 multiplier = (clock_ctl1 & multiplier_mask) >> multiplier_shift; in ar5312_cpu_frequency()
336 multiplier <<= 1; in ar5312_cpu_frequency()
338 return (40000000 / predivisor) * multiplier; in ar5312_cpu_frequency()
/linux-6.6.21/arch/x86/kernel/
Dtsc_msr.c39 u32 multiplier; member
198 tscref = TSC_REFERENCE_KHZ * md->multiplier; in cpu_khz_from_msr()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce/
Ddce_aux.c437 uint32_t multiplier = 0; in dce_aux_configure_timeout() local
451 multiplier = DEFAULT_AUX_ENGINE_MULT; in dce_aux_configure_timeout()
454 multiplier = 0; in dce_aux_configure_timeout()
459 multiplier = 1; in dce_aux_configure_timeout()
464 multiplier = 2; in dce_aux_configure_timeout()
469 multiplier = 3; in dce_aux_configure_timeout()
497 …UPDATE_SEQ_2(AUX_DPHY_RX_CONTROL1, AUX_RX_TIMEOUT_LEN, length, AUX_RX_TIMEOUT_LEN_MUL, multiplier); in dce_aux_configure_timeout()
/linux-6.6.21/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()
/linux-6.6.21/drivers/gpu/drm/msm/dsi/phy/
Ddsi_phy_10nm.c121 u64 multiplier; in dsi_pll_calc_dec_frac() local
127 multiplier = 1 << FRAC_BITS; in dsi_pll_calc_dec_frac()
128 dec_multiple = div_u64(pll_freq * multiplier, divider); in dsi_pll_calc_dec_frac()
129 dec = div_u64_rem(dec_multiple, multiplier, &frac); in dsi_pll_calc_dec_frac()
427 u64 multiplier; in dsi_pll_10nm_vco_recalc_rate() local
445 multiplier = 1 << FRAC_BITS; in dsi_pll_10nm_vco_recalc_rate()
448 pll_freq += div_u64(tmp64, multiplier); in dsi_pll_10nm_vco_recalc_rate()
/linux-6.6.21/sound/usb/
Dclock.c260 union uac23_clock_multiplier_desc *multiplier; in __uac_clock_find_source() local
372 multiplier = snd_usb_find_clock_multiplier(chip, entity_id, proto); in __uac_clock_find_source()
373 if (multiplier) in __uac_clock_find_source()
375 GET_VAL(multiplier, proto, bCSourceID), in __uac_clock_find_source()
/linux-6.6.21/kernel/
Dprofile.c441 unsigned int multiplier; in write_profile() local
443 if (copy_from_user(&multiplier, buf, sizeof(int))) in write_profile()
446 if (setup_profiling_timer(multiplier)) in write_profile()
/linux-6.6.21/include/linux/
Dprofile.h42 int setup_profiling_timer(unsigned int multiplier);
/linux-6.6.21/drivers/iio/adc/
Dcpcap-adc.c177 unsigned short multiplier; member
197 int multiplier; member
686 req->result *= phase_tbl[index].multiplier; in cpcap_adc_phase()
698 req->result *= phase_tbl[index].multiplier; in cpcap_adc_phase()
776 req->result *= conv_tbl[index].multiplier; in cpcap_adc_convert()
/linux-6.6.21/Documentation/ABI/testing/
Dconfigfs-usb-gadget-ecm11 - queue length multiplier for high and

12345