Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/media/usb/gspca/gl860/
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 …]
Dgl860-mi1320.c189 sd->vmax.backlight = 2; in mi1320_init_settings()
190 sd->vmax.brightness = 8; in mi1320_init_settings()
191 sd->vmax.sharpness = 7; in mi1320_init_settings()
192 sd->vmax.contrast = 0; /* 10 but not working with this driver */ in mi1320_init_settings()
193 sd->vmax.gamma = 40; in mi1320_init_settings()
194 sd->vmax.hue = 5 + 1; in mi1320_init_settings()
195 sd->vmax.saturation = 8; in mi1320_init_settings()
196 sd->vmax.whitebal = 2; in mi1320_init_settings()
197 sd->vmax.mirror = 1; in mi1320_init_settings()
198 sd->vmax.flip = 1; in mi1320_init_settings()
[all …]
Dgl860-ov9655.c154 sd->vmax.backlight = 0; in ov9655_init_settings()
155 sd->vmax.brightness = 255; in ov9655_init_settings()
156 sd->vmax.sharpness = 0; in ov9655_init_settings()
157 sd->vmax.contrast = 0; in ov9655_init_settings()
158 sd->vmax.gamma = 0; in ov9655_init_settings()
159 sd->vmax.hue = 0 + 1; in ov9655_init_settings()
160 sd->vmax.saturation = 0; in ov9655_init_settings()
161 sd->vmax.whitebal = 0; in ov9655_init_settings()
162 sd->vmax.mirror = 0; in ov9655_init_settings()
163 sd->vmax.flip = 0; in ov9655_init_settings()
[all …]
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 …]
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 …]
Dgl860.h53 struct sd_gl860 vmax; member
/kernel/linux/linux-5.10/drivers/cpufreq/
Dpxa2xx-cpufreq.c55 int vmax; member
116 int vmin, vmax; in pxa_cpufreq_change_voltage() local
122 vmax = pxa_freq->vmax; in pxa_cpufreq_change_voltage()
123 if ((vmin == -1) || (vmax == -1)) in pxa_cpufreq_change_voltage()
126 ret = regulator_set_voltage(vcc_core, vmin, vmax); in pxa_cpufreq_change_voltage()
128 pr_err("Failed to set vcc_core in [%dmV..%dmV]\n", vmin, vmax); in pxa_cpufreq_change_voltage()
/kernel/linux/linux-5.10/drivers/scsi/
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()
/kernel/linux/linux-5.10/drivers/macintosh/
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()
Dvia-pmu.c702 long pcharge, charge, vb, vmax, lmax; in done_battery_state_ohare() local
722 vmax = vmax_charged; in done_battery_state_ohare()
737 vmax = vmax_charging; in done_battery_state_ohare()
739 charge = (100 * vb) / vmax; in done_battery_state_ohare()
/kernel/linux/linux-5.10/arch/s390/kernel/
Dsetup.c562 unsigned long vmax, tmp; in setup_memory_end() local
568 vmax = _REGION2_SIZE; /* 3-level kernel page table */ in setup_memory_end()
570 vmax = _REGION1_SIZE; /* 4-level kernel page table */ in setup_memory_end()
572 adjust_to_uv_max(&vmax); in setup_memory_end()
574 vmax = kasan_vmax; in setup_memory_end()
577 MODULES_END = vmax; in setup_memory_end()
587 tmp &= ~((vmax >> 11) - 1); /* align to page table level */ in setup_memory_end()
Duv.c94 void adjust_to_uv_max(unsigned long *vmax) in adjust_to_uv_max() argument
97 *vmax = min_t(unsigned long, *vmax, uv_info.max_sec_stor_addr); in adjust_to_uv_max()
/kernel/linux/linux-5.10/drivers/regulator/
Dtps51632-regulator.c141 unsigned int vmax; in tps51632_init_dcdc() local
148 ret = regmap_read(tps->regmap, TPS51632_VMAX_REG, &vmax); in tps51632_init_dcdc()
153 if (!(vmax & TPS51632_VMAX_LOCK)) { in tps51632_init_dcdc()
Dsc2731-regulator.c131 vstep, vmin, vmax) { \ argument
139 .n_voltages = ((vmax) - (vmin)) / (vstep) + 1, \
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/
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 …]
/kernel/linux/linux-5.10/arch/s390/include/asm/
Duv.h359 void adjust_to_uv_max(unsigned long *vmax);
363 static inline void adjust_to_uv_max(unsigned long *vmax) {} in adjust_to_uv_max() argument
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/modules/inc/
Dmod_freesync.h132 unsigned int *vmax);
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/leds/
Dleds-lm3532.txt33 - ti,als-vmax - Maximum ALS voltage defined in Volts
81 ti,als-vmax = <2000>;
/kernel/linux/linux-5.10/include/linux/power/
Dmax17042_battery.h259 int vmax; /* in millivolts */ member
/kernel/linux/linux-5.10/sound/drivers/vx/
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()
/kernel/linux/linux-5.10/drivers/power/supply/
Dmax17042_battery.c202 if (vbatt > chip->pdata->vmax + MAX17042_VMAX_TOLERANCE) { in max17042_get_battery_health()
930 if (of_property_read_s32(np, "maxim,over-volt", &pdata->vmax)) in max17042_get_of_pdata()
931 pdata->vmax = INT_MAX; in max17042_get_of_pdata()
979 pdata->vmax = MAX17042_DEFAULT_VMAX; in max17042_get_default_pdata()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hw_sequencer.h143 int num_pipes, unsigned int vmin, unsigned int vmax,
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/inc/
Dhw_sequencer.h112 unsigned int vmin, unsigned int vmax,
/kernel/linux/linux-5.10/drivers/media/i2c/
Dimx274.c1392 u32 vmax; in imx274_get_frame_length() local
1398 err = imx274_read_mbreg(priv, IMX274_VMAX_REG_3, &vmax, 3); in imx274_get_frame_length()
1402 *val = vmax * (svr + 1); in imx274_get_frame_length()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/modules/freesync/
Dfreesync.c482 unsigned int *vmax) in mod_freesync_get_vmin_vmax() argument
485 *vmax = stream->adjust.v_total_max; in mod_freesync_get_vmin_vmax()

12