drivers/video/backlight/aat2870_bl.c
Source file repositories/reference/linux-study-clean/drivers/video/backlight/aat2870_bl.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/video/backlight/aat2870_bl.c- Extension
.c- Size
- 4945 bytes
- Lines
- 207
- 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/module.hlinux/kernel.hlinux/init.hlinux/platform_device.hlinux/mutex.hlinux/delay.hlinux/backlight.hlinux/mfd/aat2870.h
Detected Declarations
struct aat2870_bl_driver_datafunction aat2870_brightnessfunction aat2870_bl_enablefunction aat2870_bl_disablefunction aat2870_bl_update_statusfunction aat2870_bl_probefunction aat2870_bl_removefunction aat2870_bl_initfunction aat2870_bl_exitmodule init aat2870_bl_init
Annotated Snippet
subsys_initcall(aat2870_bl_init);
static void __exit aat2870_bl_exit(void)
{
platform_driver_unregister(&aat2870_bl_driver);
}
module_exit(aat2870_bl_exit);
MODULE_DESCRIPTION("AnalogicTech AAT2870 Backlight");
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Jin Park <jinyoungp@nvidia.com>");
Annotation
- Immediate include surface: `linux/module.h`, `linux/kernel.h`, `linux/init.h`, `linux/platform_device.h`, `linux/mutex.h`, `linux/delay.h`, `linux/backlight.h`, `linux/mfd/aat2870.h`.
- Detected declarations: `struct aat2870_bl_driver_data`, `function aat2870_brightness`, `function aat2870_bl_enable`, `function aat2870_bl_disable`, `function aat2870_bl_update_status`, `function aat2870_bl_probe`, `function aat2870_bl_remove`, `function aat2870_bl_init`, `function aat2870_bl_exit`, `module init aat2870_bl_init`.
- 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.