Home
last modified time | relevance | path

Searched refs:fmax (Results 1 – 25 of 47) sorted by relevance

12

/linux-6.6.21/drivers/video/fbdev/matrox/
Dmatroxfb_misc.h8 …matroxfb_PLL_calcclock(const struct matrox_pll_features* pll, unsigned int freq, unsigned int fmax,
11 unsigned int freq, unsigned int fmax, in PLL_calcclock() argument
15 return matroxfb_PLL_calcclock(&minfo->features.pll, freq, fmax, in, feed, post); in PLL_calcclock()
Dmatroxfb_maven.c235 unsigned int fmax; in matroxfb_PLL_mavenclock() local
241 fmax = pll->vco_freq_max / ctl->den; in matroxfb_PLL_mavenclock()
244 fwant, fxtal, htotal, vtotal, fmax); in matroxfb_PLL_mavenclock()
246 if (fwant * 2 > fmax) in matroxfb_PLL_mavenclock()
250 if (fwant > fmax) in matroxfb_PLL_mavenclock()
321 static void DAC1064_calcclock(unsigned int freq, unsigned int fmax, in DAC1064_calcclock() argument
326 fvco = matroxfb_PLL_calcclock(&maven_pll, freq, fmax, in, feed, &p); in DAC1064_calcclock()
Dmatroxfb_misc.c129 …matroxfb_PLL_calcclock(const struct matrox_pll_features* pll, unsigned int freq, unsigned int fmax, in matroxfb_PLL_calcclock() argument
150 printk(KERN_ERR "fmax: %d\n", fmax); in matroxfb_PLL_calcclock()
153 if (fwant * 2 > fmax) in matroxfb_PLL_calcclock()
158 if (fwant > fmax) fwant = fmax; in matroxfb_PLL_calcclock()
/linux-6.6.21/drivers/clk/
Dclk-scpi.c65 unsigned long fmin = 0, fmax = ~0, ftmp; in __scpi_dvfs_round_rate() local
71 if (ftmp <= fmax) in __scpi_dvfs_round_rate()
72 fmax = ftmp; in __scpi_dvfs_round_rate()
78 return fmax != ~0 ? fmax : fmin; in __scpi_dvfs_round_rate()
Dclk-scmi.c43 u64 fmin, fmax, ftmp; in scmi_clk_round_rate() local
56 fmax = clk->info->range.max_rate; in scmi_clk_round_rate()
59 else if (rate >= fmax) in scmi_clk_round_rate()
60 return fmax; in scmi_clk_round_rate()
/linux-6.6.21/drivers/macintosh/
Dwindfarm_rm31.c298 int fmin, fmax, hsize; in cpu_setup_pid() local
314 fmax = wf_control_get_max(cpu_fans[cpu][0]); in cpu_setup_pid()
315 DBG("wf_72: CPU%d max RPM range = [%d..%d]\n", cpu, fmin, fmax); in cpu_setup_pid()
331 pid.max = fmax; in cpu_setup_pid()
423 s32 fmax = wf_control_get_max(backside_fan); in backside_setup_pid() local
428 param.max = min(param.max, fmax); in backside_setup_pid()
490 s32 fmax = wf_control_get_max(slots_fan); in slots_setup_pid() local
494 param.max = min(param.max, fmax); in slots_setup_pid()
Dwindfarm_pm72.c397 int fmin, fmax, hsize; in cpu_setup_pid() local
413 fmax = wf_control_get_max(cpu_rear_fans[cpu]); in cpu_setup_pid()
414 DBG("wf_72: CPU%d max RPM range = [%d..%d]\n", cpu, fmin, fmax); in cpu_setup_pid()
430 pid.max = fmax; in cpu_setup_pid()
506 s32 fmax = wf_control_get_max(backside_fan); in backside_setup_pid() local
523 param.max = min(param.max, fmax); in backside_setup_pid()
585 s32 fmax = wf_control_get_max(drives_fan); in drives_setup_pid() local
589 param.max = min(param.max, fmax); in drives_setup_pid()
/linux-6.6.21/arch/arm/mach-versatile/
Dspc.c273 u32 fmin = 0, fmax = ~0, ftmp; in ve_spc_round_performance() local
279 if (ftmp <= fmax) in ve_spc_round_performance()
280 fmax = ftmp; in ve_spc_round_performance()
286 if (fmax != ~0) in ve_spc_round_performance()
287 return fmax * 1000; in ve_spc_round_performance()
/linux-6.6.21/kernel/power/
Denergy_model.c113 u64 fmax; in em_create_perf_table() local
158 fmax = (u64) table[nr_states - 1].frequency; in em_create_perf_table()
171 cost = div64_u64(fmax * power_res, table[i].frequency); in em_create_perf_table()
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dgm20b.c983 u32 fmax = 0; in gm20b_clk_init_safe_fmax() local
998 fmax = max(fmax, in gm20b_clk_init_safe_fmax()
1001 if (!fmax) { in gm20b_clk_init_safe_fmax()
1007 clk->safe_fmax_vmin = fmax * (100 - 10) / 100; in gm20b_clk_init_safe_fmax()
/linux-6.6.21/drivers/clk/mediatek/
Dclk-mt8135-apmixedsys.c28 .fmax = MT8135_PLL_FMAX, \
Dclk-mt8195-apusys_pll.c36 .fmax = MT8195_PLL_FMAX, \
Dclk-mt7986-apmixed.c29 .rst_bar_mask = CON0_MT7986_RST_BAR, .fmax = MT7986_PLL_FMAX, \
Dclk-mt7981-apmixed.c31 .rst_bar_mask = CON0_MT7981_RST_BAR, .fmax = MT7981_PLL_FMAX, \
Dclk-pll.h41 unsigned long fmax; member
Dclk-mt8516-apmixedsys.c33 .fmax = MT8516_PLL_FMAX, \
Dclk-mt8167-apmixedsys.c32 .fmax = MT8167_PLL_FMAX, \
Dclk-mt7622-apmixedsys.c30 .fmax = MT7622_PLL_FMAX, \
Dclk-mt8188-apmixedsys.c44 .fmax = MT8188_PLL_FMAX, \
Dclk-mt2712-apmixedsys.c32 .fmax = MT2712_PLL_FMAX, \
Dclk-mt8365-apmixedsys.c30 .fmax = MT8365_PLL_FMAX, \
Dclk-mt8186-apmixedsys.c30 .fmax = MT8186_PLL_FMAX, \
Dclk-pll.c146 if (freq > pll->data->fmax) in mtk_pll_calc_values()
147 freq = pll->data->fmax; in mtk_pll_calc_values()
/linux-6.6.21/drivers/s390/scsi/
Dzfcp_sysfs.c553 unsigned long long fsum, fmin, fmax, csum, cmin, cmax, cc; \
558 fmax = lat->_name.fabric.max * adapter->timer_ticks; \
567 do_div(fmax, 1000); \
573 fmin, fmax, fsum, cmin, cmax, csum, cc); \
/linux-6.6.21/drivers/spi/
Dspi-dln2.c237 static int dln2_spi_get_speed_range(struct dln2_spi *dln2, u32 *fmin, u32 *fmax) in dln2_spi_get_speed_range() argument
245 ret = dln2_spi_get_speed(dln2, DLN2_SPI_GET_MAX_FREQUENCY, fmax); in dln2_spi_get_speed_range()
250 *fmin, *fmax); in dln2_spi_get_speed_range()

12