drivers/auxdisplay/cfag12864b.c
Source file repositories/reference/linux-study-clean/drivers/auxdisplay/cfag12864b.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/auxdisplay/cfag12864b.c- Extension
.c- Size
- 7465 bytes
- Lines
- 369
- Domain
- Driver Families
- Bucket
- drivers/auxdisplay
- 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.
- Uses kernel synchronization; read lock ordering, sleepability, and interrupt context assumptions before translating.
- 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/init.hlinux/module.hlinux/kernel.hlinux/fs.hlinux/slab.hlinux/cdev.hlinux/delay.hlinux/device.hlinux/jiffies.hlinux/mutex.hlinux/uaccess.hlinux/vmalloc.hlinux/workqueue.hlinux/ks0108.hlinux/cfag12864b.h
Detected Declarations
function cfag12864b_setfunction cfag12864b_setbitfunction cfag12864b_efunction cfag12864b_cs1function cfag12864b_cs2function cfag12864b_difunction cfag12864b_setcontrollersfunction cfag12864b_controllerfunction cfag12864b_displaystatefunction cfag12864b_addressfunction cfag12864b_pagefunction cfag12864b_startlinefunction cfag12864b_writebytefunction cfag12864b_nopfunction cfag12864b_onfunction cfag12864b_offfunction cfag12864b_clearfunction cfag12864b_queuefunction cfag12864b_enablefunction cfag12864b_disablefunction cfag12864b_updatefunction cfag12864b_isinitedfunction cfag12864b_initfunction cfag12864b_exitmodule init cfag12864b_initexport cfag12864b_bufferexport cfag12864b_enableexport cfag12864b_disableexport cfag12864b_isinited
Annotated Snippet
module_init(cfag12864b_init);
module_exit(cfag12864b_exit);
MODULE_LICENSE("GPL v2");
MODULE_AUTHOR("Miguel Ojeda <ojeda@kernel.org>");
MODULE_DESCRIPTION("cfag12864b LCD driver");
Annotation
- Immediate include surface: `linux/init.h`, `linux/module.h`, `linux/kernel.h`, `linux/fs.h`, `linux/slab.h`, `linux/cdev.h`, `linux/delay.h`, `linux/device.h`.
- Detected declarations: `function cfag12864b_set`, `function cfag12864b_setbit`, `function cfag12864b_e`, `function cfag12864b_cs1`, `function cfag12864b_cs2`, `function cfag12864b_di`, `function cfag12864b_setcontrollers`, `function cfag12864b_controller`, `function cfag12864b_displaystate`, `function cfag12864b_address`.
- Atlas domain: Driver Families / drivers/auxdisplay.
- Implementation status: integration implementation candidate.
- Synchronization appears in or near this file; preserve lock ordering, sleepability, and interrupt-context constraints.
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.