Home
last modified time | relevance | path

Searched refs:fmin (Results 1 – 24 of 24) sorted by relevance

/linux-6.6.21/drivers/clk/
Dclk-scmi.c43 u64 fmin, fmax, ftmp; in scmi_clk_round_rate() local
55 fmin = clk->info->range.min_rate; in scmi_clk_round_rate()
57 if (rate <= fmin) in scmi_clk_round_rate()
58 return fmin; in scmi_clk_round_rate()
62 ftmp = rate - fmin; in scmi_clk_round_rate()
66 return ftmp * clk->info->range.step_size + fmin; in scmi_clk_round_rate()
Dclk-scpi.c65 unsigned long fmin = 0, fmax = ~0, ftmp; in __scpi_dvfs_round_rate() local
74 } else if (ftmp >= fmin) { in __scpi_dvfs_round_rate()
75 fmin = ftmp; in __scpi_dvfs_round_rate()
78 return fmax != ~0 ? fmax : fmin; in __scpi_dvfs_round_rate()
/linux-6.6.21/drivers/macintosh/
Dwindfarm_rm31.c298 int fmin, fmax, hsize; in cpu_setup_pid() local
313 fmin = wf_control_get_min(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()
330 pid.min = fmin; in cpu_setup_pid()
422 s32 fmin = wf_control_get_min(backside_fan); in backside_setup_pid() local
427 param.min = max(param.min, fmin); in backside_setup_pid()
489 s32 fmin = wf_control_get_min(slots_fan); in slots_setup_pid() local
493 param.min = max(param.min, fmin); in slots_setup_pid()
Dwindfarm_pm72.c397 int fmin, fmax, hsize; in cpu_setup_pid() local
412 fmin = wf_control_get_min(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()
429 pid.min = fmin; in cpu_setup_pid()
505 s32 fmin = wf_control_get_min(backside_fan); in backside_setup_pid() local
522 param.min = max(param.min, fmin); in backside_setup_pid()
584 s32 fmin = wf_control_get_min(drives_fan); in drives_setup_pid() local
588 param.min = max(param.min, fmin); in drives_setup_pid()
Dwindfarm_pm112.c135 int fmin; in create_cpu_loop() local
164 fmin = (nr_cores > 2) ? 750 : 515; in create_cpu_loop()
177 if (pid.min < fmin) in create_cpu_loop()
178 pid.min = fmin; in create_cpu_loop()
/linux-6.6.21/arch/arm/mach-versatile/
Dspc.c273 u32 fmin = 0, fmax = ~0, ftmp; in ve_spc_round_performance() local
282 if (ftmp >= fmin) in ve_spc_round_performance()
283 fmin = ftmp; in ve_spc_round_performance()
289 return fmin * 1000; in ve_spc_round_performance()
/linux-6.6.21/drivers/clk/mediatek/
Dclk-pll.c140 unsigned long fmin = pll->data->fmin ? pll->data->fmin : (1000 * MHZ); in mtk_pll_calc_values() local
161 if ((u64)freq * *postdiv >= fmin) in mtk_pll_calc_values()
Dclk-mt8195-apusys_pll.c37 .fmin = MT8195_PLL_FMIN, \
Dclk-pll.h40 unsigned long fmin; member
Dclk-mt8188-apmixedsys.c45 .fmin = MT8188_PLL_FMIN, \
Dclk-mt8365-apmixedsys.c31 .fmin = MT8365_PLL_FMIN, \
Dclk-mt8186-apmixedsys.c31 .fmin = MT8186_PLL_FMIN, \
Dclk-mt8183-apmixedsys.c67 .fmin = MT8183_PLL_FMIN, \
Dclk-mt8195-apmixedsys.c46 .fmin = MT8195_PLL_FMIN, \
Dclk-mt8192-apmixedsys.c48 .fmin = MT8192_PLL_FMIN, \
Dclk-mt6765.c682 .fmin = MT6765_PLL_FMIN, \
Dclk-mt6779.c1158 .fmin = MT6779_PLL_FMIN, \
/linux-6.6.21/drivers/s390/scsi/
Dzfcp_sysfs.c553 unsigned long long fsum, fmin, fmax, csum, cmin, cmax, cc; \
557 fmin = lat->_name.fabric.min * adapter->timer_ticks; \
566 do_div(fmin, 1000); \
573 fmin, fmax, fsum, cmin, cmax, csum, cc); \
/linux-6.6.21/drivers/spi/
Dspi-dln2.c237 static int dln2_spi_get_speed_range(struct dln2_spi *dln2, u32 *fmin, u32 *fmax) in dln2_spi_get_speed_range() argument
241 ret = dln2_spi_get_speed(dln2, DLN2_SPI_GET_MIN_FREQUENCY, fmin); in dln2_spi_get_speed_range()
250 *fmin, *fmax); in dln2_spi_get_speed_range()
/linux-6.6.21/drivers/tty/serial/
Dmax310x.c1288 int i, ret, fmin, fmax, freq; in max310x_probe() local
1329 fmin = 1000000; in max310x_probe()
1332 fmin = 500000; in max310x_probe()
1337 if (freq < fmin || freq > fmax) { in max310x_probe()
/linux-6.6.21/drivers/video/fbdev/matrox/
Dmatroxfb_maven.c231 unsigned int fmin = pll->vco_freq_min / ctl->den; in matroxfb_PLL_mavenclock() local
255 if (fwant < fmin) break; in matroxfb_PLL_mavenclock()
/linux-6.6.21/drivers/hid/
Dhid-multitouch.c520 int fmin = field->logical_minimum; in set_abs() local
522 int fuzz = snratio ? (fmax - fmin) / snratio : 0; in set_abs()
523 input_set_abs_params(input, code, fmin, fmax, fuzz, 0); in set_abs()
Dwacom_wac.c1924 int fmin = field->logical_minimum; in wacom_map_usage() local
1935 fmin += features->offset_left; in wacom_map_usage()
1939 fmin += features->offset_top; in wacom_map_usage()
1948 input_set_abs_params(input, code, fmin, fmax, fuzz, 0); in wacom_map_usage()
/linux-6.6.21/drivers/gpu/drm/i915/gt/
Dintel_rps.c279 u8 fmax, fmin, fstart; in gen5_rps_init() local
302 fmin = (rgvmodectl & MEMMODE_FMIN_MASK); in gen5_rps_init()
306 fmax, fmin, fstart); in gen5_rps_init()
310 rps->max_freq = fmin; in gen5_rps_init()