Searched refs:vmax (Results 1 - 25 of 38) sorted by relevance

12

/linux-master/drivers/media/usb/gspca/gl860/
H A Dgl860.c111 if (sd->vmax.brightness)
113 0, sd->vmax.brightness, 1,
116 if (sd->vmax.contrast)
118 0, sd->vmax.contrast, 1,
121 if (sd->vmax.saturation)
123 0, sd->vmax.saturation, 1,
126 if (sd->vmax.hue)
128 0, sd->vmax.hue, 1, sd->vcur.hue);
130 if (sd->vmax.gamma)
132 0, sd->vmax
[all...]
H A Dgl860-mi1320.c216 sd->vmax.backlight = 2;
217 sd->vmax.brightness = 8;
218 sd->vmax.sharpness = 7;
219 sd->vmax.contrast = 0; /* 10 but not working with this driver */
220 sd->vmax.gamma = 40;
221 sd->vmax.hue = 5 + 1;
222 sd->vmax.saturation = 8;
223 sd->vmax.whitebal = 2;
224 sd->vmax.mirror = 1;
225 sd->vmax
[all...]
H A Dgl860-ov2640.c186 sd->vmax.backlight = 64;
187 sd->vmax.brightness = 255;
188 sd->vmax.sharpness = 31;
189 sd->vmax.contrast = 255;
190 sd->vmax.gamma = 64;
191 sd->vmax.hue = 254 + 2;
192 sd->vmax.saturation = 255;
193 sd->vmax.whitebal = 128;
194 sd->vmax.mirror = 1;
195 sd->vmax
[all...]
H A Dgl860-ov9655.c203 sd->vmax.backlight = 0;
204 sd->vmax.brightness = 255;
205 sd->vmax.sharpness = 0;
206 sd->vmax.contrast = 0;
207 sd->vmax.gamma = 0;
208 sd->vmax.hue = 0 + 1;
209 sd->vmax.saturation = 0;
210 sd->vmax.whitebal = 0;
211 sd->vmax.mirror = 0;
212 sd->vmax
[all...]
H A Dgl860.h53 struct sd_gl860 vmax; member in struct:sd
H A Dgl860-mi2020.c367 sd->vmax.backlight = 64;
368 sd->vmax.brightness = 128;
369 sd->vmax.sharpness = 40;
370 sd->vmax.contrast = 3;
371 sd->vmax.gamma = 2;
372 sd->vmax.hue = 0 + 1; /* 200, not done by hardware */
373 sd->vmax.saturation = 0; /* 100, not done by hardware */
374 sd->vmax.whitebal = 2; /* 100, not done by hardware */
375 sd->vmax.mirror = 1;
376 sd->vmax
[all...]
/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_vrr.c77 * The latest point registers can get latched is the vmax decision boundary:
105 return crtc_state->vrr.vmax - intel_vrr_vblank_exit_length(crtc_state);
118 int vmin, vmax; local
140 vmax = adjusted_mode->crtc_clock * 1000 /
144 vmax = max_t(int, vmax, adjusted_mode->crtc_vtotal);
146 if (vmin >= vmax)
155 crtc_state->vrr.vmax = vmax;
211 intel_de_write(dev_priv, TRANS_VRR_VMAX(cpu_transcoder), crtc_state->vrr.vmax
[all...]
H A Dintel_vblank.c552 adjusted_mode.crtc_vtotal = crtc_state->vrr.vmax;
553 adjusted_mode.crtc_vblank_end = crtc_state->vrr.vmax;
/linux-master/drivers/cpufreq/
H A Dpxa2xx-cpufreq.c53 int vmax; member in struct:pxa_freqs
112 int vmin, vmax; local
118 vmax = pxa_freq->vmax;
119 if ((vmin == -1) || (vmax == -1))
122 ret = regulator_set_voltage(vcc_core, vmin, vmax);
124 pr_err("Failed to set vcc_core in [%dmV..%dmV]\n", vmin, vmax);
/linux-master/drivers/macintosh/
H A Dwindfarm.h63 s32 vmax = ct->ops->get_max(ct); local
64 return ct->ops->set_value(ct, vmax);
/linux-master/drivers/power/supply/
H A Dip5xxx_power.c317 int raw, ret, vmax; local
372 ret = ip5xxx_battery_get_voltage_max(ip5xxx, &vmax);
381 val->intval = vmax + 14000 * (rval >> 1);
385 ret = ip5xxx_battery_get_voltage_max(ip5xxx, &vmax);
389 val->intval = vmax + 14000 * 3;
436 int ret, vmax; local
467 ret = ip5xxx_battery_get_voltage_max(ip5xxx, &vmax);
471 rval = ((val->intval - vmax) / 14000) << 1;
H A Dmax17042_battery.c202 if (vbatt > chip->pdata->vmax + MAX17042_VMAX_TOLERANCE) {
931 if (of_property_read_s32(np, "maxim,over-volt", &pdata->vmax))
932 pdata->vmax = INT_MAX;
980 pdata->vmax = MAX17042_DEFAULT_VMAX;
/linux-master/drivers/scsi/
H A Dscsi_devinfo.c421 size_t vmax, mmax, mlen; local
437 vmax = sizeof(devinfo->vendor);
439 while (vmax > 0 && *vskip == ' ') {
440 vmax--;
444 while (vmax > 0 && vskip[vmax - 1] == ' ')
445 --vmax;
462 if (vmax != strnlen(devinfo->vendor,
464 memcmp(devinfo->vendor, vskip, vmax))
/linux-master/arch/s390/boot/
H A Dstartup.c271 unsigned long vmax; local
294 vmax = adjust_to_uv_max(asce_limit);
297 vmax = min(vmax, KASAN_SHADOW_START);
299 __memcpy_real_area = round_down(vmax - MEMCPY_REAL_SIZE, PAGE_SIZE);
/linux-master/drivers/regulator/
H A Dtps51632-regulator.c127 unsigned int vmax; local
134 ret = regmap_read(tps->regmap, TPS51632_VMAX_REG, &vmax);
139 if (!(vmax & TPS51632_VMAX_LOCK)) {
H A Dsc2731-regulator.c131 vstep, vmin, vmax) { \
139 .n_voltages = ((vmax) - (vmin)) / (vstep) + 1, \
/linux-master/drivers/gpu/drm/amd/display/modules/inc/
H A Dmod_freesync.h116 unsigned int *vmax);
/linux-master/drivers/soc/mediatek/
H A Dmtk-svs.c488 * @vmax: bank voltage maximum
537 u8 vmax; member in struct:svs_bank
1243 FIELD_PREP(SVSB_LIMITVALS_FLD_VMAX, svsb->vmax);
1949 svsb->vmax += svsb->dvt_fixed;
2279 .vmax = 0x38,
2312 .vmax = 0x38,
2348 .vmax = 0x60,
2381 .vmax = 0x60,
2412 .vmax = 0x38,
2445 .vmax
[all...]
/linux-master/drivers/media/dvb-frontends/
H A Dmb86a16.c758 static int swp_freq_calcuation(struct mb86a16_state *state, int i, int v, int *V, int vmax, int vmin, argument
763 if ((i % 2 == 1) && (v <= vmax)) {
773 } else if ((v == vmax) &&
797 } else if ((v == vmax) &&
827 } else if ((v + 1 == vmax) &&
895 } else if ((vmax == 0) && (vmin == 0) && (*(V + 30 + v) > SIGMIN)) {
1025 int v, vmax, vmin; local
1112 vmax = 0 ;
1115 vmax++;
1120 vmax
[all...]
/linux-master/sound/drivers/vx/
H A Dvx_mixer.c425 unsigned int val[2], vmax; local
427 vmax = chip->hw->output_level_max;
430 if (val[0] > vmax || val[1] > vmax)
/linux-master/include/linux/power/
H A Dmax17042_battery.h261 int vmax; /* in millivolts */ member in struct:max17042_platform_data
/linux-master/drivers/media/i2c/
H A Dimx296.c319 unsigned int vmax; local
331 vmax = format->height + sensor->vblank->cur.val;
332 ctrl->val = min_t(int, ctrl->val, vmax);
333 imx296_write(sensor, IMX296_SHS1, vmax - ctrl->val, &ret);
H A Dimx415.c733 unsigned int vmax; local
746 vmax = format->height + sensor->vblank->cur.val;
747 ctrl->val = min_t(int, ctrl->val, vmax);
749 vmax - ctrl->val, NULL);
H A Dimx290.c742 int ret = 0, vmax; local
781 vmax = imx290->vblank->val + imx290->current_mode->height;
783 vmax - ctrl->val - 1, NULL);
/linux-master/drivers/gpu/drm/amd/display/dc/inc/hw/
H A Dtiming_generator.h328 int vmin, int vmax);

Completed in 296 milliseconds

12