/drivers/video/fbdev/matrox/ |
D | matroxfb_misc.h | 7 …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()
|
D | matroxfb_maven.c | 234 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()
|
D | matroxfb_misc.c | 128 …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()
|
D | matroxfb_Ti3026.c | 283 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()
|
D | matroxfb_DAC1064.c | 37 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/ |
D | windfarm_rm31.c | 299 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()
|
D | windfarm_pm72.c | 398 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/ |
D | clk-scpi.c | 77 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/ |
D | zfcp_sysfs.c | 385 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/ |
D | gm20b.c | 986 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/ |
D | clk-pll.c | 145 if (freq > pll->data->fmax) in mtk_pll_calc_values() 146 freq = pll->data->fmax; in mtk_pll_calc_values()
|
D | clk-mtk.h | 183 unsigned long fmax; member
|
D | clk-mt8135.c | 612 .fmax = MT8135_PLL_FMAX, \
|
D | clk-mt8173.c | 1020 .fmax = MT8173_PLL_FMAX, \
|
/drivers/spi/ |
D | spi-dln2.c | 239 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/ |
D | max310x.c | 1098 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/ |
D | mmci.c | 49 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/ |
D | qlcnic_main.c | 2887 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()
|
D | qlcnic_io.c | 210 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()
|
D | qlcnic.h | 1086 u16 fmax; member
|
/drivers/hid/ |
D | hid-multitouch.c | 412 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()
|
D | wacom_wac.c | 1445 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/ |
D | pinctrl-single.c | 223 unsigned fmax; member 1859 pcs->fmax = pcs->fmask >> pcs->fshift; in pcs_probe() 1864 pcs->fmax = 0; in pcs_probe()
|
/drivers/gpu/drm/i915/ |
D | intel_pm.c | 4726 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()
|
D | i915_drv.h | 1246 u8 fmax; member
|