Lines Matching defs:pt
1569 struct detailed_pixel_timing *pt)
1584 if (!(pt->misc & DRM_EDID_PT_INTERLACED))
1617 struct detailed_pixel_timing *pt = &timing->data.pixel_data;
1618 unsigned hactive = (pt->hactive_hblank_hi & 0xf0) << 4 | pt->hactive_lo;
1619 unsigned vactive = (pt->vactive_vblank_hi & 0xf0) << 4 | pt->vactive_lo;
1620 unsigned hblank = (pt->hactive_hblank_hi & 0xf) << 8 | pt->hblank_lo;
1621 unsigned vblank = (pt->vactive_vblank_hi & 0xf) << 8 | pt->vblank_lo;
1622 unsigned hsync_offset = (pt->hsync_vsync_offset_pulse_width_hi & 0xc0) << 2 | pt->hsync_offset_lo;
1623 unsigned hsync_pulse_width = (pt->hsync_vsync_offset_pulse_width_hi & 0x30) << 4 | pt->hsync_pulse_width_lo;
1624 unsigned vsync_offset = (pt->hsync_vsync_offset_pulse_width_hi & 0xc) >> 2 | pt->vsync_offset_pulse_width_lo >> 4;
1625 unsigned vsync_pulse_width = (pt->hsync_vsync_offset_pulse_width_hi & 0x3) << 4 | (pt->vsync_offset_pulse_width_lo & 0xf);
1631 if (pt->misc & DRM_EDID_PT_STEREO) {
1635 if (!(pt->misc & DRM_EDID_PT_SEPARATE_SYNC)) {
1679 drm_mode_do_interlace_quirk(mode, pt);
1682 pt->misc |= DRM_EDID_PT_HSYNC_POSITIVE | DRM_EDID_PT_VSYNC_POSITIVE;
1685 mode->flags |= (pt->misc & DRM_EDID_PT_HSYNC_POSITIVE) ?
1687 mode->flags |= (pt->misc & DRM_EDID_PT_VSYNC_POSITIVE) ?
1691 mode->width_mm = pt->width_mm_lo | (pt->width_height_mm_hi & 0xf0) << 4;
1692 mode->height_mm = pt->height_mm_lo | (pt->width_height_mm_hi & 0xf) << 8;