| /linux/drivers/video/fbdev/matrox/ |
| H 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()
|
| /linux/drivers/clk/ |
| H A D | clk-scpi.c | 53 unsigned long fmin = 0, fmax = ~0, ftmp; in __scpi_dvfs_round_rate() local 59 if (ftmp <= fmax) in __scpi_dvfs_round_rate() 60 fmax = ftmp; in __scpi_dvfs_round_rate() 66 return fmax != ~0 ? fmax : fmin; in __scpi_dvfs_round_rate()
|
| /linux/drivers/macintosh/ |
| H 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()
|
| H 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/arch/arm/mach-versatile/ |
| H A 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/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
| H A D | gm20b.c | 988 u32 fmax = 0; in gm20b_clk_init_safe_fmax() local 1003 fmax = max(fmax, in gm20b_clk_init_safe_fmax() 1006 if (!fmax) { in gm20b_clk_init_safe_fmax() 1012 clk->safe_fmax_vmin = fmax * (100 - 10) / 100; in gm20b_clk_init_safe_fmax()
|
| /linux/drivers/clk/mediatek/ |
| H A D | clk-mt7986-apmixed.c | 28 .rst_bar_mask = CON0_MT7986_RST_BAR, .fmax = MT7986_PLL_FMAX, \
|
| H A D | clk-mt7981-apmixed.c | 30 .rst_bar_mask = CON0_MT7981_RST_BAR, .fmax = MT7981_PLL_FMAX, \
|
| H A D | clk-mt8188-apmixedsys.c | 43 .fmax = MT8188_PLL_FMAX, \
|
| H A D | clk-pll.c | 155 if (freq > pll->data->fmax) in mtk_pll_calc_values() 156 freq = pll->data->fmax; in mtk_pll_calc_values()
|
| H A D | clk-mt8195-apmixedsys.c | 44 .fmax = MT8195_PLL_FMAX, \
|
| H A D | clk-mt8196-vlpckgen.c | 153 .fmax = MT8196_PLL_FMAX, \
|
| H A D | clk-mt2701.c | 929 .fmax = MT8590_PLL_FMAX, \
|
| H A D | clk-mt6765.c | 680 .fmax = MT6765_PLL_FMAX, \
|
| /linux/kernel/power/ |
| H A D | energy_model.c | 232 u64 fmax, max_cap; in em_init_performance() local 246 fmax = (u64) table[nr_states - 1].frequency; in em_init_performance() 250 fmax); in em_init_performance()
|
| /linux/drivers/firmware/arm_scmi/ |
| H A D | clock.c | 721 u64 fmin, fmax, ftmp, step; in scmi_clock_determine_rate() local 743 fmax = clk->max_rate; in scmi_clock_determine_rate() 747 } else if (*rate >= fmax) { in scmi_clock_determine_rate() 748 *rate = fmax; in scmi_clock_determine_rate()
|
| /linux/drivers/tty/serial/ |
| H A D | max310x.c | 1312 unsigned int fmin, fmax, freq; in max310x_probe() local 1352 fmax = 4000000; in max310x_probe() 1355 fmax = 35000000; in max310x_probe() 1359 if (freq < fmin || freq > fmax) { in max310x_probe()
|
| /linux/drivers/net/ethernet/qlogic/qlcnic/ |
| H A D | qlcnic_main.c | 2830 if (adapter->fhash.fmax && adapter->fhash.fhead) in qlcnic_alloc_lb_filters_mem() 2854 adapter->fhash.fmax = (filter_size / act_pci_func); in qlcnic_alloc_lb_filters_mem() 2858 act_pci_func, adapter->fhash.fmax); in qlcnic_alloc_lb_filters_mem() 2871 adapter->rx_fhash.fmax = (filter_size / act_pci_func); in qlcnic_alloc_lb_filters_mem() 2880 if (adapter->fhash.fmax) in qlcnic_free_lb_filters_mem() 2884 adapter->fhash.fmax = 0; in qlcnic_free_lb_filters_mem() 2886 if (adapter->rx_fhash.fmax) in qlcnic_free_lb_filters_mem() 2889 adapter->rx_fhash.fmax = 0; in qlcnic_free_lb_filters_mem()
|
| H A 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()
|
| /linux/drivers/pinctrl/ |
| H A D | pinctrl-single.c | 192 unsigned fmax; member 1818 pcs->fmax = pcs->fmask >> pcs->fshift; in pcs_probe() 1823 pcs->fmax = 0; in pcs_probe()
|
| /linux/drivers/mmc/host/ |
| H A D | mmci.c | 53 static unsigned int fmax = 515633; variable 2326 fmax : min(host->mclk, fmax); in mmci_probe() 2688 module_param(fmax, uint, 0444);
|
| /linux/drivers/hid/ |
| H A D | hid-multitouch.c | 615 int fmax = field->logical_maximum; in set_abs() local 616 int fuzz = snratio ? (fmax - fmin) / snratio : 0; in set_abs() 617 input_set_abs_params(input, code, fmin, fmax, fuzz, 0); in set_abs()
|
| H A D | wacom_wac.c | 1904 int fmax = field->logical_maximum; in wacom_map_usage() local 1917 fmax -= features->offset_right; in wacom_map_usage() 1921 fmax -= features->offset_bottom; in wacom_map_usage() 1929 input_set_abs_params(input, code, fmin, fmax, fuzz, 0); in wacom_map_usage()
|