drivers/video/fbdev/controlfb.c
Source file repositories/reference/linux-study-clean/drivers/video/fbdev/controlfb.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/video/fbdev/controlfb.c- Extension
.c- Size
- 25291 bytes
- Lines
- 1019
- 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.
- 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/kernel.hlinux/errno.hlinux/string.hlinux/mm.hlinux/slab.hlinux/vmalloc.hlinux/delay.hlinux/interrupt.hlinux/of.hlinux/of_address.hlinux/fb.hlinux/init.hlinux/pci.hlinux/nvram.hlinux/adb.hlinux/cuda.hasm/btext.hmacmodes.hcontrolfb.h
Detected Declarations
struct fb_par_controlstruct fb_info_controlfunction Copyrightfunction PAR_EQUALfunction controlfb_setcolregfunction set_control_clockfunction set_screen_startfunction control_set_hardwarefunction find_vram_sizefunction read_control_sensefunction calc_clock_paramsfunction control_var_to_parfunction control_par_to_varfunction controlfb_check_varfunction controlfb_set_parfunction controlfb_pan_displayfunction controlfb_blankfunction controlfb_mmapfunction control_init_infofunction optionsfunction init_controlfunction control_cleanupfunction control_of_initfunction control_initmodule init control_init
Annotated Snippet
device_initcall(control_init);
Annotation
- Immediate include surface: `linux/kernel.h`, `linux/errno.h`, `linux/string.h`, `linux/mm.h`, `linux/slab.h`, `linux/vmalloc.h`, `linux/delay.h`, `linux/interrupt.h`.
- Detected declarations: `struct fb_par_control`, `struct fb_info_control`, `function Copyright`, `function PAR_EQUAL`, `function controlfb_setcolreg`, `function set_control_clock`, `function set_screen_start`, `function control_set_hardware`, `function find_vram_size`, `function read_control_sense`.
- Atlas domain: Driver Families / drivers/video.
- Implementation status: integration 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.