/linux/drivers/video/fbdev/matrox/ |
A 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()
|
A 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()
|
A 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()
|
A D | matroxfb_Ti3026.c | 284 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 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()
|
A 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/drivers/clk/ |
A D | clk-scpi.c | 66 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 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/arch/arm/mach-vexpress/ |
A D | spc.c | 281 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 D | energy_model.c | 129 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 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/drivers/clk/mediatek/ |
A D | clk-mt8195-apusys_pll.c | 35 .fmax = MT8195_PLL_FMAX, \
|
A D | clk-mt8195-apmixedsys.c | 42 .fmax = MT8195_PLL_FMAX, \
|
A D | clk-pll.c | 170 if (freq > pll->data->fmax) in mtk_pll_calc_values() 171 freq = pll->data->fmax; in mtk_pll_calc_values()
|
A D | clk-mtk.h | 230 unsigned long fmax; member
|
A D | clk-mt8135.c | 604 .fmax = MT8135_PLL_FMAX, \
|
A D | clk-mt7629.c | 34 .fmax = MT7629_PLL_FMAX, \
|
A D | clk-mt6797.c | 619 .fmax = MT6797_PLL_FMAX, \
|
/linux/drivers/s390/scsi/ |
A 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/drivers/spi/ |
A D | spi-dln2.c | 236 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 D | max310x.c | 1256 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 D | qlcnic_main.c | 2852 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 D | mmci.c | 52 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 D | intel_rps.c | 268 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 D | pinctrl-single.c | 197 unsigned fmax; member 1813 pcs->fmax = pcs->fmask >> pcs->fshift; in pcs_probe() 1818 pcs->fmax = 0; in pcs_probe()
|