/openbmc/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
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_vrr.c | 96 return crtc_state->vrr.vmax - intel_vrr_vblank_exit_length(crtc_state); in intel_vrr_vmax_vblank_start() 109 int vmin, vmax; in intel_vrr_compute_config() local 126 vmax = adjusted_mode->crtc_clock * 1000 / in intel_vrr_compute_config() 130 vmax = max_t(int, vmax, adjusted_mode->crtc_vtotal); in intel_vrr_compute_config() 132 if (vmin >= vmax) in intel_vrr_compute_config() 141 crtc_state->vrr.vmax = vmax; in intel_vrr_compute_config() 196 intel_de_write(dev_priv, TRANS_VRR_VMAX(cpu_transcoder), crtc_state->vrr.vmax - 1); in intel_vrr_set_transcoder_timings() 275 crtc_state->vrr.vmax = intel_de_read(dev_priv, TRANS_VRR_VMAX(cpu_transcoder)) + 1; in intel_vrr_get_config()
|
H A D | intel_vblank.c | 505 adjusted_mode.crtc_vtotal = crtc_state->vrr.vmax; in intel_crtc_update_active_timings() 506 adjusted_mode.crtc_vblank_end = crtc_state->vrr.vmax; in intel_crtc_update_active_timings()
|
/openbmc/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()
|
/openbmc/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()
|
/openbmc/linux/drivers/scsi/ |
H A D | scsi_devinfo.c | 421 size_t vmax, mmax, mlen; in scsi_dev_info_list_find() local 437 vmax = sizeof(devinfo->vendor); in scsi_dev_info_list_find() 439 while (vmax > 0 && *vskip == ' ') { in scsi_dev_info_list_find() 440 vmax--; in scsi_dev_info_list_find() 444 while (vmax > 0 && vskip[vmax - 1] == ' ') in scsi_dev_info_list_find() 445 --vmax; in scsi_dev_info_list_find() 462 if (vmax != strnlen(devinfo->vendor, in scsi_dev_info_list_find() 464 memcmp(devinfo->vendor, vskip, vmax)) in scsi_dev_info_list_find()
|
/openbmc/linux/arch/s390/boot/ |
H A D | startup.c | 178 unsigned long vmax; in setup_kernel_memory_layout() local 201 vmax = adjust_to_uv_max(asce_limit); in setup_kernel_memory_layout() 204 vmax = min(vmax, KASAN_SHADOW_START); in setup_kernel_memory_layout() 206 __memcpy_real_area = round_down(vmax - MEMCPY_REAL_SIZE, PAGE_SIZE); in setup_kernel_memory_layout()
|
/openbmc/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()
|
/openbmc/linux/drivers/regulator/ |
H A D | tps51632-regulator.c | 128 unsigned int vmax; in tps51632_init_dcdc() local 135 ret = regmap_read(tps->regmap, TPS51632_VMAX_REG, &vmax); in tps51632_init_dcdc() 140 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, \
|
/openbmc/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 …]
|
/openbmc/qemu/hw/usb/ |
H A D | dev-wacom.c | 218 static inline int int_clamp(int val, int vmin, int vmax) in int_clamp() argument 222 else if (val > vmax) in int_clamp() 223 return vmax; in int_clamp()
|
/openbmc/u-boot/common/ |
H A D | edid.c | 46 unsigned int *vmax) in edid_get_ranges() argument 51 *hmin = *hmax = *vmin = *vmax = 0; in edid_get_ranges() 61 *vmax = monitor->data.range_data.vertical_max; in edid_get_ranges()
|
/openbmc/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>;
|
/openbmc/qemu/hw/input/ |
H A D | hid.c | 339 static inline int int_clamp(int val, int vmin, int vmax) in int_clamp() argument 343 } else if (val > vmax) { in int_clamp() 344 return vmax; in int_clamp()
|
/openbmc/linux/drivers/gpu/drm/amd/display/modules/inc/ |
H A D | mod_freesync.h | 144 unsigned int *vmax);
|
/openbmc/linux/drivers/soc/mediatek/ |
H A D | mtk-svs.c | 444 u32 vmax; member 1123 FIELD_PREP(SVSB_LIMITVALS_FLD_VMAX, svsb->vmax); in svs_set_bank_phase() 1785 svsb->vmax += svsb->dvt_fixed; in svs_mt8192_efuse_parsing() 2130 .vmax = 0x60, 2159 .vmax = 0x60, 2190 .vmax = 0x64, 2214 .vmax = 0x58, 2237 .vmax = 0x64, 2263 .vmax = 0x40,
|
/openbmc/linux/include/linux/power/ |
H A D | max17042_battery.h | 261 int vmax; /* in millivolts */ member
|
/openbmc/linux/drivers/media/i2c/ |
H A D | imx296.c | 321 unsigned int vmax; in imx296_s_ctrl() local 333 vmax = format->height + sensor->vblank->cur.val; in imx296_s_ctrl() 334 ctrl->val = min_t(int, ctrl->val, vmax); in imx296_s_ctrl() 335 imx296_write(sensor, IMX296_SHS1, vmax - ctrl->val, &ret); in imx296_s_ctrl()
|
H A D | imx415.c | 543 unsigned int vmax; in imx415_s_ctrl() local 555 vmax = format->height + sensor->vblank->cur.val; in imx415_s_ctrl() 556 ctrl->val = min_t(int, ctrl->val, vmax); in imx415_s_ctrl() 557 return imx415_write(sensor, IMX415_SHR0, vmax - ctrl->val); in imx415_s_ctrl()
|