/drivers/clk/ |
D | clk-scmi.c | 43 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()
|
D | clk-scpi.c | 66 unsigned long fmin = 0, fmax = ~0, ftmp; in __scpi_dvfs_round_rate() local 75 } else if (ftmp >= fmin) { in __scpi_dvfs_round_rate() 76 fmin = ftmp; in __scpi_dvfs_round_rate() 79 return fmax != ~0 ? fmax : fmin; in __scpi_dvfs_round_rate()
|
/drivers/macintosh/ |
D | windfarm_rm31.c | 298 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()
|
D | windfarm_pm72.c | 397 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()
|
D | windfarm_pm112.c | 133 int fmin; in create_cpu_loop() local 162 fmin = (nr_cores > 2) ? 750 : 515; in create_cpu_loop() 175 if (pid.min < fmin) in create_cpu_loop() 176 pid.min = fmin; in create_cpu_loop()
|
/drivers/clk/mediatek/ |
D | clk-pll.c | 164 unsigned long fmin = pll->data->fmin ? pll->data->fmin : (1000 * MHZ); in mtk_pll_calc_values() local 185 if ((u64)freq * *postdiv >= fmin) in mtk_pll_calc_values()
|
D | clk-mtk.h | 228 unsigned long fmin; member
|
D | clk-mt6779.c | 1158 .fmin = MT6779_PLL_FMIN, \
|
D | clk-mt6765.c | 727 .fmin = MT6765_PLL_FMIN, \
|
D | clk-mt8183.c | 1080 .fmin = MT8183_PLL_FMIN, \
|
D | clk-mt8192.c | 1133 .fmin = MT8192_PLL_FMIN, \
|
/drivers/s390/scsi/ |
D | zfcp_sysfs.c | 553 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); \
|
/drivers/spi/ |
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 240 ret = dln2_spi_get_speed(dln2, DLN2_SPI_GET_MIN_FREQUENCY, fmin); in dln2_spi_get_speed_range() 249 *fmin, *fmax); in dln2_spi_get_speed_range()
|
/drivers/tty/serial/ |
D | max310x.c | 1268 int i, ret, fmin, fmax, freq; in max310x_probe() local 1308 fmin = 1000000; in max310x_probe() 1311 fmin = 500000; in max310x_probe() 1316 if (freq < fmin || freq > fmax) { in max310x_probe()
|
/drivers/gpu/drm/i915/gt/ |
D | intel_rps.c | 267 u8 fmax, fmin, fstart; in gen5_rps_init() local 290 fmin = (rgvmodectl & MEMMODE_FMIN_MASK); in gen5_rps_init() 294 fmax, fmin, fstart); in gen5_rps_init() 298 rps->max_freq = fmin; in gen5_rps_init()
|
/drivers/video/fbdev/matrox/ |
D | matroxfb_maven.c | 231 unsigned int fmin = pll->vco_freq_min / ctl->den; in matroxfb_PLL_mavenclock() local 255 if (fwant < fmin) break; in matroxfb_PLL_mavenclock()
|
/drivers/hid/ |
D | hid-multitouch.c | 520 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()
|
D | wacom_wac.c | 1924 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()
|