Home
last modified time | relevance | path

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

12

/linux/drivers/media/usb/gspca/gl860/
A Dgl860-ov2640.c186 sd->vmax.backlight = 64; in ov2640_init_settings()
187 sd->vmax.brightness = 255; in ov2640_init_settings()
188 sd->vmax.sharpness = 31; in ov2640_init_settings()
189 sd->vmax.contrast = 255; in ov2640_init_settings()
190 sd->vmax.gamma = 64; in ov2640_init_settings()
191 sd->vmax.hue = 254 + 2; in ov2640_init_settings()
192 sd->vmax.saturation = 255; in ov2640_init_settings()
193 sd->vmax.whitebal = 128; in ov2640_init_settings()
194 sd->vmax.mirror = 1; in ov2640_init_settings()
195 sd->vmax.flip = 1; in ov2640_init_settings()
[all …]
A Dgl860-mi1320.c216 sd->vmax.backlight = 2; in mi1320_init_settings()
217 sd->vmax.brightness = 8; in mi1320_init_settings()
218 sd->vmax.sharpness = 7; in mi1320_init_settings()
220 sd->vmax.gamma = 40; in mi1320_init_settings()
221 sd->vmax.hue = 5 + 1; in mi1320_init_settings()
222 sd->vmax.saturation = 8; in mi1320_init_settings()
223 sd->vmax.whitebal = 2; in mi1320_init_settings()
224 sd->vmax.mirror = 1; in mi1320_init_settings()
225 sd->vmax.flip = 1; in mi1320_init_settings()
226 sd->vmax.AC50Hz = 1; in mi1320_init_settings()
[all …]
A Dgl860-ov9655.c203 sd->vmax.backlight = 0; in ov9655_init_settings()
204 sd->vmax.brightness = 255; in ov9655_init_settings()
205 sd->vmax.sharpness = 0; in ov9655_init_settings()
206 sd->vmax.contrast = 0; in ov9655_init_settings()
207 sd->vmax.gamma = 0; in ov9655_init_settings()
208 sd->vmax.hue = 0 + 1; in ov9655_init_settings()
209 sd->vmax.saturation = 0; in ov9655_init_settings()
210 sd->vmax.whitebal = 0; in ov9655_init_settings()
211 sd->vmax.mirror = 0; in ov9655_init_settings()
212 sd->vmax.flip = 0; in ov9655_init_settings()
[all …]
A Dgl860.c111 if (sd->vmax.brightness) in sd_init_controls()
116 if (sd->vmax.contrast) in sd_init_controls()
121 if (sd->vmax.saturation) in sd_init_controls()
126 if (sd->vmax.hue) in sd_init_controls()
130 if (sd->vmax.gamma) in sd_init_controls()
134 if (sd->vmax.mirror) in sd_init_controls()
138 if (sd->vmax.flip) in sd_init_controls()
142 if (sd->vmax.AC50Hz) in sd_init_controls()
147 if (sd->vmax.whitebal) in sd_init_controls()
152 if (sd->vmax.sharpness) in sd_init_controls()
[all …]
A Dgl860-mi2020.c367 sd->vmax.backlight = 64; in mi2020_init_settings()
368 sd->vmax.brightness = 128; in mi2020_init_settings()
369 sd->vmax.sharpness = 40; in mi2020_init_settings()
370 sd->vmax.contrast = 3; in mi2020_init_settings()
371 sd->vmax.gamma = 2; in mi2020_init_settings()
375 sd->vmax.mirror = 1; in mi2020_init_settings()
376 sd->vmax.flip = 1; in mi2020_init_settings()
377 sd->vmax.AC50Hz = 1; in mi2020_init_settings()
666 if (wbal < 0 || wbal > sd->vmax.whitebal) in mi2020_camera_settings()
736 if (cntr < 0 || cntr > sd->vmax.contrast) in mi2020_camera_settings()
[all …]
A Dgl860.h53 struct sd_gl860 vmax; member
/linux/drivers/gpu/drm/i915/display/
A Dintel_vrr.c85 return crtc_state->vrr.vmax - intel_vrr_vblank_exit_length(crtc_state); in intel_vrr_vmax_vblank_start()
98 int vmin, vmax; in intel_vrr_compute_config() local
111 vmax = adjusted_mode->crtc_clock * 1000 / in intel_vrr_compute_config()
115 vmax = max_t(int, vmax, adjusted_mode->crtc_vtotal); in intel_vrr_compute_config()
117 if (vmin >= vmax) in intel_vrr_compute_config()
126 crtc_state->vrr.vmax = vmax; in intel_vrr_compute_config()
177 intel_de_write(dev_priv, TRANS_VRR_VMAX(cpu_transcoder), crtc_state->vrr.vmax - 1); in intel_vrr_enable()
230 crtc_state->vrr.vmax = intel_de_read(dev_priv, TRANS_VRR_VMAX(cpu_transcoder)) + 1; in intel_vrr_get_config()
/linux/drivers/cpufreq/
A Dpxa2xx-cpufreq.c55 int vmax; member
116 int vmin, vmax; in pxa_cpufreq_change_voltage() local
122 vmax = pxa_freq->vmax; 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()
/linux/arch/s390/boot/
A Duv.c54 void adjust_to_uv_max(unsigned long *vmax) in adjust_to_uv_max() argument
57 *vmax = min_t(unsigned long, *vmax, uv_info.max_sec_stor_addr); in adjust_to_uv_max()
A Duv.h6 void adjust_to_uv_max(unsigned long *vmax);
9 static inline void adjust_to_uv_max(unsigned long *vmax) {} in adjust_to_uv_max() argument
/linux/drivers/scsi/
A Dscsi_devinfo.c419 size_t vmax, mmax, mlen; in scsi_dev_info_list_find() local
435 vmax = sizeof(devinfo->vendor); in scsi_dev_info_list_find()
437 while (vmax > 0 && *vskip == ' ') { in scsi_dev_info_list_find()
438 vmax--; in scsi_dev_info_list_find()
442 while (vmax > 0 && vskip[vmax - 1] == ' ') in scsi_dev_info_list_find()
443 --vmax; in scsi_dev_info_list_find()
460 if (vmax != strnlen(devinfo->vendor, in scsi_dev_info_list_find()
462 memcmp(devinfo->vendor, vskip, vmax)) in scsi_dev_info_list_find()
/linux/drivers/macintosh/
A Dwindfarm.h63 s32 vmax = ct->ops->get_max(ct); in wf_control_set_max() local
64 return ct->ops->set_value(ct, vmax); in wf_control_set_max()
A Dvia-pmu.c701 long pcharge, charge, vb, vmax, lmax; in done_battery_state_ohare() local
721 vmax = vmax_charged; in done_battery_state_ohare()
736 vmax = vmax_charging; in done_battery_state_ohare()
738 charge = (100 * vb) / vmax; in done_battery_state_ohare()
/linux/drivers/media/dvb-frontends/
A Dmb86a16.c763 if ((i % 2 == 1) && (v <= vmax)) { in swp_freq_calcuation()
773 } else if ((v == vmax) && in swp_freq_calcuation()
797 } else if ((v == vmax) && in swp_freq_calcuation()
827 } else if ((v + 1 == vmax) && 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
1112 vmax = 0 ; in mb86a16_set_fe()
1115 vmax++; in mb86a16_set_fe()
1120 vmax--; in mb86a16_set_fe()
1185 swp_freq = swp_freq_calcuation(state, i, v, V, vmax, vmin, in mb86a16_set_fe()
[all …]
/linux/drivers/regulator/
A Dtps51632-regulator.c141 unsigned int vmax; in tps51632_init_dcdc() local
148 ret = regmap_read(tps->regmap, TPS51632_VMAX_REG, &vmax); in tps51632_init_dcdc()
153 if (!(vmax & TPS51632_VMAX_LOCK)) { in tps51632_init_dcdc()
A Dsc2731-regulator.c131 vstep, vmin, vmax) { \ argument
139 .n_voltages = ((vmax) - (vmin)) / (vstep) + 1, \
/linux/Documentation/devicetree/bindings/leds/
A Dleds-lm3532.txt33 - ti,als-vmax - Maximum ALS voltage defined in Volts
81 ti,als-vmax = <2000>;
/linux/drivers/gpu/drm/amd/display/modules/inc/
A Dmod_freesync.h132 unsigned int *vmax);
/linux/include/linux/power/
A Dmax17042_battery.h261 int vmax; /* in millivolts */ member
/linux/sound/drivers/vx/
A Dvx_mixer.c425 unsigned int val[2], vmax; in vx_output_level_put() local
427 vmax = chip->hw->output_level_max; in vx_output_level_put()
430 if (val[0] > vmax || val[1] > vmax) in vx_output_level_put()
/linux/drivers/power/supply/
A Dmax17042_battery.c201 if (vbatt > chip->pdata->vmax + MAX17042_VMAX_TOLERANCE) { in max17042_get_battery_health()
935 if (of_property_read_s32(np, "maxim,over-volt", &pdata->vmax)) in max17042_get_of_pdata()
936 pdata->vmax = INT_MAX; in max17042_get_of_pdata()
984 pdata->vmax = MAX17042_DEFAULT_VMAX; in max17042_get_default_pdata()
/linux/drivers/media/i2c/
A Dimx274.c1507 u32 vmax; in imx274_get_frame_length() local
1513 err = imx274_read_mbreg(priv, IMX274_VMAX_REG_3, &vmax, 3); in imx274_get_frame_length()
1517 *val = vmax * (svr + 1); in imx274_get_frame_length()
/linux/drivers/gpu/drm/amd/display/modules/freesync/
A Dfreesync.c493 unsigned int *vmax) in mod_freesync_get_vmin_vmax() argument
496 *vmax = stream->adjust.v_total_max; in mod_freesync_get_vmin_vmax()
/linux/drivers/video/fbdev/
A Datafb.c2935 int vmin, vmax, hmin, hmax; in atafb_setup_mcap() local
2948 vmax = simple_strtoul(p, NULL, 10); in atafb_setup_mcap()
2949 if (vmax <= 0 || vmax <= vmin) in atafb_setup_mcap()
2963 fb_info.monspecs.vfmax = vmax; in atafb_setup_mcap()
/linux/drivers/video/fbdev/sis/
A Dsis_main.c476 monitor->vmax = buffer[j + 6]; in sisfb_interpret_edid()
492 monitor->vmin = 65535; monitor->vmax = 0; in sisfb_interpret_edid()
500 if(monitor->vmax < sisfb_ddcsmodes[i].v) monitor->vmax = sisfb_ddcsmodes[i].v; in sisfb_interpret_edid()
522 if(monitor->vmax < sisfb_ddcsmodes[j].v) monitor->vmax = 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()
626 if(rate > (monitor->vmax + 1)) in sisfb_verify_rate()

Completed in 74 milliseconds

12