Home
last modified time | relevance | path

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

12

/linux/drivers/media/usb/gspca/gl860/
H 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 …]
H 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()
219 sd->vmax.contrast = 0; /* 10 but not working with this driver */ 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()
[all …]
H 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 …]
H A Dgl860.c111 if (sd->vmax.brightness) in sd_init_controls()
113 0, sd->vmax.brightness, 1, in sd_init_controls()
116 if (sd->vmax.contrast) in sd_init_controls()
118 0, sd->vmax.contrast, 1, in sd_init_controls()
121 if (sd->vmax.saturation) in sd_init_controls()
123 0, sd->vmax.saturation, 1, in sd_init_controls()
126 if (sd->vmax.hue) in sd_init_controls()
128 0, sd->vmax.hue, 1, sd->vcur.hue); in sd_init_controls()
130 if (sd->vmax.gamma) in sd_init_controls()
132 0, sd->vmax.gamma, 1, sd->vcur.gamma); in sd_init_controls()
[all …]
H 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()
372 sd->vmax.hue = 0 + 1; /* 200, not done by hardware */ in mi2020_init_settings()
373 sd->vmax.saturation = 0; /* 100, not done by hardware */ in mi2020_init_settings()
374 sd->vmax.whitebal = 2; /* 100, not done by hardware */ in mi2020_init_settings()
375 sd->vmax.mirror = 1; in mi2020_init_settings()
376 sd->vmax.flip = 1; in mi2020_init_settings()
[all …]
H A Dgl860.h53 struct sd_gl860 vmax; member
/linux/drivers/cpufreq/
H A Dpxa2xx-cpufreq.c53 int vmax; member
112 int vmin, vmax; in pxa_cpufreq_change_voltage() local
118 vmax = pxa_freq->vmax; 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/drivers/gpu/drm/i915/display/
H A Dintel_vrr.c114 return crtc_state->vrr.vmax - intel_vrr_vblank_exit_length(crtc_state); in intel_vrr_vmax_vblank_start()
175 int vmin, vmax; in intel_vrr_compute_config() local
197 vmax = adjusted_mode->crtc_clock * 1000 / in intel_vrr_compute_config()
201 vmax = max_t(int, vmax, adjusted_mode->crtc_vtotal); in intel_vrr_compute_config()
203 if (vmin >= vmax) in intel_vrr_compute_config()
212 crtc_state->vrr.vmax = vmax; in intel_vrr_compute_config()
233 crtc_state->vrr.vmax = cmrr_get_vtotal(crtc_state, false); in intel_vrr_compute_config()
234 crtc_state->vrr.vmin = crtc_state->vrr.vmax; in intel_vrr_compute_config()
314 crtc_state->vrr.vmax - 1); in intel_vrr_set_transcoder_timings()
424 crtc_state->vrr.vmax = intel_de_read(display, in intel_vrr_get_config()
H A Dintel_vblank.c526 adjusted_mode.crtc_vtotal = crtc_state->vrr.vmax; in intel_crtc_update_active_timings()
527 adjusted_mode.crtc_vblank_end = crtc_state->vrr.vmax; in intel_crtc_update_active_timings()
/linux/arch/s390/boot/
H A Dstartup.c250 unsigned long vmax; in setup_kernel_memory_layout() local
283 vmax = adjust_to_uv_max(asce_limit); in setup_kernel_memory_layout()
287 vmax = min(vmax, KASAN_SHADOW_START); in setup_kernel_memory_layout()
289 vsize = min(vsize, vmax); in setup_kernel_memory_layout()
293 kaslr_len = max(KASLR_LEN, vmax - vsize); in setup_kernel_memory_layout()
297 kernel_end = vmax - pos * THREAD_SIZE; in setup_kernel_memory_layout()
299 } else if (vmax < __NO_KASLR_END_KERNEL || vsize > __NO_KASLR_END_KERNEL) { in setup_kernel_memory_layout()
300 kernel_start = round_down(vmax - kernel_size, THREAD_SIZE); in setup_kernel_memory_layout()
/linux/drivers/power/supply/
H A Dip5xxx_power.c317 int raw, ret, vmax; in ip5xxx_battery_get_property() local
372 ret = ip5xxx_battery_get_voltage_max(ip5xxx, &vmax); in ip5xxx_battery_get_property()
381 val->intval = vmax + 14000 * (rval >> 1); in ip5xxx_battery_get_property()
385 ret = ip5xxx_battery_get_voltage_max(ip5xxx, &vmax); in ip5xxx_battery_get_property()
389 val->intval = vmax + 14000 * 3; in ip5xxx_battery_get_property()
436 int ret, vmax; in ip5xxx_battery_set_property() local
467 ret = ip5xxx_battery_get_voltage_max(ip5xxx, &vmax); in ip5xxx_battery_set_property()
471 rval = ((val->intval - vmax) / 14000) << 1; in ip5xxx_battery_set_property()
H A Daxp20x_battery.c984 int vmax = info->voltage_max_design_uv; in axp717_set_battery_info() local
992 if (vmax > 0 && axp717_battery_set_max_voltage(axp_batt, vmax)) in axp717_set_battery_info()
H A Dmax17042_battery.c202 if (vbatt > chip->pdata->vmax + MAX17042_VMAX_TOLERANCE) { in max17042_get_battery_health()
934 if (of_property_read_s32(np, "maxim,over-volt", &pdata->vmax)) in max17042_get_of_pdata()
935 pdata->vmax = INT_MAX; in max17042_get_of_pdata()
983 pdata->vmax = MAX17042_DEFAULT_VMAX; in max17042_get_default_pdata()
/linux/drivers/scsi/
H A Dscsi_devinfo.c422 size_t vmax, mmax, mlen; in scsi_dev_info_list_find() local
438 vmax = sizeof(devinfo->vendor); in scsi_dev_info_list_find()
440 while (vmax > 0 && *vskip == ' ') { in scsi_dev_info_list_find()
441 vmax--; in scsi_dev_info_list_find()
445 while (vmax > 0 && vskip[vmax - 1] == ' ') in scsi_dev_info_list_find()
446 --vmax; in scsi_dev_info_list_find()
463 if (vmax != strnlen(devinfo->vendor, in scsi_dev_info_list_find()
465 memcmp(devinfo->vendor, vskip, vmax)) in scsi_dev_info_list_find()
/linux/drivers/macintosh/
H 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()
/linux/drivers/regulator/
H A Dtps51632-regulator.c127 unsigned int vmax; in tps51632_init_dcdc() local
134 ret = regmap_read(tps->regmap, TPS51632_VMAX_REG, &vmax); in tps51632_init_dcdc()
139 if (!(vmax & TPS51632_VMAX_LOCK)) { in tps51632_init_dcdc()
H A Dsc2731-regulator.c131 vstep, vmin, vmax) { \ argument
139 .n_voltages = ((vmax) - (vmin)) / (vstep) + 1, \
/linux/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 vm… in swp_freq_calcuation() argument
763 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()
[all …]
/linux/drivers/media/i2c/
H A Dimx283.c571 u32 vmax; member
669 numerator = (imx283->vmax * (svr + 1) - shr) * imx283->hmax + offset; in imx283_exposure()
683 u64 max_shr = (svr + 1) * imx283->vmax - 4; in imx283_exposure_limits()
707 return (imx283->vmax * (svr + 1) - temp); in imx283_shr()
776 imx283->vmax = mode->height + ctrl->val; in imx283_set_ctrl()
813 imx283->vmax = mode->height + ctrl->val; in imx283_set_ctrl()
815 ctrl->val, imx283->vmax); in imx283_set_ctrl()
816 ret = cci_write(imx283->cci, IMX283_REG_VMAX, imx283->vmax, NULL); in imx283_set_ctrl()
935 imx283->vmax = mode->default_vmax; in imx283_set_framing_limits()
H A Dimx296.c319 unsigned int vmax; in imx296_s_ctrl() local
331 vmax = format->height + sensor->vblank->cur.val; in imx296_s_ctrl()
332 ctrl->val = min_t(int, ctrl->val, vmax); in imx296_s_ctrl()
333 imx296_write(sensor, IMX296_SHS1, vmax - ctrl->val, &ret); in imx296_s_ctrl()
/linux/Documentation/devicetree/bindings/leds/
H 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/
H A Dmod_freesync.h116 unsigned int *vmax);
/linux/include/linux/power/
H A Dmax17042_battery.h261 int vmax; /* in millivolts */ member
/linux/sound/drivers/vx/
H 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/gpu/drm/amd/display/dc/inc/hw/
H A Dtiming_generator.h337 int vmin, int vmax);

12