Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(205)

Side by Side Diff: include/lcd.h

Issue 1329001: ST1.5 board support and some ST1.0/1.5 common changes. (Closed)
Patch Set: Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « include/configs/chromeos/st1q/recovery.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * MPC823 and PXA LCD Controller 2 * MPC823 and PXA LCD Controller
3 * Also supports QSD8x50 LCDC 3 * Also supports QSD8x50 LCDC
4 * 4 *
5 * Modeled after video interface by Paolo Scaffardi 5 * Modeled after video interface by Paolo Scaffardi
6 * 6 *
7 * Copyright (c) 2009, Code Aurora Forum. All rights reserved. 7 * Copyright (c) 2009-2010, Code Aurora Forum. All rights reserved.
8 * 8 *
9 * (C) Copyright 2001 9 * (C) Copyright 2001
10 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. 10 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
11 * 11 *
12 * See file CREDITS for list of people who contributed to this 12 * See file CREDITS for list of people who contributed to this
13 * project. 13 * project.
14 * 14 *
15 * This program is free software; you can redistribute it and/or 15 * This program is free software; you can redistribute it and/or
16 * modify it under the terms of the GNU General Public License as 16 * modify it under the terms of the GNU General Public License as
17 * published by the Free Software Foundation; either version 2 of 17 * published by the Free Software Foundation; either version 2 of
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 typedef struct vidinfo { 188 typedef struct vidinfo {
189 uint vl_col; /* Number of columns (i.e. 640) */ 189 uint vl_col; /* Number of columns (i.e. 640) */
190 uint vl_row; /* Number of rows (i.e. 480) */ 190 uint vl_row; /* Number of rows (i.e. 480) */
191 uint vl_sync_width; /* Width of display area used for setting sync*/ 191 uint vl_sync_width; /* Width of display area used for setting sync*/
192 uint vl_sync_height; /* Height of display area used for sync */ 192 uint vl_sync_height; /* Height of display area used for sync */
193 uint vl_hbp; /* Horizontal Back porch */ 193 uint vl_hbp; /* Horizontal Back porch */
194 uint vl_hfp; /* Horizontal Front porch */ 194 uint vl_hfp; /* Horizontal Front porch */
195 uint vl_vbp; /* Vertical Back porch */ 195 uint vl_vbp; /* Vertical Back porch */
196 uint vl_vfp; /* Vertical Front porch */ 196 uint vl_vfp; /* Vertical Front porch */
197 uint vl_hsync_width; /* Horizontal Sync width */ 197 uint vl_hsync_width; /* Horizontal Sync width */
198 uint vl_vsync_width; /* Vertical Sync width */
198 u_char vl_bpix; /* Bits per pixel,CUSTOMISE!! */ 199 u_char vl_bpix; /* Bits per pixel,CUSTOMISE!! */
199 ushort *cmap; /* Pointer to colormap, not needed in 24bpp */ 200 ushort *cmap; /* Pointer to colormap, not needed in 24bpp */
200 void *vl_palette_base; /*Pointer to palette*/ 201 void *vl_palette_base; /*Pointer to palette*/
201 } vidinfo_t; 202 } vidinfo_t;
202 203
203 struct pixel_24bpp { 204 struct pixel_24bpp {
204 uchar blue; 205 uchar blue;
205 uchar green; 206 uchar green;
206 uchar red; 207 uchar red;
207 } __attribute__((__packed__)); 208 } __attribute__((__packed__));
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 (c) << 4 | (c) << 5 | (c) << 6 | (c) << 7) 368 (c) << 4 | (c) << 5 | (c) << 6 | (c) << 7)
368 #elif (LCD_BPP == LCD_COLOR8) || (LCD_BPP == LCD_COLOR16) || (LCD_BPP == LCD_COL OR24) 369 #elif (LCD_BPP == LCD_COLOR8) || (LCD_BPP == LCD_COLOR16) || (LCD_BPP == LCD_COL OR24)
369 # define COLOR_MASK(c) (c) 370 # define COLOR_MASK(c) (c)
370 #else 371 #else
371 # error Unsupported LCD BPP. 372 # error Unsupported LCD BPP.
372 #endif 373 #endif
373 374
374 /************************************************************************/ 375 /************************************************************************/
375 376
376 #endif /* _LCD_H_ */ 377 #endif /* _LCD_H_ */
OLDNEW
« no previous file with comments | « include/configs/chromeos/st1q/recovery.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698