Lines Matching refs:panel_fixed_mode

531 			struct drm_display_mode *panel_fixed_mode,  in fill_detail_timing_data()  argument
534 panel_fixed_mode->hdisplay = (dvo_timing->hactive_hi << 8) | in fill_detail_timing_data()
536 panel_fixed_mode->hsync_start = panel_fixed_mode->hdisplay + in fill_detail_timing_data()
538 panel_fixed_mode->hsync_end = panel_fixed_mode->hsync_start + in fill_detail_timing_data()
541 panel_fixed_mode->htotal = panel_fixed_mode->hdisplay + in fill_detail_timing_data()
544 panel_fixed_mode->vdisplay = (dvo_timing->vactive_hi << 8) | in fill_detail_timing_data()
546 panel_fixed_mode->vsync_start = panel_fixed_mode->vdisplay + in fill_detail_timing_data()
548 panel_fixed_mode->vsync_end = panel_fixed_mode->vsync_start + in fill_detail_timing_data()
551 panel_fixed_mode->vtotal = panel_fixed_mode->vdisplay + in fill_detail_timing_data()
553 panel_fixed_mode->clock = dvo_timing->clock * 10; in fill_detail_timing_data()
554 panel_fixed_mode->type = DRM_MODE_TYPE_PREFERRED; in fill_detail_timing_data()
557 panel_fixed_mode->flags |= DRM_MODE_FLAG_PHSYNC; in fill_detail_timing_data()
559 panel_fixed_mode->flags |= DRM_MODE_FLAG_NHSYNC; in fill_detail_timing_data()
562 panel_fixed_mode->flags |= DRM_MODE_FLAG_PVSYNC; in fill_detail_timing_data()
564 panel_fixed_mode->flags |= DRM_MODE_FLAG_NVSYNC; in fill_detail_timing_data()
566 panel_fixed_mode->width_mm = (dvo_timing->himage_hi << 8) | in fill_detail_timing_data()
568 panel_fixed_mode->height_mm = (dvo_timing->vimage_hi << 8) | in fill_detail_timing_data()
572 if (panel_fixed_mode->hsync_end > panel_fixed_mode->htotal) { in fill_detail_timing_data()
574 panel_fixed_mode->hsync_end, panel_fixed_mode->htotal); in fill_detail_timing_data()
575 panel_fixed_mode->hsync_end = panel_fixed_mode->htotal; in fill_detail_timing_data()
577 if (panel_fixed_mode->vsync_end > panel_fixed_mode->vtotal) { in fill_detail_timing_data()
579 panel_fixed_mode->vsync_end, panel_fixed_mode->vtotal); in fill_detail_timing_data()
580 panel_fixed_mode->vsync_end = panel_fixed_mode->vtotal; in fill_detail_timing_data()
583 drm_mode_set_name(panel_fixed_mode); in fill_detail_timing_data()
845 struct drm_display_mode *panel_fixed_mode; in parse_lfp_panel_dtd() local
852 panel_fixed_mode = kzalloc(sizeof(*panel_fixed_mode), GFP_KERNEL); in parse_lfp_panel_dtd()
853 if (!panel_fixed_mode) in parse_lfp_panel_dtd()
856 fill_detail_timing_data(display, panel_fixed_mode, panel_dvo_timing); in parse_lfp_panel_dtd()
858 panel->vbt.lfp_vbt_mode = panel_fixed_mode; in parse_lfp_panel_dtd()
862 DRM_MODE_ARG(panel_fixed_mode)); in parse_lfp_panel_dtd()
869 if (fp_timing->x_res == panel_fixed_mode->hdisplay && in parse_lfp_panel_dtd()
870 fp_timing->y_res == panel_fixed_mode->vdisplay) { in parse_lfp_panel_dtd()
928 struct drm_display_mode *panel_fixed_mode; in parse_generic_dtd() local
968 panel_fixed_mode = kzalloc(sizeof(*panel_fixed_mode), GFP_KERNEL); in parse_generic_dtd()
969 if (!panel_fixed_mode) in parse_generic_dtd()
972 panel_fixed_mode->hdisplay = dtd->hactive; in parse_generic_dtd()
973 panel_fixed_mode->hsync_start = in parse_generic_dtd()
974 panel_fixed_mode->hdisplay + dtd->hfront_porch; in parse_generic_dtd()
975 panel_fixed_mode->hsync_end = in parse_generic_dtd()
976 panel_fixed_mode->hsync_start + dtd->hsync; in parse_generic_dtd()
977 panel_fixed_mode->htotal = in parse_generic_dtd()
978 panel_fixed_mode->hdisplay + dtd->hblank; in parse_generic_dtd()
980 panel_fixed_mode->vdisplay = dtd->vactive; in parse_generic_dtd()
981 panel_fixed_mode->vsync_start = in parse_generic_dtd()
982 panel_fixed_mode->vdisplay + dtd->vfront_porch; in parse_generic_dtd()
983 panel_fixed_mode->vsync_end = in parse_generic_dtd()
984 panel_fixed_mode->vsync_start + dtd->vsync; in parse_generic_dtd()
985 panel_fixed_mode->vtotal = in parse_generic_dtd()
986 panel_fixed_mode->vdisplay + dtd->vblank; in parse_generic_dtd()
988 panel_fixed_mode->clock = dtd->pixel_clock; in parse_generic_dtd()
989 panel_fixed_mode->width_mm = dtd->width_mm; in parse_generic_dtd()
990 panel_fixed_mode->height_mm = dtd->height_mm; in parse_generic_dtd()
992 panel_fixed_mode->type = DRM_MODE_TYPE_PREFERRED; in parse_generic_dtd()
993 drm_mode_set_name(panel_fixed_mode); in parse_generic_dtd()
996 panel_fixed_mode->flags |= DRM_MODE_FLAG_PHSYNC; in parse_generic_dtd()
998 panel_fixed_mode->flags |= DRM_MODE_FLAG_NHSYNC; in parse_generic_dtd()
1001 panel_fixed_mode->flags |= DRM_MODE_FLAG_PVSYNC; in parse_generic_dtd()
1003 panel_fixed_mode->flags |= DRM_MODE_FLAG_NVSYNC; in parse_generic_dtd()
1007 DRM_MODE_ARG(panel_fixed_mode)); in parse_generic_dtd()
1009 panel->vbt.lfp_vbt_mode = panel_fixed_mode; in parse_generic_dtd()
1104 struct drm_display_mode *panel_fixed_mode; in parse_sdvo_lvds_data() local
1141 panel_fixed_mode = kzalloc(sizeof(*panel_fixed_mode), GFP_KERNEL); in parse_sdvo_lvds_data()
1142 if (!panel_fixed_mode) in parse_sdvo_lvds_data()
1145 fill_detail_timing_data(display, panel_fixed_mode, &dtd->dtd[index]); in parse_sdvo_lvds_data()
1147 panel->vbt.sdvo_lvds_vbt_mode = panel_fixed_mode; in parse_sdvo_lvds_data()
1151 DRM_MODE_ARG(panel_fixed_mode)); in parse_sdvo_lvds_data()