Home
last modified time | relevance | path

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

/drivers/gpu/drm/i915/display/
Dintel_vrr.c80 return crtc_state->vrr.vmin + 1 - intel_vrr_vblank_exit_length(crtc_state); in intel_vrr_vmin_vblank_start()
98 int vmin, vmax; in intel_vrr_compute_config() local
109 vmin = DIV_ROUND_UP(adjusted_mode->crtc_clock * 1000, in intel_vrr_compute_config()
114 vmin = max_t(int, vmin, adjusted_mode->crtc_vtotal); in intel_vrr_compute_config()
117 if (vmin >= vmax) in intel_vrr_compute_config()
125 crtc_state->vrr.vmin = vmin - 1; in intel_vrr_compute_config()
129 crtc_state->vrr.flipline = crtc_state->vrr.vmin + 1; in intel_vrr_compute_config()
137 crtc_state->vrr.vmin - adjusted_mode->crtc_vdisplay - in intel_vrr_compute_config()
151 min(255, crtc_state->vrr.vmin - adjusted_mode->crtc_vdisplay - 4 - 1); in intel_vrr_compute_config()
176 intel_de_write(dev_priv, TRANS_VRR_VMIN(cpu_transcoder), crtc_state->vrr.vmin - 1); in intel_vrr_enable()
[all …]
Dintel_display_types.h1230 u16 flipline, vmin, vmax, guardband; member
Dintel_display.c7568 pipe_config->vrr.vmin, pipe_config->vrr.vmax, in intel_dump_pipe_config()
8596 PIPE_CONF_CHECK_I(vrr.vmin); in intel_pipe_config_compare()
/drivers/macintosh/ams/
Dams-i2c.c161 int vmaj, vmin; in ams_i2c_probe() local
188 vmin = ams_i2c_read(AMS_DATA2); in ams_i2c_probe()
189 if (vmaj != 1 || vmin != 52) { in ams_i2c_probe()
191 vmaj, vmin); in ams_i2c_probe()
198 vmin = ams_i2c_read(AMS_DATA2); in ams_i2c_probe()
199 if (vmaj != 0 || vmin != 1) { in ams_i2c_probe()
201 vmaj, vmin); in ams_i2c_probe()
/drivers/cpufreq/
Dpxa2xx-cpufreq.c54 int vmin; member
116 int vmin, vmax; in pxa_cpufreq_change_voltage() local
121 vmin = pxa_freq->vmin; in pxa_cpufreq_change_voltage()
123 if ((vmin == -1) || (vmax == -1)) in pxa_cpufreq_change_voltage()
126 ret = regulator_set_voltage(vcc_core, vmin, vmax); in pxa_cpufreq_change_voltage()
128 pr_err("Failed to set vcc_core in [%dmV..%dmV]\n", vmin, vmax); in pxa_cpufreq_change_voltage()
/drivers/gpu/drm/nouveau/nvkm/subdev/volt/
Dgm20b.c72 u32 vmin; in gm20b_volt_new() local
85 vmin = speedo_to_vmin[tdev->gpu_speedo_id]; in gm20b_volt_new()
89 ARRAY_SIZE(gm20b_na_cvb_coef), vmin, volt); in gm20b_volt_new()
92 ARRAY_SIZE(gm20b_cvb_coef), vmin, volt); in gm20b_volt_new()
Dgk20a.c149 int vmin, struct gk20a_volt *volt) in gk20a_volt_ctor() argument
166 vmin); in gk20a_volt_ctor()
Dgk20a.h42 int vmin, struct gk20a_volt *volt);
/drivers/regulator/
Dsc2731-regulator.c131 vstep, vmin, vmax) { \ argument
138 .min_uV = vmin, \
139 .n_voltages = ((vmax) - (vmin)) / (vstep) + 1, \
/drivers/macintosh/
Dwindfarm.h69 s32 vmin = ct->ops->get_min(ct); in wf_control_set_min() local
70 return ct->ops->set_value(ct, vmin); in wf_control_set_min()
/drivers/media/dvb-frontends/
Dmb86a16.c758 …tic int swp_freq_calcuation(struct mb86a16_state *state, int i, int v, int *V, int vmax, int vmin, in swp_freq_calcuation() argument
765 if ((v - 1 == vmin) && in swp_freq_calcuation()
816 } else if ((i % 2 == 0) && (v >= vmin)) { in swp_freq_calcuation()
835 } else if ((v == vmin) && in swp_freq_calcuation()
879 } else if ((v + 2 == vmin) && in swp_freq_calcuation()
895 } else if ((vmax == 0) && (vmin == 0) && (*(V + 30 + v) > SIGMIN)) { in swp_freq_calcuation()
1025 int v, vmax, vmin; in mb86a16_set_fe() local
1130 vmin = 0 ; in mb86a16_set_fe()
1133 vmin--; in mb86a16_set_fe()
1138 vmin++; in mb86a16_set_fe()
[all …]
/drivers/power/supply/
Daxp20x_battery.c617 int vmin = info.voltage_min_design_uv; in axp20x_power_probe() local
620 if (vmin > 0 && axp20x_set_voltage_min_design(axp20x_batt, in axp20x_power_probe()
621 vmin)) in axp20x_power_probe()
Dmax17042_battery.c196 if (vavg < chip->pdata->vmin) { in max17042_get_battery_health()
933 if (of_property_read_s32(np, "maxim,dead-volt", &pdata->vmin)) in max17042_get_of_pdata()
934 pdata->vmin = INT_MIN; in max17042_get_of_pdata()
983 pdata->vmin = MAX17042_DEFAULT_VMIN; in max17042_get_default_pdata()
/drivers/gpu/drm/amd/display/modules/inc/
Dmod_freesync.h131 unsigned int *vmin,
/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dgm20b.c982 int vmin, id = 0; in gm20b_clk_init_safe_fmax() local
987 vmin = volt->vid[0].uv; in gm20b_clk_init_safe_fmax()
989 if (volt->vid[i].uv <= vmin) { in gm20b_clk_init_safe_fmax()
990 vmin = volt->vid[i].uv; in gm20b_clk_init_safe_fmax()
/drivers/clk/tegra/
Dclk-dfll.c767 unsigned long vmin = td->lut_uv[0]; in dfll_init_out_if() local
770 if ((vinit >= vmin) && vstep) { in dfll_init_out_if()
773 vsel = DIV_ROUND_UP((vinit - vmin), vstep); in dfll_init_out_if()
/drivers/gpu/drm/amd/display/modules/freesync/
Dfreesync.c486 unsigned int *vmin, in mod_freesync_get_vmin_vmax() argument
489 *vmin = stream->adjust.v_total_min; in mod_freesync_get_vmin_vmax()
/drivers/video/fbdev/
Datafb.c2935 int vmin, vmax, hmin, hmax; in atafb_setup_mcap() local
2943 vmin = simple_strtoul(p, NULL, 10); in atafb_setup_mcap()
2944 if (vmin <= 0) in atafb_setup_mcap()
2949 if (vmax <= 0 || vmax <= vmin) in atafb_setup_mcap()
2962 fb_info.monspecs.vfmin = vmin; in atafb_setup_mcap()
Damifb.c2314 int vmin, vmax, hmin, hmax; in amifb_setup_mcap() local
2323 vmin = simple_strtoul(p, NULL, 10); in amifb_setup_mcap()
2324 if (vmin <= 0) in amifb_setup_mcap()
2329 if (vmax <= 0 || vmax <= vmin) in amifb_setup_mcap()
2344 amifb_vfmin = vmin; in amifb_setup_mcap()
/drivers/video/fbdev/sis/
Dsis_main.c475 monitor->vmin = buffer[j + 5]; in sisfb_interpret_edid()
492 monitor->vmin = 65535; monitor->vmax = 0; in sisfb_interpret_edid()
499 if(monitor->vmin > sisfb_ddcsmodes[i].v) monitor->vmin = sisfb_ddcsmodes[i].v; in sisfb_interpret_edid()
521 if(monitor->vmin > sisfb_ddcsmodes[j].v) monitor->vmin = sisfb_ddcsmodes[j].v; in sisfb_interpret_edid()
529 if((monitor->hmin <= monitor->hmax) && (monitor->vmin <= monitor->vmax)) { in sisfb_interpret_edid()
576 monitor->hmin, monitor->hmax, monitor->vmin, monitor->vmax, in sisfb_handle_ddc()
624 if(rate < (monitor->vmin - 1)) in sisfb_verify_rate()
Dsis.h496 u16 vmin; member
/drivers/media/i2c/
Dtda1997x.c1117 u32 vmin, vmax, hmin, hmax, hsmin, hsmax; in tda1997x_detect_std() local
1127 vmin = ((27000000 / 1000) * 993) / _hper * lines; in tda1997x_detect_std()
1138 vmatch = ((vper <= vmax) && (vper >= vmin)) ? 1 : 0; in tda1997x_detect_std()
/drivers/gpu/drm/
Ddrm_edid.c2735 int vsync, vmin, vmax; in mode_in_vsync_range() local
2737 vmin = t[5]; in mode_in_vsync_range()
2739 vmin += ((t[4] & 0x01) ? 255 : 0); in mode_in_vsync_range()
2745 return (vsync <= vmax && vsync >= vmin); in mode_in_vsync_range()
/drivers/media/usb/pvrusb2/
Dpvrusb2-hdw.c935 #define DEFINT(vmin,vmax) \ argument
937 .def.type_int.min_value = vmin, \
/drivers/scsi/
Dhpsa.c6381 unsigned char vmaj, vmin, vsubmin; in hpsa_getdrivver_ioctl() local
6385 &vmaj, &vmin, &vsubmin); in hpsa_getdrivver_ioctl()
6390 vmin = 0; in hpsa_getdrivver_ioctl()
6393 DriverVer = (vmaj << 16) | (vmin << 8) | vsubmin; in hpsa_getdrivver_ioctl()