/linux/drivers/media/usb/gspca/gl860/ |
H A D | gl860-ov2640.c | 186 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 D | gl860-mi1320.c | 216 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 D | gl860-ov9655.c | 203 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 D | gl860.c | 111 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 D | gl860-mi2020.c | 367 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 D | gl860.h | 53 struct sd_gl860 vmax; member
|
/linux/drivers/cpufreq/ |
H A D | pxa2xx-cpufreq.c | 53 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 D | intel_vrr.c | 114 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 D | intel_vblank.c | 526 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 D | startup.c | 250 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 D | ip5xxx_power.c | 317 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 D | axp20x_battery.c | 984 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 D | max17042_battery.c | 202 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 D | scsi_devinfo.c | 422 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 D | windfarm.h | 63 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 D | tps51632-regulator.c | 127 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 D | sc2731-regulator.c | 131 vstep, vmin, vmax) { \ argument 139 .n_voltages = ((vmax) - (vmin)) / (vstep) + 1, \
|
/linux/drivers/media/dvb-frontends/ |
H A D | mb86a16.c | 758 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 D | imx283.c | 571 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 D | imx296.c | 319 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 D | leds-lm3532.txt | 33 - ti,als-vmax - Maximum ALS voltage defined in Volts 81 ti,als-vmax = <2000>;
|
/linux/drivers/gpu/drm/amd/display/modules/inc/ |
H A D | mod_freesync.h | 116 unsigned int *vmax);
|
/linux/include/linux/power/ |
H A D | max17042_battery.h | 261 int vmax; /* in millivolts */ member
|
/linux/sound/drivers/vx/ |
H A D | vx_mixer.c | 425 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 D | timing_generator.h | 337 int vmin, int vmax);
|