drivers/platform/x86/msi-laptop.c
Source file repositories/reference/linux-study-clean/drivers/platform/x86/msi-laptop.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/platform/x86/msi-laptop.c- Extension
.c- Size
- 26909 bytes
- Lines
- 1153
- 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/module.hlinux/kernel.hlinux/init.hlinux/acpi.hlinux/dmi.hlinux/backlight.hlinux/platform_device.hlinux/rfkill.hlinux/i8042.hlinux/input.hlinux/input/sparse-keymap.hacpi/video.h
Detected Declarations
struct quirk_entryfunction set_lcd_levelfunction get_lcd_levelfunction get_auto_brightnessfunction set_auto_brightnessfunction set_device_statefunction get_wireless_statefunction get_wireless_state_ec_standardfunction get_threeg_existsfunction bl_get_brightnessfunction bl_update_statusfunction show_wlanfunction store_wlanfunction show_bluetoothfunction store_bluetoothfunction show_threegfunction store_threegfunction show_lcd_levelfunction store_lcd_levelfunction show_auto_brightnessfunction store_auto_brightnessfunction show_touchpadfunction show_turbofunction show_ecofunction show_turbo_cooldownfunction show_auto_fanfunction store_auto_fanfunction dmi_check_cbfunction msi_work_delayfunction rfkill_bluetooth_setfunction rfkill_wlan_setfunction rfkill_threeg_setfunction rfkill_cleanupfunction msi_rfkill_set_statefunction msi_update_rfkillfunction msi_send_touchpad_keyfunction msi_laptop_i8042_filterfunction msi_init_rfkillfunction rfkill_initfunction msi_scm_disable_hw_fn_handlingfunction msi_laptop_resumefunction msi_laptop_input_setupfunction load_scm_model_initfunction msi_scm_model_exitfunction msi_initfunction acpi_video_get_backlight_typefunction msi_cleanupmodule init msi_init
Annotated Snippet
module_init(msi_init);
module_exit(msi_cleanup);
MODULE_AUTHOR("Lennart Poettering");
MODULE_DESCRIPTION("MSI Laptop Support");
MODULE_LICENSE("GPL");
Annotation
- Immediate include surface: `linux/module.h`, `linux/kernel.h`, `linux/init.h`, `linux/acpi.h`, `linux/dmi.h`, `linux/backlight.h`, `linux/platform_device.h`, `linux/rfkill.h`.
- Detected declarations: `struct quirk_entry`, `function set_lcd_level`, `function get_lcd_level`, `function get_auto_brightness`, `function set_auto_brightness`, `function set_device_state`, `function get_wireless_state`, `function get_wireless_state_ec_standard`, `function get_threeg_exists`, `function bl_get_brightness`.
- 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.