Home
last modified time | relevance | path

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

12

/linux/drivers/video/fbdev/matrox/
A 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()
A 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()
A 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()
A Dmatroxfb_Ti3026.c284 unsigned int freq, unsigned int fmax, int *in, in Ti3026_calcclock() argument
292 fvco = PLL_calcclock(minfo, freq, fmax, &lin, &lfeed, &lpost); in Ti3026_calcclock()
/linux/drivers/macintosh/
A 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()
A 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/drivers/clk/
A Dclk-scpi.c66 unsigned long fmin = 0, fmax = ~0, ftmp; in __scpi_dvfs_round_rate() local
72 if (ftmp <= fmax) in __scpi_dvfs_round_rate()
73 fmax = ftmp; in __scpi_dvfs_round_rate()
79 return fmax != ~0 ? fmax : fmin; in __scpi_dvfs_round_rate()
A 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/arch/arm/mach-vexpress/
A Dspc.c281 u32 fmin = 0, fmax = ~0, ftmp; in ve_spc_round_performance() local
287 if (ftmp <= fmax) in ve_spc_round_performance()
288 fmax = ftmp; in ve_spc_round_performance()
294 if (fmax != ~0) in ve_spc_round_performance()
295 return fmax * 1000; in ve_spc_round_performance()
/linux/kernel/power/
A Denergy_model.c129 u64 fmax; in em_create_perf_table() local
174 fmax = (u64) table[nr_states - 1].frequency; in em_create_perf_table()
178 table[i].cost = div64_u64(fmax * power_res, in em_create_perf_table()
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
A 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/drivers/clk/mediatek/
A Dclk-mt8195-apusys_pll.c35 .fmax = MT8195_PLL_FMAX, \
A Dclk-mt8195-apmixedsys.c42 .fmax = MT8195_PLL_FMAX, \
A Dclk-pll.c170 if (freq > pll->data->fmax) in mtk_pll_calc_values()
171 freq = pll->data->fmax; in mtk_pll_calc_values()
A Dclk-mtk.h230 unsigned long fmax; member
A Dclk-mt8135.c604 .fmax = MT8135_PLL_FMAX, \
A Dclk-mt7629.c34 .fmax = MT7629_PLL_FMAX, \
A Dclk-mt6797.c619 .fmax = MT6797_PLL_FMAX, \
/linux/drivers/s390/scsi/
A 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/drivers/spi/
A Dspi-dln2.c236 static int dln2_spi_get_speed_range(struct dln2_spi *dln2, u32 *fmin, u32 *fmax) in dln2_spi_get_speed_range() argument
244 ret = dln2_spi_get_speed(dln2, DLN2_SPI_GET_MAX_FREQUENCY, fmax); in dln2_spi_get_speed_range()
249 *fmin, *fmax); in dln2_spi_get_speed_range()
/linux/drivers/tty/serial/
A Dmax310x.c1256 int i, ret, fmin, fmax, freq; in max310x_probe() local
1297 fmax = 4000000; in max310x_probe()
1300 fmax = 35000000; in max310x_probe()
1304 if (freq < fmin || freq > fmax) { in max310x_probe()
/linux/drivers/net/ethernet/qlogic/qlcnic/
A Dqlcnic_main.c2852 if (adapter->fhash.fmax && adapter->fhash.fhead) in qlcnic_alloc_lb_filters_mem()
2876 adapter->fhash.fmax = (filter_size / act_pci_func); in qlcnic_alloc_lb_filters_mem()
2880 act_pci_func, adapter->fhash.fmax); in qlcnic_alloc_lb_filters_mem()
2893 adapter->rx_fhash.fmax = (filter_size / act_pci_func); in qlcnic_alloc_lb_filters_mem()
2902 if (adapter->fhash.fmax) in qlcnic_free_lb_filters_mem()
2906 adapter->fhash.fmax = 0; in qlcnic_free_lb_filters_mem()
2908 if (adapter->rx_fhash.fmax) in qlcnic_free_lb_filters_mem()
2911 adapter->rx_fhash.fmax = 0; in qlcnic_free_lb_filters_mem()
/linux/drivers/mmc/host/
A Dmmci.c52 static unsigned int fmax = 515633; variable
2123 fmax : min(host->mclk, fmax); in mmci_probe()
2461 module_param(fmax, uint, 0444);
/linux/drivers/gpu/drm/i915/gt/
A Dintel_rps.c268 u8 fmax, fmin, fstart; in gen5_rps_init() local
290 fmax = (rgvmodectl & MEMMODE_FMAX_MASK) >> MEMMODE_FMAX_SHIFT; in gen5_rps_init()
295 fmax, fmin, fstart); in gen5_rps_init()
297 rps->min_freq = fmax; in gen5_rps_init()
/linux/drivers/pinctrl/
A Dpinctrl-single.c197 unsigned fmax; member
1813 pcs->fmax = pcs->fmask >> pcs->fshift; in pcs_probe()
1818 pcs->fmax = 0; in pcs_probe()

Completed in 83 milliseconds

12