drivers/platform/x86/dell/dell-laptop.c
Source file repositories/reference/linux-study-clean/drivers/platform/x86/dell/dell-laptop.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/platform/x86/dell/dell-laptop.c- Extension
.c- Size
- 67579 bytes
- Lines
- 2601
- 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.
- Uses kernel synchronization; read lock ordering, sleepability, and interrupt context assumptions before translating.
- 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/backlight.hlinux/err.hlinux/dmi.hlinux/io.hlinux/rfkill.hlinux/power_supply.hlinux/sysfs.hlinux/acpi.hlinux/mm.hlinux/i8042.hlinux/debugfs.hlinux/seq_file.hacpi/battery.hacpi/video.hdell-rbtn.hdell-smbios.hdell-wmi-privacy.h
Detected Declarations
struct quirk_entrystruct battery_mode_infostruct kbd_infostruct kbd_stateenum kbd_timeout_unitenum kbd_mode_bitfunction dmi_matchedfunction dell_send_request_for_tokenidfunction dell_set_std_token_valuefunction codesfunction dell_rfkill_update_sw_statefunction dell_rfkill_update_hw_statefunction dell_rfkill_queryfunction dell_debugfs_showfunction dell_update_rfkillfunction dell_laptop_i8042_filterfunction dell_laptop_rbtn_notifier_callfunction dell_setup_rfkillfunction dell_cleanup_rfkillfunction dell_send_intensityfunction dell_get_intensityfunction touchpad_led_onfunction touchpad_led_offfunction touchpad_led_setfunction touchpad_led_initfunction touchpad_led_exitfunction kbd_get_infofunction kbd_get_max_levelfunction kbd_get_levelfunction kbd_set_levelfunction kbd_get_statefunction kbd_set_statefunction kbd_set_state_safefunction kbd_set_token_bitfunction kbd_get_token_bitfunction kbd_get_first_active_token_bitfunction kbd_get_valid_token_countsfunction kbd_init_infofunction kbd_init_tokensfunction kbd_initfunction kbd_led_timeout_storefunction kbd_led_timeout_showfunction kbd_led_triggers_storefunction kbd_led_triggers_showfunction kbd_led_als_enabled_storefunction kbd_led_als_enabled_showfunction kbd_led_als_setting_storefunction kbd_led_als_setting_show
Annotated Snippet
* This can be achieved by late_initcall() instead module_init().
*/
late_initcall(dell_init);
module_exit(dell_exit);
MODULE_AUTHOR("Matthew Garrett <mjg@redhat.com>");
MODULE_AUTHOR("Gabriele Mazzotta <gabriele.mzt@gmail.com>");
MODULE_AUTHOR("Pali Rohár <pali@kernel.org>");
MODULE_DESCRIPTION("Dell laptop driver");
MODULE_LICENSE("GPL");
Annotation
- Immediate include surface: `linux/module.h`, `linux/kernel.h`, `linux/init.h`, `linux/platform_device.h`, `linux/backlight.h`, `linux/err.h`, `linux/dmi.h`, `linux/io.h`.
- Detected declarations: `struct quirk_entry`, `struct battery_mode_info`, `struct kbd_info`, `struct kbd_state`, `enum kbd_timeout_unit`, `enum kbd_mode_bit`, `function dmi_matched`, `function dell_send_request_for_tokenid`, `function dell_set_std_token_value`, `function codes`.
- Atlas domain: Driver Families / drivers/platform.
- 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.