Home
last modified time | relevance | path

Searched full:vpos (Results 1 – 25 of 39) sorted by relevance

12

/linux/Documentation/devicetree/bindings/regulator/
H A Dlm363x-regulator.txt11 - enable-gpios: Two GPIO specifiers for Vpos and Vneg control pins.
12 The first entry is Vpos, the second is Vneg enable pin.
19 - vpos
24 - vpos
59 vpos {
82 /* GPIO1_16 for Vpos, GPIO1_28 is for Vneg */
93 vpos {
/linux/drivers/gpu/drm/radeon/
H A Dradeon_display.c287 int vpos, hpos; in radeon_crtc_handle_vblank() local
319 * distance to start of "fudged earlier" vblank in vpos, distance to in radeon_crtc_handle_vblank()
320 * start of real vblank in hpos. vpos >= 0 && hpos < 0 means we are in in radeon_crtc_handle_vblank()
339 &vpos, &hpos, NULL, NULL, in radeon_crtc_handle_vblank()
341 ((vpos >= 0 && hpos < 0) || (hpos >= 0 && !ASIC_IS_AVIVO(rdev)))) { in radeon_crtc_handle_vblank()
417 int vpos, hpos; in radeon_flip_work_func() local
455 &vpos, &hpos, NULL, NULL, in radeon_flip_work_func()
1783 * fudged earlier start of vblank in *vpos and the distance
1786 * \param *vpos Location where vertical scanout position should be stored.
1793 * Returns vpos as a positive number while in active scanout area.
[all …]
H A Dradeon_kms.c759 int vpos, hpos, stat; in radeon_get_vblank_counter_kms() local
772 * vblank in vpos. vpos therefore will be >= 0 between start of vblank in radeon_get_vblank_counter_kms()
773 * and start of vsync, so vpos >= 0 means to bump the hw frame counter in radeon_get_vblank_counter_kms()
782 /* Ask radeon_get_crtc_scanoutpos to return vpos as in radeon_get_vblank_counter_kms()
788 &vpos, &hpos, NULL, NULL, in radeon_get_vblank_counter_kms()
798 pipe, vpos); in radeon_get_vblank_counter_kms()
801 * but before vsync where vpos would turn negative and in radeon_get_vblank_counter_kms()
804 if (vpos >= 0) in radeon_get_vblank_counter_kms()
H A Dradeon_mode.h838 unsigned int flags, int *vpos, int *hpos,
844 int *vpos, int *hpos,
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_display.c131 int vpos, hpos; in amdgpu_display_flip_work_func() local
142 &vpos, &hpos, NULL, NULL, in amdgpu_display_flip_work_func()
1525 * fudged earlier start of vblank in *vpos and the distance
1528 * \param *vpos Location where vertical scanout position should be stored.
1535 * Returns vpos as a positive number while in active scanout area.
1536 * Returns vpos as a negative number inside vblank, counting the number
1550 unsigned int pipe, unsigned int flags, int *vpos, in amdgpu_display_get_crtc_scanoutpos() argument
1576 *vpos = position & 0x1fff; in amdgpu_display_get_crtc_scanoutpos()
1594 *hpos = *vpos - vbl_start; in amdgpu_display_get_crtc_scanoutpos()
1611 if ((*vpos < vbl_start) && (*vpos >= vbl_end)) in amdgpu_display_get_crtc_scanoutpos()
[all …]
H A Damdgpu_kms.c1484 int vpos, hpos, stat; in amdgpu_get_vblank_counter_kms()
1496 * vblank in vpos. vpos therefore will be >= 0 between start of vblank in amdgpu_get_vblank_counter_kms()
1497 * and start of vsync, so vpos >= 0 means to bump the hw frame counter in amdgpu_get_vblank_counter_kms()
1507 * vpos as distance to start of vblank, instead of in amdgpu_get_vblank_counter_kms()
1512 &vpos, &hpos, NULL, NULL, in amdgpu_get_vblank_counter_kms()
1521 pipe, vpos); in amdgpu_get_vblank_counter_kms()
1524 * but before vsync where vpos would turn negative and in amdgpu_get_vblank_counter_kms()
1527 if (vpos >= 0) in amdgpu_get_vblank_counter_kms()
1481 int vpos, hpos, stat; amdgpu_get_vblank_counter_kms() local
H A Damdgpu_mode.h680 unsigned int pipe, unsigned int flags, int *vpos,
696 bool in_vblank_irq, int *vpos,
/linux/drivers/regulator/
H A Dlm363x-regulator.c150 .of_match = "vpos",
194 .of_match = "vpos",
239 .of_match = "vpos",
273 * Those pins are used for enabling VPOS/VNEG LDOs. in lm363x_regulator_of_get_enable_gpio()
H A Daw37503-regulator.c156 AW37503_REGULATOR_DESC(VPOS, outp),
H A Dtps65132-regulator.c200 TPS65132_REGULATOR_DESC(VPOS, outp),
/linux/drivers/gpu/drm/i2c/
H A Dch7006_mode.c334 int flicker, contrast, hpos, vpos; in ch7006_setup_properties() local
357 vpos = max(0, norm->vdisplay - round_fixed(mode->vdisplay*scale) in ch7006_setup_properties()
360 setbitf(state, CH7006_POV, VPOS_8, vpos); in ch7006_setup_properties()
361 setbitf(state, CH7006_VPOS, 0, vpos); in ch7006_setup_properties()
363 ch7006_dbg(client, "hpos: %d, vpos: %d\n", hpos, vpos); in ch7006_setup_properties()
/linux/Documentation/devicetree/bindings/mfd/
H A Dti-lmu.txt91 vpos {
135 vpos {
244 vpos {
H A Dmediatek,mt6370.yaml264 regulator-name = "mt6370-dsv-vpos";
/linux/drivers/gpu/drm/vc4/
H A Dvc4_crtc.c108 int *vpos, int *hpos, in vc4_crtc_get_scanout_position() argument
148 *vpos = VC4_GET_FIELD(val, SCALER6_DISPX_STATUS_YLINE); in vc4_crtc_get_scanout_position()
150 *vpos = VC4_GET_FIELD(val, SCALER_DISPSTATX_LINE); in vc4_crtc_get_scanout_position()
155 *vpos /= 2; in vc4_crtc_get_scanout_position()
170 if (*vpos > fifo_lines) { in vc4_crtc_get_scanout_position()
179 * incrementing vpos. Therefore we choose HVS read position - in vc4_crtc_get_scanout_position()
183 *vpos -= fifo_lines + 1; in vc4_crtc_get_scanout_position()
209 *vpos = -vblank_lines; in vc4_crtc_get_scanout_position()
227 * No clue where we are inside vblank. Return a vpos of zero, in vc4_crtc_get_scanout_position()
232 *vpos = 0; in vc4_crtc_get_scanout_position()
/linux/drivers/gpu/drm/loongson/
H A Dlsdc_crtc.c133 static void lsdc_crtc0_scan_pos(struct lsdc_crtc *lcrtc, int *hpos, int *vpos) in lsdc_crtc0_scan_pos() argument
141 *vpos = val & 0xffff; in lsdc_crtc0_scan_pos()
144 static void lsdc_crtc1_scan_pos(struct lsdc_crtc *lcrtc, int *hpos, int *vpos) in lsdc_crtc1_scan_pos() argument
152 *vpos = val & 0xffff; in lsdc_crtc1_scan_pos()
900 int *vpos, in lsdc_crtc_get_scanout_position() argument
930 *vpos = y; in lsdc_crtc_get_scanout_position()
/linux/drivers/gpu/drm/i915/display/
H A Ddvo_ns2501.c217 u16 vpos; /* vertical position, 8e/8f */ member
244 .vpos = 16,
264 .vpos = 4,
283 .vpos = 7,
629 ns2501_writeb(dvo, NS2501_REG8E, conf->vpos & 0xff); in ns2501_mode_set()
630 ns2501_writeb(dvo, NS2501_REG8F, conf->vpos >> 8); in ns2501_mode_set()
H A Dintel_vblank.c324 int *vpos, int *hpos, in i915_get_crtc_scanoutpos() argument
440 *vpos = position; in i915_get_crtc_scanoutpos()
443 *vpos = position / htotal; in i915_get_crtc_scanoutpos()
444 *hpos = position - (*vpos * htotal); in i915_get_crtc_scanoutpos()
H A Dintel_sdvo.c145 struct drm_property *vpos; member
174 unsigned overscan_h, overscan_v, hpos, vpos, sharpness; member
1484 if (intel_sdvo_conn->vpos) in intel_sdvo_update_props()
1485 UPDATE_PROPERTY(sdvo_state->tv.vpos, VPOS); in intel_sdvo_update_props()
2403 else if (property == intel_sdvo_connector->vpos) in intel_sdvo_connector_atomic_get_property()
2404 *val = sdvo_state->tv.vpos; in intel_sdvo_connector_atomic_get_property()
2461 else if (property == intel_sdvo_connector->vpos) in intel_sdvo_connector_atomic_set_property()
2462 sdvo_state->tv.vpos = val; in intel_sdvo_connector_atomic_set_property()
3217 ENHANCEMENT(&sdvo_state->tv, vpos, VPOS); in intel_sdvo_create_enhance_property_tv()
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_display.c84 nouveau_display_scanoutpos_head(struct drm_crtc *crtc, int *vpos, int *hpos, in nouveau_display_scanoutpos_head() argument
109 *vpos = calc(args.vblanks, args.vblanke, args.vtotal, args.vline); in nouveau_display_scanoutpos_head()
118 bool in_vblank_irq, int *vpos, int *hpos, in nouveau_display_scanoutpos() argument
122 return nouveau_display_scanoutpos_head(crtc, vpos, hpos, in nouveau_display_scanoutpos()
H A Dnouveau_display.h55 bool in_vblank_irq, int *vpos, int *hpos,
/linux/Documentation/gpu/
H A Dkms-properties.csv27 ,,“vpos”,RANGE,"Min=0, Max= SDVO dependent",Connector,TBD
47 ,,“vpos”,RANGE,"Min=0, Max= SDVO dependent",Connector,TBD
/linux/Documentation/devicetree/bindings/leds/
H A Dleds-lm36274.txt57 vpos {
/linux/Documentation/devicetree/bindings/iio/dac/
H A Dadi,ltc2664.yaml162 v-pos-supply = <&vpos>;
/linux/drivers/gpu/drm/stm/
H A Dltdc.c1058 int *vpos, int *hpos, in ltdc_crtc_get_scanout_position() argument
1073 * - line < vactive_start: vpos = line - vactive_start and will be in ltdc_crtc_get_scanout_position()
1075 * - vactive_start < line < vactive_end: vpos = line - vactive_start in ltdc_crtc_get_scanout_position()
1077 * - line > vactive_end: vpos = line - vtotal - vactive_start in ltdc_crtc_get_scanout_position()
1094 *vpos = line - vtotal - vactive_start; in ltdc_crtc_get_scanout_position()
1096 *vpos = line - vactive_start; in ltdc_crtc_get_scanout_position()
1098 *vpos = 0; in ltdc_crtc_get_scanout_position()
/linux/drivers/gpu/drm/
H A Ddrm_vblank.c705 int vpos, hpos, i; in drm_crtc_vblank_helper_get_vblank_timestamp_internal() local
743 * Get vertical and horizontal scanout position vpos, hpos, in drm_crtc_vblank_helper_get_vblank_timestamp_internal()
747 &vpos, &hpos, in drm_crtc_vblank_helper_get_vblank_timestamp_internal()
781 delta_ns = div_s64(1000000LL * (vpos * mode->crtc_htotal + hpos), in drm_crtc_vblank_helper_get_vblank_timestamp_internal()
797 pipe, hpos, vpos, in drm_crtc_vblank_helper_get_vblank_timestamp_internal()

12