Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/gpu/drm/i915/display/
Dintel_vrr.c91 return crtc_state->vrr.vmin + 1 - intel_vrr_vblank_exit_length(crtc_state); in intel_vrr_vmin_vblank_start()
109 int vmin, vmax; in intel_vrr_compute_config() local
117 vmin = DIV_ROUND_UP(adjusted_mode->crtc_clock * 1000, in intel_vrr_compute_config()
122 vmin = max_t(int, vmin, adjusted_mode->crtc_vtotal); in intel_vrr_compute_config()
125 if (vmin >= vmax) in intel_vrr_compute_config()
133 crtc_state->vrr.vmin = vmin - 1; in intel_vrr_compute_config()
136 crtc_state->vrr.flipline = crtc_state->vrr.vmin + 1; in intel_vrr_compute_config()
144 crtc_state->vrr.vmin + 1 - adjusted_mode->crtc_vblank_start; in intel_vrr_compute_config()
147 min(255, crtc_state->vrr.vmin - adjusted_mode->crtc_vblank_start - in intel_vrr_compute_config()
188 intel_de_write(dev_priv, TRANS_VRR_VMIN(cpu_transcoder), crtc_state->vrr.vmin - 1); in intel_vrr_set_transcoder_timings()
[all …]
Dintel_crtc_state_dump.c303 pipe_config->vrr.vmin, pipe_config->vrr.vmax, in intel_crtc_state_dump()
/linux-6.6.21/drivers/macintosh/ams/
Dams-i2c.c159 int vmaj, vmin; in ams_i2c_probe() local
186 vmin = ams_i2c_read(AMS_DATA2); in ams_i2c_probe()
187 if (vmaj != 1 || vmin != 52) { in ams_i2c_probe()
189 vmaj, vmin); in ams_i2c_probe()
196 vmin = ams_i2c_read(AMS_DATA2); in ams_i2c_probe()
197 if (vmaj != 0 || vmin != 1) { in ams_i2c_probe()
199 vmaj, vmin); in ams_i2c_probe()
/linux-6.6.21/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.h42 int vmin, struct gk20a_volt *volt);
Dgk20a.c149 int vmin, struct gk20a_volt *volt) in gk20a_volt_ctor() argument
166 vmin); in gk20a_volt_ctor()
/linux-6.6.21/drivers/cpufreq/
Dpxa2xx-cpufreq.c52 int vmin; member
112 int vmin, vmax; in pxa_cpufreq_change_voltage() local
117 vmin = pxa_freq->vmin; in pxa_cpufreq_change_voltage()
119 if ((vmin == -1) || (vmax == -1)) in pxa_cpufreq_change_voltage()
122 ret = regulator_set_voltage(vcc_core, vmin, vmax); in pxa_cpufreq_change_voltage()
124 pr_err("Failed to set vcc_core in [%dmV..%dmV]\n", vmin, vmax); in pxa_cpufreq_change_voltage()
/linux-6.6.21/drivers/regulator/
Dsc2731-regulator.c131 vstep, vmin, vmax) { \ argument
138 .min_uV = vmin, \
139 .n_voltages = ((vmax) - (vmin)) / (vstep) + 1, \
/linux-6.6.21/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()
/linux-6.6.21/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 …]
/linux-6.6.21/drivers/soc/mediatek/
Dmtk-svs.c445 u32 vmin; member
595 svsb_volt = max(svsb->volt[i] + temp_voffset, svsb->vmin); in svs_adjust_pm_opp_volts()
1122 FIELD_PREP(SVSB_LIMITVALS_FLD_VMIN, svsb->vmin) | in svs_set_bank_phase()
1749 u32 idx, i, vmin, golden_temp; in svs_mt8192_efuse_parsing() local
1763 vmin = (svsp->efuse[19] >> 4) & GENMASK(1, 0); in svs_mt8192_efuse_parsing()
1768 if (vmin == 0x1) in svs_mt8192_efuse_parsing()
1769 svsb->vmin = 0x1e; in svs_mt8192_efuse_parsing()
2131 .vmin = 0x1a,
2160 .vmin = 0x1a,
2191 .vmin = 0x18,
[all …]
/linux-6.6.21/drivers/power/supply/
Daxp20x_battery.c616 int vmin = info->voltage_min_design_uv; in axp20x_power_probe() local
619 if (vmin > 0 && axp20x_set_voltage_min_design(axp20x_batt, in axp20x_power_probe()
620 vmin)) in axp20x_power_probe()
Dmax17042_battery.c197 if (vavg < chip->pdata->vmin) { in max17042_get_battery_health()
929 if (of_property_read_s32(np, "maxim,dead-volt", &pdata->vmin)) in max17042_get_of_pdata()
930 pdata->vmin = INT_MIN; in max17042_get_of_pdata()
979 pdata->vmin = MAX17042_DEFAULT_VMIN; in max17042_get_default_pdata()
/linux-6.6.21/Documentation/devicetree/bindings/leds/
Dleds-lm3532.txt32 - ti,als-vmin - Minimum ALS voltage defined in Volts
80 ti,als-vmin = <0>;
/linux-6.6.21/drivers/gpu/drm/amd/display/modules/inc/
Dmod_freesync.h143 unsigned int *vmin,
/linux-6.6.21/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()
/linux-6.6.21/include/linux/power/
Dmax17042_battery.h260 int vmin; /* in millivolts */ member
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/inc/hw/
Dtiming_generator.h329 int vmin, int vmax);
/linux-6.6.21/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()
/linux-6.6.21/drivers/gpu/drm/amd/display/modules/freesync/
Dfreesync.c532 unsigned int *vmin, in mod_freesync_get_vmin_vmax() argument
535 *vmin = stream->adjust.v_total_min; in mod_freesync_get_vmin_vmax()
/linux-6.6.21/drivers/video/fbdev/
Datafb.c2875 int vmin, vmax, hmin, hmax; in atafb_setup_mcap() local
2883 vmin = simple_strtoul(p, NULL, 10); in atafb_setup_mcap()
2884 if (vmin <= 0) in atafb_setup_mcap()
2889 if (vmax <= 0 || vmax <= vmin) in atafb_setup_mcap()
2902 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()
/linux-6.6.21/drivers/video/fbdev/sis/
Dsis_main.c476 monitor->vmin = buffer[j + 5]; in sisfb_interpret_edid()
493 monitor->vmin = 65535; monitor->vmax = 0; in sisfb_interpret_edid()
500 if(monitor->vmin > sisfb_ddcsmodes[i].v) monitor->vmin = sisfb_ddcsmodes[i].v; in sisfb_interpret_edid()
522 if(monitor->vmin > sisfb_ddcsmodes[j].v) monitor->vmin = sisfb_ddcsmodes[j].v; in sisfb_interpret_edid()
530 if((monitor->hmin <= monitor->hmax) && (monitor->vmin <= monitor->vmax)) { in sisfb_interpret_edid()
577 monitor->hmin, monitor->hmax, monitor->vmin, monitor->vmax, in sisfb_handle_ddc()
625 if(rate < (monitor->vmin - 1)) in sisfb_verify_rate()
Dsis.h496 u16 vmin; member
/linux-6.6.21/Documentation/arch/m68k/
Dkernel-options.rst524 :Syntax: monitorcap:<vmin>;<vmax>;<hmin>;<hmax>
530 <vmin> and <vmax> are the minimum and maximum, resp., vertical frequencies
784 :Syntax: monitorcap:<vmin>;<vmax>;<hmin>;<hmax>
789 <vmin> and <vmax> are the minimum and maximum, resp., vertical frequencies

12