• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright@ Samsung Electronics Co. LTD
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 #ifndef _SEC_FB_LCD_
18 #define _SEC_FB_LCD_
19 
20 /*
21  * S T R U C T U R E S  F O R  C U S T O M  I O C T L S
22  *
23 */
24 struct secfb_user_window {
25     int x;
26     int y;
27 };
28 
29 /*
30  * C U S T O M  I O C T L S
31  *
32 */
33 
34 #define FBIO_WAITFORVSYNC       _IO  ('F', 32)
35 #define SECFB_WIN_POSITION      _IOW ('F', 203, struct secfb_user_window)
36 #define S3CFB_SET_VSYNC_INT     _IOW ('F', 206, uint32_t)
37 
38 #define DEFAULT_LCD_WIDTH   (480)
39 #define DEFAULT_LCD_HEIGHT  (800)
40 #define DEFAULT_LCD_BPP     (32)
41 
42 /***************** LCD frame buffer *****************/
43 #define FB0_NAME    "/dev/fb0"
44 #define FB1_NAME    "/dev/fb1"
45 #define FB2_NAME    "/dev/fb2"
46 #define FB3_NAME    "/dev/fb3"
47 #define FB4_NAME    "/dev/fb4"
48 
49 #endif
50