Lines Matching refs:pt
3473 const struct detailed_pixel_timing *pt)
3488 if (!(pt->misc & DRM_EDID_PT_INTERLACED))
3517 const struct detailed_pixel_timing *pt = &timing->data.pixel_data;
3518 unsigned hactive = (pt->hactive_hblank_hi & 0xf0) << 4 | pt->hactive_lo;
3519 unsigned vactive = (pt->vactive_vblank_hi & 0xf0) << 4 | pt->vactive_lo;
3520 unsigned hblank = (pt->hactive_hblank_hi & 0xf) << 8 | pt->hblank_lo;
3521 unsigned vblank = (pt->vactive_vblank_hi & 0xf) << 8 | pt->vblank_lo;
3522 unsigned hsync_offset = (pt->hsync_vsync_offset_pulse_width_hi & 0xc0) << 2 | pt->hsync_offset_lo;
3523 unsigned hsync_pulse_width = (pt->hsync_vsync_offset_pulse_width_hi & 0x30) << 4 | pt->hsync_pulse_width_lo;
3524 unsigned vsync_offset = (pt->hsync_vsync_offset_pulse_width_hi & 0xc) << 2 | pt->vsync_offset_pulse_width_lo >> 4;
3525 unsigned vsync_pulse_width = (pt->hsync_vsync_offset_pulse_width_hi & 0x3) << 4 | (pt->vsync_offset_pulse_width_lo & 0xf);
3531 if (pt->misc & DRM_EDID_PT_STEREO) {
3536 if (!(pt->misc & DRM_EDID_PT_SEPARATE_SYNC)) {
3589 drm_mode_do_interlace_quirk(mode, pt);
3594 mode->flags |= (pt->misc & DRM_EDID_PT_HSYNC_POSITIVE) ?
3596 mode->flags |= (pt->misc & DRM_EDID_PT_VSYNC_POSITIVE) ?
3601 mode->width_mm = pt->width_mm_lo | (pt->width_height_mm_hi & 0xf0) << 4;
3602 mode->height_mm = pt->height_mm_lo | (pt->width_height_mm_hi & 0xf) << 8;