drivers/platform/x86/intel/oaktrail.c
Source file repositories/reference/linux-study-clean/drivers/platform/x86/intel/oaktrail.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/platform/x86/intel/oaktrail.c- Extension
.c- Size
- 8824 bytes
- Lines
- 371
- Domain
- Driver Families
- Bucket
- drivers/platform
- 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/acpi.hlinux/backlight.hlinux/dmi.hlinux/err.hlinux/i2c.hlinux/kernel.hlinux/module.hlinux/mutex.hlinux/platform_device.hlinux/rfkill.hacpi/video.h
Detected Declarations
function oaktrail_rfkill_setfunction __oaktrail_rfkill_cleanupfunction oaktrail_rfkill_cleanupfunction oaktrail_rfkill_initfunction get_backlight_brightnessfunction set_backlight_brightnessfunction oaktrail_backlight_initfunction oaktrail_backlight_exitfunction oaktrail_probefunction dmi_check_cbfunction oaktrail_initfunction oaktrail_cleanupmodule init oaktrail_init
Annotated Snippet
module_init(oaktrail_init);
module_exit(oaktrail_cleanup);
MODULE_AUTHOR("Yin Kangkai <kangkai.yin@intel.com>");
MODULE_DESCRIPTION("Intel Oaktrail Platform ACPI Extras");
MODULE_VERSION(DRIVER_VERSION);
MODULE_LICENSE("GPL");
Annotation
- Immediate include surface: `linux/acpi.h`, `linux/backlight.h`, `linux/dmi.h`, `linux/err.h`, `linux/i2c.h`, `linux/kernel.h`, `linux/module.h`, `linux/mutex.h`.
- Detected declarations: `function oaktrail_rfkill_set`, `function __oaktrail_rfkill_cleanup`, `function oaktrail_rfkill_cleanup`, `function oaktrail_rfkill_init`, `function get_backlight_brightness`, `function set_backlight_brightness`, `function oaktrail_backlight_init`, `function oaktrail_backlight_exit`, `function oaktrail_probe`, `function dmi_check_cb`.
- Atlas domain: Driver Families / drivers/platform.
- 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.