~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/include/video/da8xx-fb.h

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /*
  2  * Header file for TI DA8XX LCD controller platform data.
  3  *
  4  * Copyright (C) 2008-2009 MontaVista Software Inc.
  5  * Copyright (C) 2008-2009 Texas Instruments Inc
  6  *
  7  * This file is licensed under the terms of the GNU General Public License
  8  * version 2. This program is licensed "as is" without any warranty of any
  9  * kind, whether express or implied.
 10  */
 11 
 12 #ifndef DA8XX_FB_H
 13 #define DA8XX_FB_H
 14 
 15 enum panel_shade {
 16         MONOCHROME = 0,
 17         COLOR_ACTIVE,
 18         COLOR_PASSIVE,
 19 };
 20 
 21 enum raster_load_mode {
 22         LOAD_DATA = 1,
 23         LOAD_PALETTE,
 24 };
 25 
 26 enum da8xx_frame_complete {
 27         DA8XX_FRAME_WAIT,
 28         DA8XX_FRAME_NOWAIT,
 29 };
 30 
 31 struct da8xx_lcdc_platform_data {
 32         const char manu_name[10];
 33         void *controller_data;
 34         const char type[25];
 35 };
 36 
 37 struct lcd_ctrl_config {
 38         enum panel_shade panel_shade;
 39 
 40         /* AC Bias Pin Frequency */
 41         int ac_bias;
 42 
 43         /* AC Bias Pin Transitions per Interrupt */
 44         int ac_bias_intrpt;
 45 
 46         /* DMA burst size */
 47         int dma_burst_sz;
 48 
 49         /* Bits per pixel */
 50         int bpp;
 51 
 52         /* FIFO DMA Request Delay */
 53         int fdd;
 54 
 55         /* TFT Alternative Signal Mapping (Only for active) */
 56         unsigned char tft_alt_mode;
 57 
 58         /* 12 Bit Per Pixel (5-6-5) Mode (Only for passive) */
 59         unsigned char stn_565_mode;
 60 
 61         /* Mono 8-bit Mode: 1=D0-D7 or 0=D0-D3 */
 62         unsigned char mono_8bit_mode;
 63 
 64         /* Horizontal and Vertical Sync Edge: 0=rising 1=falling */
 65         unsigned char sync_edge;
 66 
 67         /* Raster Data Order Select: 1=Most-to-least 0=Least-to-most */
 68         unsigned char raster_order;
 69 
 70         /* DMA FIFO threshold */
 71         int fifo_th;
 72 };
 73 
 74 struct lcd_sync_arg {
 75         int back_porch;
 76         int front_porch;
 77         int pulse_width;
 78 };
 79 
 80 /* ioctls */
 81 #define FBIOGET_CONTRAST        _IOR('F', 1, int)
 82 #define FBIOPUT_CONTRAST        _IOW('F', 2, int)
 83 #define FBIGET_BRIGHTNESS       _IOR('F', 3, int)
 84 #define FBIPUT_BRIGHTNESS       _IOW('F', 3, int)
 85 #define FBIGET_COLOR            _IOR('F', 5, int)
 86 #define FBIPUT_COLOR            _IOW('F', 6, int)
 87 #define FBIPUT_HSYNC            _IOW('F', 9, int)
 88 #define FBIPUT_VSYNC            _IOW('F', 10, int)
 89 
 90 /* Proprietary FB_SYNC_ flags */
 91 #define FB_SYNC_CLK_INVERT 0x40000000
 92 
 93 #endif  /* ifndef DA8XX_FB_H */
 94 
 95 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php