/linux-6.6.21/drivers/video/fbdev/matrox/ |
D | matroxfb_misc.h | 8 …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()
|
D | matroxfb_maven.c | 235 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()
|
D | matroxfb_misc.c | 129 …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/ |
D | clk-scpi.c | 65 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()
|
D | clk-scmi.c | 43 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/ |
D | windfarm_rm31.c | 298 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()
|
D | windfarm_pm72.c | 397 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/ |
D | spc.c | 273 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/ |
D | energy_model.c | 113 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/ |
D | gm20b.c | 983 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/ |
D | clk-mt8135-apmixedsys.c | 28 .fmax = MT8135_PLL_FMAX, \
|
D | clk-mt8195-apusys_pll.c | 36 .fmax = MT8195_PLL_FMAX, \
|
D | clk-mt7986-apmixed.c | 29 .rst_bar_mask = CON0_MT7986_RST_BAR, .fmax = MT7986_PLL_FMAX, \
|
D | clk-mt7981-apmixed.c | 31 .rst_bar_mask = CON0_MT7981_RST_BAR, .fmax = MT7981_PLL_FMAX, \
|
D | clk-pll.h | 41 unsigned long fmax; member
|
D | clk-mt8516-apmixedsys.c | 33 .fmax = MT8516_PLL_FMAX, \
|
D | clk-mt8167-apmixedsys.c | 32 .fmax = MT8167_PLL_FMAX, \
|
D | clk-mt7622-apmixedsys.c | 30 .fmax = MT7622_PLL_FMAX, \
|
D | clk-mt8188-apmixedsys.c | 44 .fmax = MT8188_PLL_FMAX, \
|
D | clk-mt2712-apmixedsys.c | 32 .fmax = MT2712_PLL_FMAX, \
|
D | clk-mt8365-apmixedsys.c | 30 .fmax = MT8365_PLL_FMAX, \
|
D | clk-mt8186-apmixedsys.c | 30 .fmax = MT8186_PLL_FMAX, \
|
D | clk-pll.c | 146 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/ |
D | zfcp_sysfs.c | 553 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/ |
D | spi-dln2.c | 237 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()
|