Lines Matching refs:pt
779 struct detailed_pixel_timing *pt)
794 if (!(pt->misc & DRM_EDID_PT_INTERLACED))
827 struct detailed_pixel_timing *pt = &timing->data.pixel_data;
828 unsigned hactive = (pt->hactive_hblank_hi & 0xf0) << 4 | pt->hactive_lo;
829 unsigned vactive = (pt->vactive_vblank_hi & 0xf0) << 4 | pt->vactive_lo;
830 unsigned hblank = (pt->hactive_hblank_hi & 0xf) << 8 | pt->hblank_lo;
831 unsigned vblank = (pt->vactive_vblank_hi & 0xf) << 8 | pt->vblank_lo;
832 unsigned hsync_offset = (pt->hsync_vsync_offset_pulse_width_hi & 0xc0) << 2 | pt->hsync_offset_lo;
833 unsigned hsync_pulse_width = (pt->hsync_vsync_offset_pulse_width_hi & 0x30) << 4 | pt->hsync_pulse_width_lo;
834 unsigned vsync_offset = (pt->hsync_vsync_offset_pulse_width_hi & 0xc) >> 2 | pt->vsync_offset_pulse_width_lo >> 4;
835 unsigned vsync_pulse_width = (pt->hsync_vsync_offset_pulse_width_hi & 0x3) << 4 | (pt->vsync_offset_pulse_width_lo & 0xf);
841 if (pt->misc & DRM_EDID_PT_STEREO) {
845 if (!(pt->misc & DRM_EDID_PT_SEPARATE_SYNC)) {
882 drm_mode_do_interlace_quirk(mode, pt);
887 pt->misc |= DRM_EDID_PT_HSYNC_POSITIVE | DRM_EDID_PT_VSYNC_POSITIVE;
890 mode->flags |= (pt->misc & DRM_EDID_PT_HSYNC_POSITIVE) ?
892 mode->flags |= (pt->misc & DRM_EDID_PT_VSYNC_POSITIVE) ?
895 mode->width_mm = pt->width_mm_lo | (pt->width_height_mm_hi & 0xf0) << 4;
896 mode->height_mm = pt->height_mm_lo | (pt->width_height_mm_hi & 0xf) << 8;