diff options
| -rw-r--r-- | drivers/video/sh_mobile_lcdcfb.h | 39 |
1 files changed, 23 insertions, 16 deletions
diff --git a/drivers/video/sh_mobile_lcdcfb.h b/drivers/video/sh_mobile_lcdcfb.h index c1753877b4ec..8e0d0099940b 100644 --- a/drivers/video/sh_mobile_lcdcfb.h +++ b/drivers/video/sh_mobile_lcdcfb.h | |||
| @@ -53,30 +53,22 @@ struct sh_mobile_lcdc_entity { | |||
| 53 | struct sh_mobile_lcdc_chan { | 53 | struct sh_mobile_lcdc_chan { |
| 54 | struct sh_mobile_lcdc_priv *lcdc; | 54 | struct sh_mobile_lcdc_priv *lcdc; |
| 55 | struct sh_mobile_lcdc_entity *tx_dev; | 55 | struct sh_mobile_lcdc_entity *tx_dev; |
| 56 | struct sh_mobile_lcdc_chan_cfg cfg; | ||
| 56 | 57 | ||
| 57 | unsigned long *reg_offs; | 58 | unsigned long *reg_offs; |
| 58 | unsigned long ldmt1r_value; | 59 | unsigned long ldmt1r_value; |
| 59 | unsigned long enabled; /* ME and SE in LDCNT2R */ | 60 | unsigned long enabled; /* ME and SE in LDCNT2R */ |
| 60 | struct sh_mobile_lcdc_chan_cfg cfg; | 61 | int meram_enabled; |
| 61 | u32 pseudo_palette[PALETTE_NR]; | 62 | |
| 62 | struct fb_info *info; | 63 | struct mutex open_lock; /* protects the use counter */ |
| 63 | struct backlight_device *bl; | 64 | int use_count; |
| 65 | |||
| 64 | dma_addr_t dma_handle; | 66 | dma_addr_t dma_handle; |
| 65 | struct fb_deferred_io defio; | ||
| 66 | struct scatterlist *sglist; | ||
| 67 | unsigned long frame_end; | ||
| 68 | unsigned long pan_offset; | 67 | unsigned long pan_offset; |
| 68 | |||
| 69 | unsigned long frame_end; | ||
| 69 | wait_queue_head_t frame_end_wait; | 70 | wait_queue_head_t frame_end_wait; |
| 70 | struct completion vsync_completion; | 71 | struct completion vsync_completion; |
| 71 | struct { | ||
| 72 | unsigned int width; | ||
| 73 | unsigned int height; | ||
| 74 | struct fb_videomode mode; | ||
| 75 | } display; | ||
| 76 | int use_count; | ||
| 77 | int blank_status; | ||
| 78 | struct mutex open_lock; /* protects the use counter */ | ||
| 79 | int meram_enabled; | ||
| 80 | 72 | ||
| 81 | unsigned long base_addr_y; | 73 | unsigned long base_addr_y; |
| 82 | unsigned long base_addr_c; | 74 | unsigned long base_addr_c; |
| @@ -86,6 +78,21 @@ struct sh_mobile_lcdc_chan { | |||
| 86 | enum sh_mobile_lcdc_entity_event event, | 78 | enum sh_mobile_lcdc_entity_event event, |
| 87 | const struct fb_videomode *mode, | 79 | const struct fb_videomode *mode, |
| 88 | const struct fb_monspecs *monspec); | 80 | const struct fb_monspecs *monspec); |
| 81 | |||
| 82 | /* Backlight */ | ||
| 83 | struct backlight_device *bl; | ||
| 84 | |||
| 85 | /* FB */ | ||
| 86 | struct fb_info *info; | ||
| 87 | u32 pseudo_palette[PALETTE_NR]; | ||
| 88 | struct { | ||
| 89 | unsigned int width; | ||
| 90 | unsigned int height; | ||
| 91 | struct fb_videomode mode; | ||
| 92 | } display; | ||
| 93 | struct fb_deferred_io defio; | ||
| 94 | struct scatterlist *sglist; | ||
| 95 | int blank_status; | ||
| 89 | }; | 96 | }; |
| 90 | 97 | ||
| 91 | #endif | 98 | #endif |
