drivers/video/fbdev/mmp/fb/mmpfb.c
Source file repositories/reference/linux-study-clean/drivers/video/fbdev/mmp/fb/mmpfb.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/video/fbdev/mmp/fb/mmpfb.c- Extension
.c- Size
- 18182 bytes
- Lines
- 662
- Domain
- Driver Families
- Bucket
- drivers/video
- Inferred role
- Driver Families: exported/initcall integration point
- Status
- integration 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.
- Exports symbols or registers init work; inspect boot/module ordering and who consumes the exported contract.
- Touches IRQ or DMA behavior; this matters for the representative real-device path.
- Allocates kernel memory; connect allocation flags and lifetime to context constraints.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/module.hlinux/dma-mapping.hlinux/platform_device.hmmpfb.h
Detected Declarations
function Copyrightfunction pixfmt_to_varfunction fbmode_to_mmpmodefunction mmpmode_to_fbmodefunction mmpfb_check_varfunction chan_to_fieldfunction to_rgbfunction mmpfb_setcolregfunction mmpfb_pan_displayfunction var_updatefunction mmpfb_set_winfunction mmpfb_set_parfunction mmpfb_powerfunction mmpfb_blankfunction modes_setupfunction fb_info_setupfunction fb_info_clearfunction mmpfb_probefunction mmpfb_initmodule init mmpfb_init
Annotated Snippet
module_init(mmpfb_init);
MODULE_AUTHOR("Zhou Zhu <zhou.zhu@marvell.com>");
MODULE_DESCRIPTION("Framebuffer driver for Marvell displays");
MODULE_LICENSE("GPL");
Annotation
- Immediate include surface: `linux/module.h`, `linux/dma-mapping.h`, `linux/platform_device.h`, `mmpfb.h`.
- Detected declarations: `function Copyright`, `function pixfmt_to_var`, `function fbmode_to_mmpmode`, `function mmpmode_to_fbmode`, `function mmpfb_check_var`, `function chan_to_field`, `function to_rgb`, `function mmpfb_setcolreg`, `function mmpfb_pan_display`, `function var_update`.
- Atlas domain: Driver Families / drivers/video.
- Implementation status: integration implementation candidate.
- IRQ or DMA behavior appears here, which is relevant to the selected PCIe/NVMe device path.
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.