Searched refs:vpos (Results 1 - 19 of 19) sorted by relevance

/openbsd-current/sys/dev/pci/drm/i915/display/
H A Dintel_vblank.c256 int *vpos, int *hpos,
377 *vpos = position;
380 *vpos = position / htotal;
381 *hpos = position - (*vpos * htotal);
254 i915_get_crtc_scanoutpos(struct drm_crtc *_crtc, bool in_vblank_irq, int *vpos, int *hpos, ktime_t *stime, ktime_t *etime, const struct drm_display_mode *mode) argument
H A Ddvo_ns2501.c219 u16 vpos; /* vertical position, 8e/8f */ member in struct:ns2501_configuration
246 .vpos = 16,
266 .vpos = 4,
285 .vpos = 7,
631 ns2501_writeb(dvo, NS2501_REG8E, conf->vpos & 0xff);
632 ns2501_writeb(dvo, NS2501_REG8F, conf->vpos >> 8);
H A Dintel_sdvo_regs.h611 unsigned int vpos:1; member in struct:intel_sdvo_enhancements_reply
H A Dintel_sdvo.c146 struct drm_property *vpos; member in struct:intel_sdvo_connector
175 unsigned overscan_h, overscan_v, hpos, vpos, sharpness; member in struct:intel_sdvo_connector_state::__anon113
1457 if (intel_sdvo_conn->vpos)
1458 UPDATE_PROPERTY(sdvo_state->tv.vpos, VPOS);
2379 else if (property == intel_sdvo_connector->vpos)
2380 *val = sdvo_state->tv.vpos;
2437 else if (property == intel_sdvo_connector->vpos)
2438 sdvo_state->tv.vpos = val;
3183 ENHANCEMENT(&sdvo_state->tv, vpos, VPOS);
/openbsd-current/sys/dev/pci/drm/radeon/
H A Dradeon_display.c287 int vpos, hpos; local
319 * distance to start of "fudged earlier" vblank in vpos, distance to
320 * start of real vblank in hpos. vpos >= 0 && hpos < 0 means we are in
339 &vpos, &hpos, NULL, NULL,
341 ((vpos >= 0 && hpos < 0) || (hpos >= 0 && !ASIC_IS_AVIVO(rdev)))) {
417 int vpos, hpos; local
455 &vpos, &hpos, NULL, NULL,
1789 * fudged earlier start of vblank in *vpos and the distance
1792 * \param *vpos Location where vertical scanout position should be stored.
1799 * Returns vpos a
1813 radeon_get_crtc_scanoutpos(struct drm_device *dev, unsigned int pipe, unsigned int flags, int *vpos, int *hpos, ktime_t *stime, ktime_t *etime, const struct drm_display_mode *mode) argument
1988 radeon_get_crtc_scanout_position(struct drm_crtc *crtc, bool in_vblank_irq, int *vpos, int *hpos, ktime_t *stime, ktime_t *etime, const struct drm_display_mode *mode) argument
[all...]
H A Dradeon_kms.c771 int vpos, hpos, stat; local
784 * vblank in vpos. vpos therefore will be >= 0 between start of vblank
785 * and start of vsync, so vpos >= 0 means to bump the hw frame counter
794 /* Ask radeon_get_crtc_scanoutpos to return vpos as
800 &vpos, &hpos, NULL, NULL,
810 pipe, vpos);
813 * but before vsync where vpos would turn negative and
816 if (vpos >= 0)
H A Dradeon_mode.h840 unsigned int flags, int *vpos, int *hpos,
846 int *vpos, int *hpos,
H A Dradeon_pm.c1842 int crtc, vpos, hpos, vbl_status; local
1853 &vpos, &hpos, NULL, NULL,
/openbsd-current/sys/dev/pci/drm/amd/amdgpu/
H A Damdgpu_display.c130 int vpos, hpos; local
141 &vpos, &hpos, NULL, NULL,
1466 * fudged earlier start of vblank in *vpos and the distance
1469 * \param *vpos Location where vertical scanout position should be stored.
1476 * Returns vpos as a positive number while in active scanout area.
1477 * Returns vpos as a negative number inside vblank, counting the number
1491 unsigned int pipe, unsigned int flags, int *vpos,
1517 *vpos = position & 0x1fff;
1535 *hpos = *vpos - vbl_start;
1552 if ((*vpos < vbl_star
1490 amdgpu_display_get_crtc_scanoutpos(struct drm_device *dev, unsigned int pipe, unsigned int flags, int *vpos, int *hpos, ktime_t *stime, ktime_t *etime, const struct drm_display_mode *mode) argument
1612 amdgpu_crtc_get_scanout_position(struct drm_crtc *crtc, bool in_vblank_irq, int *vpos, int *hpos, ktime_t *stime, ktime_t *etime, const struct drm_display_mode *mode) argument
[all...]
H A Damdgpu_mode.h590 unsigned int pipe, unsigned int flags, int *vpos,
606 bool in_vblank_irq, int *vpos,
H A Damdgpu_kms.c1389 int vpos, hpos, stat; local
1401 * vblank in vpos. vpos therefore will be >= 0 between start of vblank
1402 * and start of vsync, so vpos >= 0 means to bump the hw frame counter
1412 * vpos as distance to start of vblank, instead of
1417 &vpos, &hpos, NULL, NULL,
1426 pipe, vpos);
1429 * but before vsync where vpos would turn negative and
1432 if (vpos >= 0)
/openbsd-current/sys/dev/pci/drm/include/drm/
H A Ddrm_vblank.h265 int *vpos, int *hpos,
H A Ddrm_modeset_helper_vtables.h465 * vpos:
478 * Returns vpos as a positive number while in active scanout area.
479 * Returns vpos as a negative number inside vblank, counting the number
489 bool in_vblank_irq, int *vpos, int *hpos,
/openbsd-current/gnu/usr.bin/texinfo/info/
H A Ddisplay.c596 int vpos, hpos; local
598 vpos = window_line_of_point (window) - window->pagetop + window->first_row;
600 terminal_goto_xy (hpos, vpos);
/openbsd-current/usr.sbin/nsd/
H A Dserver.c3688 unsigned int vpos = 0; local
3694 while(vpos < vlen) {
3696 msgvec[vpos].msg_hdr.msg_iov->iov_base,
3697 msgvec[vpos].msg_hdr.msg_iov->iov_len,
3699 msgvec[vpos].msg_hdr.msg_name,
3700 &msgvec[vpos].msg_hdr.msg_namelen);
3705 msgvec[vpos].msg_len = (unsigned int)rcvd;
3706 vpos++;
3710 if(vpos) {
3712 return (int)vpos;
3730 unsigned int vpos = 0; local
[all...]
/openbsd-current/sys/dev/pci/drm/
H A Ddrm_vblank.c707 int vpos, hpos, i; local
745 * Get vertical and horizontal scanout position vpos, hpos,
749 &vpos, &hpos,
783 delta_ns = div_s64(1000000LL * (vpos * mode->crtc_htotal + hpos),
799 pipe, hpos, vpos,
/openbsd-current/sys/dev/pci/drm/amd/display/dc/dcn10/
H A Ddcn10_hw_sequencer.c1918 unsigned int lines_to_vupdate, us_to_vupdate, vpos; local
1931 vpos = position.vertical_count;
1936 vpos += stream->timing.v_total;
1938 if (vpos <= vupdate_start) {
1940 lines_to_vupdate = vupdate_start - vpos;
1941 } else if (vpos > vupdate_end) {
/openbsd-current/sys/dev/acpi/
H A Ddsdt.c2689 int vpos, bpos, blen; local
2732 vpos = 0;
2748 aml_bufcpy(tbit, 0, vbit, vpos, len);
2751 aml_bufcpy(vbit, vpos, tbit, 0, len);
2752 vpos += len;
/openbsd-current/sys/dev/pci/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm.c414 u32 vpos, hpos, v_blank_start, v_blank_end; local
449 &v_blank_end, &hpos, &vpos) ||
450 (vpos < v_blank_start)) {
8052 int planes_count = 0, vpos, hpos; local
8255 0, &vpos, &hpos, NULL,

Completed in 410 milliseconds