drivers/video/fbdev/mmp/fb/mmpfb.h

Source file repositories/reference/linux-study-clean/drivers/video/fbdev/mmp/fb/mmpfb.h

File Facts

System
Linux kernel
Corpus path
drivers/video/fbdev/mmp/fb/mmpfb.h
Extension
.h
Size
828 bytes
Lines
42
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.

Dependency Surface

Detected Declarations

Annotated Snippet

struct mmpfb_info {
	struct device	*dev;
	int	id;
	const char	*name;

	struct fb_info	*fb_info;
	/* basicaly videomode is for output */
	struct fb_videomode	mode;
	int	pix_fmt;

	void	*fb_start;
	int	fb_size;
	dma_addr_t	fb_start_dma;

	struct mmp_overlay	*overlay;
	struct mmp_path	*path;

	struct mutex	access_ok;

	unsigned int		pseudo_palette[16];
	int output_fmt;
};

#define MMPFB_DEFAULT_SIZE (PAGE_ALIGN(1920 * 1080 * 4 * 2))
#endif /* _MMP_FB_H_ */

Annotation

Implementation Notes