Home
last modified time | relevance | path

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

/drivers/video/fbdev/matrox/
Dmatroxfb_misc.h7 …matroxfb_PLL_calcclock(const struct matrox_pll_features* pll, unsigned int freq, unsigned int fmax,
10 unsigned int freq, unsigned int fmax, in PLL_calcclock() argument
14 return matroxfb_PLL_calcclock(&minfo->features.pll, freq, fmax, in, feed, post); in PLL_calcclock()
Dmatroxfb_maven.c234 unsigned int fmax; in matroxfb_PLL_mavenclock() local
240 fmax = pll->vco_freq_max / ctl->den; in matroxfb_PLL_mavenclock()
243 fwant, fxtal, htotal, vtotal, fmax); in matroxfb_PLL_mavenclock()
245 if (fwant * 2 > fmax) in matroxfb_PLL_mavenclock()
249 if (fwant > fmax) in matroxfb_PLL_mavenclock()
320 static void DAC1064_calcclock(unsigned int freq, unsigned int fmax, in DAC1064_calcclock() argument
325 fvco = matroxfb_PLL_calcclock(&maven_pll, freq, fmax, in, feed, &p); in DAC1064_calcclock()
Dmatroxfb_misc.c128 …matroxfb_PLL_calcclock(const struct matrox_pll_features* pll, unsigned int freq, unsigned int fmax, in matroxfb_PLL_calcclock() argument
149 printk(KERN_ERR "fmax: %d\n", fmax); in matroxfb_PLL_calcclock()
152 if (fwant * 2 > fmax) in matroxfb_PLL_calcclock()
157 if (fwant > fmax) fwant = fmax; in matroxfb_PLL_calcclock()
Dmatroxfb_Ti3026.c283 unsigned int freq, unsigned int fmax, int *in, in Ti3026_calcclock() argument
291 fvco = PLL_calcclock(minfo, freq, fmax, &lin, &lfeed, &lpost); in Ti3026_calcclock()
Dmatroxfb_DAC1064.c37 unsigned int freq, unsigned int fmax, in DAC1064_calcclock() argument
48 fvco = PLL_calcclock(minfo, freq, fmax, in, feed, &p); in DAC1064_calcclock()
/drivers/macintosh/
Dwindfarm_rm31.c299 int fmin, fmax, hsize; in cpu_setup_pid() local
315 fmax = wf_control_get_max(cpu_fans[cpu][0]); in cpu_setup_pid()
316 DBG("wf_72: CPU%d max RPM range = [%d..%d]\n", cpu, fmin, fmax); in cpu_setup_pid()
332 pid.max = fmax; in cpu_setup_pid()
424 s32 fmax = wf_control_get_max(backside_fan); in backside_setup_pid() local
429 param.max = min(param.max, fmax); in backside_setup_pid()
491 s32 fmax = wf_control_get_max(slots_fan); in slots_setup_pid() local
495 param.max = min(param.max, fmax); in slots_setup_pid()
Dwindfarm_pm72.c398 int fmin, fmax, hsize; in cpu_setup_pid() local
414 fmax = wf_control_get_max(cpu_rear_fans[cpu]); in cpu_setup_pid()
415 DBG("wf_72: CPU%d max RPM range = [%d..%d]\n", cpu, fmin, fmax); in cpu_setup_pid()
431 pid.max = fmax; in cpu_setup_pid()
507 s32 fmax = wf_control_get_max(backside_fan); in backside_setup_pid() local
524 param.max = min(param.max, fmax); in backside_setup_pid()
586 s32 fmax = wf_control_get_max(drives_fan); in drives_setup_pid() local
590 param.max = min(param.max, fmax); in drives_setup_pid()
/drivers/clk/
Dclk-scpi.c77 unsigned long fmin = 0, fmax = ~0, ftmp; in __scpi_dvfs_round_rate() local
83 if (ftmp <= fmax) in __scpi_dvfs_round_rate()
84 fmax = ftmp; in __scpi_dvfs_round_rate()
90 return fmax != ~0 ? fmax : fmin; in __scpi_dvfs_round_rate()
/drivers/s390/scsi/
Dzfcp_sysfs.c385 unsigned long long fsum, fmin, fmax, csum, cmin, cmax, cc; \
390 fmax = lat->_name.fabric.max * adapter->timer_ticks; \
399 do_div(fmax, 1000); \
405 fmin, fmax, fsum, cmin, cmax, csum, cc); \
/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dgm20b.c986 u32 fmax = 0; in gm20b_clk_init_safe_fmax() local
1001 fmax = max(fmax, in gm20b_clk_init_safe_fmax()
1004 if (!fmax) { in gm20b_clk_init_safe_fmax()
1010 clk->safe_fmax_vmin = fmax * (100 - 10) / 100; in gm20b_clk_init_safe_fmax()
/drivers/clk/mediatek/
Dclk-pll.c145 if (freq > pll->data->fmax) in mtk_pll_calc_values()
146 freq = pll->data->fmax; in mtk_pll_calc_values()
Dclk-mtk.h183 unsigned long fmax; member
Dclk-mt8135.c612 .fmax = MT8135_PLL_FMAX, \
Dclk-mt8173.c1020 .fmax = MT8173_PLL_FMAX, \
/drivers/spi/
Dspi-dln2.c239 static int dln2_spi_get_speed_range(struct dln2_spi *dln2, u32 *fmin, u32 *fmax) in dln2_spi_get_speed_range() argument
247 ret = dln2_spi_get_speed(dln2, DLN2_SPI_GET_MAX_FREQUENCY, fmax); in dln2_spi_get_speed_range()
252 *fmin, *fmax); in dln2_spi_get_speed_range()
/drivers/tty/serial/
Dmax310x.c1098 int i, ret, fmin, fmax, freq, uartclk; in max310x_probe() local
1119 fmax = 35000000; in max310x_probe()
1123 fmax = 4000000; in max310x_probe()
1139 if (freq < fmin || freq > fmax) { in max310x_probe()
/drivers/mmc/host/
Dmmci.c49 static unsigned int fmax = 515633; variable
1590 fmax : min(host->mclk, fmax); in mmci_probe()
1904 module_param(fmax, uint, 0444);
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_main.c2887 if (adapter->fhash.fmax && adapter->fhash.fhead) in qlcnic_alloc_lb_filters_mem()
2911 adapter->fhash.fmax = (filter_size / act_pci_func); in qlcnic_alloc_lb_filters_mem()
2915 act_pci_func, adapter->fhash.fmax); in qlcnic_alloc_lb_filters_mem()
2928 adapter->rx_fhash.fmax = (filter_size / act_pci_func); in qlcnic_alloc_lb_filters_mem()
2937 if (adapter->fhash.fmax) in qlcnic_free_lb_filters_mem()
2941 adapter->fhash.fmax = 0; in qlcnic_free_lb_filters_mem()
2943 if (adapter->rx_fhash.fmax) in qlcnic_free_lb_filters_mem()
2946 adapter->rx_fhash.fmax = 0; in qlcnic_free_lb_filters_mem()
Dqlcnic_io.c210 if (adapter->rx_fhash.fnum >= adapter->rx_fhash.fmax) in qlcnic_add_lb_filter()
344 if (unlikely(adapter->fhash.fnum >= adapter->fhash.fmax)) { in qlcnic_send_filter()
Dqlcnic.h1086 u16 fmax; member
/drivers/hid/
Dhid-multitouch.c412 int fmax = field->logical_maximum; in set_abs() local
413 int fuzz = snratio ? (fmax - fmin) / snratio : 0; in set_abs()
414 input_set_abs_params(input, code, fmin, fmax, fuzz, 0); in set_abs()
Dwacom_wac.c1445 int fmax = field->logical_maximum; in wacom_map_usage() local
1454 input_set_abs_params(input, code, fmin, fmax, fuzz, 0); in wacom_map_usage()
/drivers/pinctrl/
Dpinctrl-single.c223 unsigned fmax; member
1859 pcs->fmax = pcs->fmask >> pcs->fshift; in pcs_probe()
1864 pcs->fmax = 0; in pcs_probe()
/drivers/gpu/drm/i915/
Dintel_pm.c4726 u8 fmax, fmin, fstart, vstart; in ironlake_enable_drps() local
4747 fmax = (rgvmodectl & MEMMODE_FMAX_MASK) >> MEMMODE_FMAX_SHIFT; in ironlake_enable_drps()
4755 dev_priv->ips.fmax = fmax; /* IPS callback will increase this */ in ironlake_enable_drps()
4763 fmax, fmin, fstart); in ironlake_enable_drps()
6464 if (dev_priv->ips.max_delay > dev_priv->ips.fmax) in i915_gpu_raise()
Di915_drv.h1246 u8 fmax; member