drivers/video/backlight/apple_bl.c
Source file repositories/reference/linux-study-clean/drivers/video/backlight/apple_bl.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/video/backlight/apple_bl.c- Extension
.c- Size
- 5853 bytes
- Lines
- 244
- 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/module.hlinux/kernel.hlinux/init.hlinux/backlight.hlinux/err.hlinux/io.hlinux/pci.hlinux/acpi.hlinux/atomic.hlinux/platform_device.hacpi/video.h
Detected Declarations
struct hw_datafunction intel_chipset_set_brightnessfunction intel_chipset_send_intensityfunction intel_chipset_get_intensityfunction nvidia_chipset_set_brightnessfunction nvidia_chipset_send_intensityfunction nvidia_chipset_get_intensityfunction apple_bl_probefunction apple_bl_removefunction apple_bl_initfunction apple_bl_exitmodule init apple_bl_init
Annotated Snippet
module_init(apple_bl_init);
module_exit(apple_bl_exit);
MODULE_AUTHOR("Matthew Garrett <mjg@redhat.com>");
MODULE_DESCRIPTION("Apple Backlight Driver");
MODULE_LICENSE("GPL");
MODULE_DEVICE_TABLE(acpi, apple_bl_ids);
MODULE_ALIAS("mbp_nvidia_bl");
Annotation
- Immediate include surface: `linux/module.h`, `linux/kernel.h`, `linux/init.h`, `linux/backlight.h`, `linux/err.h`, `linux/io.h`, `linux/pci.h`, `linux/acpi.h`.
- Detected declarations: `struct hw_data`, `function intel_chipset_set_brightness`, `function intel_chipset_send_intensity`, `function intel_chipset_get_intensity`, `function nvidia_chipset_set_brightness`, `function nvidia_chipset_send_intensity`, `function nvidia_chipset_get_intensity`, `function apple_bl_probe`, `function apple_bl_remove`, `function apple_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.