Home
last modified time | relevance | path

Searched refs:vmax (Results 1 – 25 of 26) 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/gpu/drm/i915/display/
H A Dintel_vrr.c153 * The latest point registers can get latched is the vmax decision boundary:
170 return crtc_state->vrr.vmax; in intel_vrr_vmax_vblank_start()
240 crtc_state->vrr.vmax = cmrr_get_vtotal(crtc_state, false);
241 crtc_state->vrr.vmin = crtc_state->vrr.vmax; in intel_vrr_compute_vrr_timings()
250 int vmin, int vmax) in intel_vrr_compute_vrr_timings()
252 crtc_state->vrr.vmax = vmax;
263 /* For fixed rr, vmin = vmax = flipline */ in intel_vrr_hw_value()
264 crtc_state->vrr.vmax = crtc_state->hw.adjusted_mode.crtc_vtotal; in intel_vrr_hw_value()
265 crtc_state->vrr.vmin = crtc_state->vrr.vmax; in intel_vrr_hw_value()
242 intel_vrr_compute_vrr_timings(struct intel_crtc_state * crtc_state,int vmin,int vmax) intel_vrr_compute_vrr_timings() argument
347 int vmax; intel_vrr_compute_vmax() local
416 int vmin, vmax; intel_vrr_compute_config() local
[all...]
H A Dintel_display_types.h1393 u16 flipline, vmin, vmax, guardband;
1397 u16 vmin, vmax;
1392 u16 flipline, vmin, vmax, guardband; global() member
1396 u16 vmin, vmax; global() member
H A Dintel_display.c942 old_crtc_state->vrr.vmax != new_crtc_state->vrr.vmax || in intel_crtc_vrr_enabling()
5487 PIPE_CONF_CHECK_I(vrr.vmax); in intel_pipe_config_compare()
5495 PIPE_CONF_CHECK_I(vrr.dc_balance.vmax); in intel_pipe_config_compare()
7323 * the commit so that vmin/vmax won't change after in intel_atomic_dsb_finish()
/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/arch/s390/boot/
H A Dstartup.c329 unsigned long vmax; in setup_kernel_memory_layout() local
364 vmax = adjust_to_uv_max(asce_limit); in setup_kernel_memory_layout()
365 boot_debug("%d level paging 0x%016lx vmax\n", vmax == _REGION1_SIZE ? 4 : 3, vmax); in setup_kernel_memory_layout()
370 vmax = min(vmax, KASAN_SHADOW_START); in setup_kernel_memory_layout()
372 vsize = min(vsize, vmax); in setup_kernel_memory_layout()
376 kaslr_len = max(KASLR_LEN, vmax - vsize); in setup_kernel_memory_layout()
380 kernel_end = vmax - pos * THREAD_SIZE; in setup_kernel_memory_layout()
382 boot_debug("Randomization range: 0x%016lx-0x%016lx\n", vmax - kaslr_len, vmax); in setup_kernel_memory_layout()
385 } else if (vmax < __NO_KASLR_END_KERNEL || vsize > __NO_KASLR_END_KERNEL) { in setup_kernel_memory_layout()
386 kernel_start = round_down(vmax - kernel_size, THREAD_SIZE); in setup_kernel_memory_layout()
/linux/drivers/scsi/
H A Dscsi_devinfo.c418 size_t vmax, mmax, mlen; in scsi_dev_info_list_find() local
434 vmax = sizeof(devinfo->vendor); in scsi_dev_info_list_find()
436 while (vmax > 0 && *vskip == ' ') { in scsi_dev_info_list_find()
437 vmax--; in scsi_dev_info_list_find()
441 while (vmax > 0 && vskip[vmax - 1] == ' ') in scsi_dev_info_list_find()
442 --vmax; in scsi_dev_info_list_find()
459 if (vmax != strnlen(devinfo->vendor, in scsi_dev_info_list_find()
461 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()
H A Dvia-pmu.c691 long pcharge, charge, vb, vmax, lmax; in done_battery_state_ohare() local
711 vmax = vmax_charged; in done_battery_state_ohare()
726 vmax = vmax_charging; in done_battery_state_ohare()
728 charge = (100 * vb) / vmax; in done_battery_state_ohare()
/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/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/power/supply/
H A Daxp20x_battery.c986 int vmax = info->voltage_max_design_uv; in axp717_set_battery_info() local
1012 if (vmax > 0 && axp717_battery_set_max_voltage(axp_batt, vmax)) in axp717_set_battery_info()
/linux/drivers/iio/adc/
H A Drohm-bd79124.c101 int vmax; member
719 *val = data->vmax / 1000; in bd79124_read_raw()
1024 data->vmax = ret; in bd79124_probe()
/linux/drivers/hwmon/
H A Dltc2992.c435 long vmax; in ltc2992_set_voltage() local
437 vmax = DIV_ROUND_CLOSEST_ULL(0xFFFULL * scale, 1000); in ltc2992_set_voltage()
439 val = min(val, vmax); in ltc2992_set_voltage()
/linux/drivers/video/fbdev/
H A Datafb.c2877 int vmin, vmax, hmin, hmax; in atafb_setup_mcap() local
2890 vmax = simple_strtoul(p, NULL, 10); in atafb_setup_mcap()
2891 if (vmax <= 0 || vmax <= vmin) in atafb_setup_mcap()
2905 fb_info.monspecs.vfmax = vmax; in atafb_setup_mcap()
H A Damifb.c2314 int vmin, vmax, hmin, hmax; in amifb_setup_mcap() local
2328 vmax = simple_strtoul(p, NULL, 10); in amifb_setup_mcap()
2329 if (vmax <= 0 || vmax <= vmin) in amifb_setup_mcap()
2345 amifb_vfmax = vmax; in amifb_setup_mcap()
/linux/Documentation/arch/m68k/
H A Dkernel-options.rst508 :Syntax: monitorcap:<vmin>;<vmax>;<hmin>;<hmax>
514 <vmin> and <vmax> are the minimum and maximum, resp., vertical frequencies
768 :Syntax: monitorcap:<vmin>;<vmax>;<hmin>;<hmax>
773 <vmin> and <vmax> are the minimum and maximum, resp., vertical frequencies
/linux/sound/soc/codecs/aw88395/
H A Daw88395_device.c993 static int aw_dev_get_vmax(struct aw_device *aw_dev, unsigned int *vmax) in aw_dev_get_vmax()
995 return aw_dev_dsp_read(aw_dev, AW88395_DSP_REG_VMAX, vmax, AW_DSP_16_DATA); in aw_dev_get_vmax()
1221 dev_err(aw_dev->dev, "get vmax failed"); in aw_dev_dsp_update_cfg()
1224 dev_dbg(aw_dev->dev, "get init vmax:0x%x", aw_dev->vmax_desc.init_vmax); in aw_dev_dsp_update_cfg()
992 aw_dev_get_vmax(struct aw_device * aw_dev,unsigned int * vmax) aw_dev_get_vmax() argument

12