• Home
  • Raw
  • Download

Lines Matching refs:pt

292 	struct detailed_pixel_timing *pt = &timing->data.pixel_data;  in drm_mode_detailed()  local
294 if (pt->stereo) { in drm_mode_detailed()
298 if (!pt->separate_sync) { in drm_mode_detailed()
314 mode->hdisplay = (pt->hactive_hi << 8) | pt->hactive_lo; in drm_mode_detailed()
315 mode->hsync_start = mode->hdisplay + ((pt->hsync_offset_hi << 8) | in drm_mode_detailed()
316 pt->hsync_offset_lo); in drm_mode_detailed()
318 ((pt->hsync_pulse_width_hi << 8) | in drm_mode_detailed()
319 pt->hsync_pulse_width_lo); in drm_mode_detailed()
320 mode->htotal = mode->hdisplay + ((pt->hblank_hi << 8) | pt->hblank_lo); in drm_mode_detailed()
322 mode->vdisplay = (pt->vactive_hi << 8) | pt->vactive_lo; in drm_mode_detailed()
323 mode->vsync_start = mode->vdisplay + ((pt->vsync_offset_hi << 4) | in drm_mode_detailed()
324 pt->vsync_offset_lo); in drm_mode_detailed()
326 ((pt->vsync_pulse_width_hi << 4) | in drm_mode_detailed()
327 pt->vsync_pulse_width_lo); in drm_mode_detailed()
328 mode->vtotal = mode->vdisplay + ((pt->vblank_hi << 8) | pt->vblank_lo); in drm_mode_detailed()
332 if (pt->interlaced) in drm_mode_detailed()
336 pt->hsync_positive = 1; in drm_mode_detailed()
337 pt->vsync_positive = 1; in drm_mode_detailed()
340 mode->flags |= pt->hsync_positive ? DRM_MODE_FLAG_PHSYNC : DRM_MODE_FLAG_NHSYNC; in drm_mode_detailed()
341 mode->flags |= pt->vsync_positive ? DRM_MODE_FLAG_PVSYNC : DRM_MODE_FLAG_NVSYNC; in drm_mode_detailed()
343 mode->width_mm = pt->width_mm_lo | (pt->width_mm_hi << 8); in drm_mode_detailed()
344 mode->height_mm = pt->height_mm_lo | (pt->height_mm_hi << 8); in drm_mode_detailed()