Home
last modified time | relevance | path

Searched full:multiplier (Results 1 – 25 of 921) sorted by relevance

12345678910>>...37

/kernel/linux/linux-5.10/sound/soc/codecs/
Dtlv320aic32x4-clk.c26 * struct clk_aic32x4_pll_muldiv - Multiplier/divider settings
28 * @r: first multiplier
29 * @j: integer part of second multiplier
30 * @d: decimal part of second multiplier
157 u64 multiplier; in clk_aic32x4_pll_calc_muldiv() local
165 * of the multiplier. This is because we can't do floating point in clk_aic32x4_pll_calc_muldiv()
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()
[all …]
/kernel/linux/linux-6.6/sound/soc/codecs/
Dtlv320aic32x4-clk.c26 * struct clk_aic32x4_pll_muldiv - Multiplier/divider settings
28 * @r: first multiplier
29 * @j: integer part of second multiplier
30 * @d: decimal part of second multiplier
157 u64 multiplier; in clk_aic32x4_pll_calc_muldiv() local
165 * of the multiplier. This is because we can't do floating point in clk_aic32x4_pll_calc_muldiv()
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()
[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()
124 n >>= 2; /* divide N by 4 and use multiplier */ in msm_hdmi_audio_update()
127 multiplier = 2; in msm_hdmi_audio_update()
128 n >>= 1; /* divide N by 2 and use multiplier */ 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-6.6/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()
124 n >>= 2; /* divide N by 4 and use multiplier */ in msm_hdmi_audio_update()
127 multiplier = 2; in msm_hdmi_audio_update()
128 n >>= 1; /* divide N by 2 and use multiplier */ 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-6.6/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";
/kernel/linux/linux-6.6/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/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/
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-6.6/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-6.6/drivers/clk/ti/
Ddpll44xx.c34 /* Static rate multiplier for OMAP4 REGM4XEN clocks */
83 * multiplier and divider values calculated. If low-power mode can be
128 /* regm4xen adds a multiplier of 4 to DPLL calculations */ in omap4_dpll_regm4xen_recalc()
166 * target rate without using the 4X multiplier. in omap4_dpll_regm4xen_round_rate()
174 * this time see if using the 4X multiplier can help. Enabling the in omap4_dpll_regm4xen_round_rate()
175 * 4X multiplier is equivalent to dividing the target rate by 4. in omap4_dpll_regm4xen_round_rate()
/kernel/linux/linux-5.10/drivers/clk/ti/
Ddpll44xx.c34 /* Static rate multiplier for OMAP4 REGM4XEN clocks */
83 * multiplier and divider values calculated. If low-power mode can be
127 /* regm4xen adds a multiplier of 4 to DPLL calculations */ in omap4_dpll_regm4xen_recalc()
164 * target rate without using the 4X multiplier. in omap4_dpll_regm4xen_round_rate()
172 * this time see if using the 4X multiplier can help. Enabling the in omap4_dpll_regm4xen_round_rate()
173 * 4X multiplier is equivalent to dividing the target rate by 4. in omap4_dpll_regm4xen_round_rate()
/kernel/linux/linux-5.10/drivers/clk/keystone/
Dpll.c27 * @has_pllctrl: If set to non zero, lower 6 bits of multiplier is in pllm
35 * @pllm: PLL register map address for multiplier bits
38 * @pllm_lower_mask: multiplier lower mask
39 * @pllm_upper_mask: multiplier upper mask
40 * @pllm_upper_shift: multiplier upper shift
84 * get bits 0-5 of multiplier from pllctrl PLLM register in clk_pllclk_recalc()
155 * @pllctrl: If true, lower 6 bits of multiplier is in pllm register of
202 i = of_property_match_string(node, "reg-names", "multiplier"); in _of_pll_clk_init()
/kernel/linux/linux-6.6/drivers/clk/keystone/
Dpll.c27 * @has_pllctrl: If set to non zero, lower 6 bits of multiplier is in pllm
35 * @pllm: PLL register map address for multiplier bits
38 * @pllm_lower_mask: multiplier lower mask
39 * @pllm_upper_mask: multiplier upper mask
40 * @pllm_upper_shift: multiplier upper shift
84 * get bits 0-5 of multiplier from pllctrl PLLM register in clk_pllclk_recalc()
155 * @pllctrl: If true, lower 6 bits of multiplier is in pllm register of
202 i = of_property_match_string(node, "reg-names", "multiplier"); in _of_pll_clk_init()
/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-6.6/drivers/cpufreq/
Dpowernow-k6.c33 MODULE_PARM_DESC(max_multiplier, "Maximum multiplier (allowed values: 20 30 35 40 45 50 55 60)");
78 * powernow_k6_get_cpu_multiplier - returns the current FSB multiplier
80 * Returns the current setting of the frequency multiplier. Core clock
134 * powernow_k6_target - set the PowerNow! multiplier
135 * @best_i: clock_ratio[best_i] is the target multiplier
137 * Tries to change the PowerNow! multiplier
183 pr_warn("unknown frequency %u, cannot determine current multiplier\n", in powernow_k6_cpu_init()
/kernel/linux/linux-5.10/drivers/cpufreq/
Dpowernow-k6.c33 MODULE_PARM_DESC(max_multiplier, "Maximum multiplier (allowed values: 20 30 35 40 45 50 55 60)");
78 * powernow_k6_get_cpu_multiplier - returns the current FSB multiplier
80 * Returns the current setting of the frequency multiplier. Core clock
134 * powernow_k6_target - set the PowerNow! multiplier
135 * @best_i: clock_ratio[best_i] is the target multiplier
137 * Tries to change the PowerNow! multiplier
183 pr_warn("unknown frequency %u, cannot determine current multiplier\n", in powernow_k6_cpu_init()
/kernel/linux/linux-6.6/include/uapi/linux/netfilter/
Dxt_hashlimit.h35 __u32 burst; /* Period multiplier for upper limit. */
59 __u32 burst; /* Period multiplier for upper limit. */
72 __u64 burst; /* Period multiplier for upper limit. */
86 __u64 burst; /* Period multiplier for upper limit. */
/kernel/linux/linux-5.10/include/uapi/linux/netfilter/
Dxt_hashlimit.h35 __u32 burst; /* Period multiplier for upper limit. */
59 __u32 burst; /* Period multiplier for upper limit. */
72 __u64 burst; /* Period multiplier for upper limit. */
86 __u64 burst; /* Period multiplier for upper limit. */
/kernel/linux/linux-6.6/samples/hid/
Dhid_surface_dial.bpf.c78 /* whenever resolution multiplier is not 3600, we have the fixed report descriptor */ in set_haptic()
81 // haptic_data[1] = 72; /* resolution multiplier */ in set_haptic()
82 // haptic_data[2] = 0; /* resolution multiplier */ in set_haptic()
120 /* Change Resolution Multiplier */ in BPF_PROG()
/kernel/linux/linux-6.6/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()
150 /* If we don't do this, 32 bits for multiplier & divider won't be 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()
175 dsp_on = ((multiplier * 20 << vshift) + divider) / divider; in aty_dsp_gt()
178 dsp_on = ((multiplier << vshift) + divider) / divider; in aty_dsp_gt()
[all …]
/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()
152 /* If we don't do this, 32 bits for multiplier & divider won't be 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()
177 dsp_on = ((multiplier * 20 << vshift) + divider) / divider; in aty_dsp_gt()
180 dsp_on = ((multiplier << vshift) + divider) / divider; in aty_dsp_gt()
[all …]
/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-6.6/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/drivers/usb/gadget/function/
Du_ether.h29 MODULE_PARM_DESC(qmult, "queue length multiplier at high/super speed");\
219 * gether_set_qmult - initialize an ethernet-over-usb link with a multiplier
221 * @qmult: queue multiplier
223 * This sets the queue length multiplier of this ethernet-over-usb link.
229 * gether_get_qmult - get an ethernet-over-usb link multiplier
232 * This gets the queue length multiplier of this ethernet-over-usb link.
/kernel/linux/linux-6.6/drivers/net/ethernet/pensando/ionic/
Dionic_phc.c335 /* Final adjusted multiplier */ in ionic_phc_adjfine()
549 "Invalid device PHC mask multiplier %u, disabling HW timestamp support\n", in ionic_lif_alloc_phc()
562 /* max ticks is limited by the multiplier, or by the update period. */ in ionic_lif_alloc_phc()
565 * adjusted multiplier (twice the initial multiplier) in ionic_lif_alloc_phc()
593 * adjust the initial multiplier, being careful to avoid overflow: in ionic_lif_alloc_phc()
597 * we want to increase the initial multiplier as much as possible, to in ionic_lif_alloc_phc()
600 * only adjust the multiplier if we can double it or more. in ionic_lif_alloc_phc()
605 /* initial multiplier will be 2^n of hardware cc.mult */ in ionic_lif_alloc_phc()
615 /* frequency adjustments are relative to the initial multiplier */ in ionic_lif_alloc_phc()
629 /* We have allowed to adjust the multiplier up to +/- 1 part per 1. in ionic_lif_alloc_phc()

12345678910>>...37