drivers/video/fbdev/mmp/hw/mmp_ctrl.h
Source file repositories/reference/linux-study-clean/drivers/video/fbdev/mmp/hw/mmp_ctrl.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/video/fbdev/mmp/hw/mmp_ctrl.h- Extension
.h- Size
- 52487 bytes
- Lines
- 1457
- Domain
- Driver Families
- Bucket
- drivers/video
- Inferred role
- Driver Families: implementation source
- Status
- source implementation candidate
Why This File Exists
Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
video/mmp_disp.h
Detected Declarations
struct lcd_regsstruct dsi_lcd_regsstruct dsi_regsstruct mmphw_ctrlstruct mmphw_path_platstruct mmphw_ctrlfunction overlay_is_vid
Annotated Snippet
struct lcd_regs {
/* TV patch register for MMP2 */
/* 32 bit TV Video Frame0 Y Starting Address */
#define LCD_TVD_START_ADDR_Y0 (0x0000)
/* 32 bit TV Video Frame0 U Starting Address */
#define LCD_TVD_START_ADDR_U0 (0x0004)
/* 32 bit TV Video Frame0 V Starting Address */
#define LCD_TVD_START_ADDR_V0 (0x0008)
/* 32 bit TV Video Frame0 Command Starting Address */
#define LCD_TVD_START_ADDR_C0 (0x000C)
/* 32 bit TV Video Frame1 Y Starting Address Register*/
#define LCD_TVD_START_ADDR_Y1 (0x0010)
/* 32 bit TV Video Frame1 U Starting Address Register*/
#define LCD_TVD_START_ADDR_U1 (0x0014)
/* 32 bit TV Video Frame1 V Starting Address Register*/
#define LCD_TVD_START_ADDR_V1 (0x0018)
/* 32 bit TV Video Frame1 Command Starting Address Register*/
#define LCD_TVD_START_ADDR_C1 (0x001C)
/* 32 bit TV Video Y andC Line Length(Pitch)Register*/
#define LCD_TVD_PITCH_YC (0x0020)
/* 32 bit TV Video U andV Line Length(Pitch)Register*/
#define LCD_TVD_PITCH_UV (0x0024)
/* 32 bit TV Video Starting Point on Screen Register*/
#define LCD_TVD_OVSA_HPXL_VLN (0x0028)
/* 32 bit TV Video Source Size Register*/
#define LCD_TVD_HPXL_VLN (0x002C)
/* 32 bit TV Video Destination Size (After Zooming)Register*/
#define LCD_TVDZM_HPXL_VLN (0x0030)
u32 v_y0;
u32 v_u0;
u32 v_v0;
u32 v_c0;
u32 v_y1;
u32 v_u1;
u32 v_v1;
u32 v_c1;
u32 v_pitch_yc; /* Video Y and C Line Length (Pitch) */
u32 v_pitch_uv; /* Video U and V Line Length (Pitch) */
u32 v_start; /* Video Starting Point on Screen */
u32 v_size; /* Video Source Size */
u32 v_size_z; /* Video Destination Size (After Zooming) */
/* 32 bit TV Graphic Frame 0 Starting Address Register*/
#define LCD_TVG_START_ADDR0 (0x0034)
/* 32 bit TV Graphic Frame 1 Starting Address Register*/
#define LCD_TVG_START_ADDR1 (0x0038)
/* 32 bit TV Graphic Line Length(Pitch)Register*/
#define LCD_TVG_PITCH (0x003C)
/* 32 bit TV Graphic Starting Point on Screen Register*/
#define LCD_TVG_OVSA_HPXL_VLN (0x0040)
/* 32 bit TV Graphic Source Size Register*/
#define LCD_TVG_HPXL_VLN (0x0044)
/* 32 bit TV Graphic Destination size (after Zooming)Register*/
#define LCD_TVGZM_HPXL_VLN (0x0048)
u32 g_0; /* Graphic Frame 0/1 Starting Address */
u32 g_1;
u32 g_pitch; /* Graphic Line Length (Pitch) */
u32 g_start; /* Graphic Starting Point on Screen */
u32 g_size; /* Graphic Source Size */
u32 g_size_z; /* Graphic Destination Size (After Zooming) */
/* 32 bit TV Hardware Cursor Starting Point on screen Register*/
#define LCD_TVC_OVSA_HPXL_VLN (0x004C)
/* 32 bit TV Hardware Cursor Size Register */
#define LCD_TVC_HPXL_VLN (0x0050)
u32 hc_start; /* Hardware Cursor */
u32 hc_size; /* Hardware Cursor */
/* 32 bit TV Total Screen Size Register*/
#define LCD_TV_V_H_TOTAL (0x0054)
/* 32 bit TV Screen Active Size Register*/
#define LCD_TV_V_H_ACTIVE (0x0058)
/* 32 bit TV Screen Horizontal Porch Register*/
#define LCD_TV_H_PORCH (0x005C)
/* 32 bit TV Screen Vertical Porch Register*/
#define LCD_TV_V_PORCH (0x0060)
u32 screen_size; /* Screen Total Size */
u32 screen_active; /* Screen Active Size */
u32 screen_h_porch; /* Screen Horizontal Porch */
u32 screen_v_porch; /* Screen Vertical Porch */
/* 32 bit TV Screen Blank Color Register*/
#define LCD_TV_BLANKCOLOR (0x0064)
/* 32 bit TV Hardware Cursor Color1 Register*/
#define LCD_TV_ALPHA_COLOR1 (0x0068)
/* 32 bit TV Hardware Cursor Color2 Register*/
#define LCD_TV_ALPHA_COLOR2 (0x006C)
u32 blank_color; /* Screen Blank Color */
u32 hc_Alpha_color1; /* Hardware Cursor Color1 */
u32 hc_Alpha_color2; /* Hardware Cursor Color2 */
Annotation
- Immediate include surface: `video/mmp_disp.h`.
- Detected declarations: `struct lcd_regs`, `struct dsi_lcd_regs`, `struct dsi_regs`, `struct mmphw_ctrl`, `struct mmphw_path_plat`, `struct mmphw_ctrl`, `function overlay_is_vid`.
- Atlas domain: Driver Families / drivers/video.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.