drivers/platform/x86/acer-wmi.c
Source file repositories/reference/linux-study-clean/drivers/platform/x86/acer-wmi.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/platform/x86/acer-wmi.c- Extension
.c- Size
- 80900 bytes
- Lines
- 3300
- 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/kernel.hlinux/minmax.hlinux/module.hlinux/init.hlinux/types.hlinux/dmi.hlinux/fixp-arith.hlinux/backlight.hlinux/leds.hlinux/platform_device.hlinux/platform_profile.hlinux/acpi.hlinux/i8042.hlinux/rfkill.hlinux/workqueue.hlinux/debugfs.hlinux/slab.hlinux/input.hlinux/input/sparse-keymap.hacpi/video.hlinux/hwmon.hlinux/units.hlinux/unaligned.hlinux/bitfield.hlinux/bitmap.h
Detected Declarations
struct event_return_valuestruct func_input_paramsstruct func_return_valuestruct wmid3_gds_set_input_paramstruct wmid3_gds_get_input_paramstruct wmid3_gds_return_valuestruct hotkey_function_type_aastruct acer_datastruct acer_debugstruct wmi_interfacestruct quirk_entrystruct wmab_argsstruct wmab_retenum acer_wmi_event_idsenum acer_wmi_predator_v4_sys_info_commandenum acer_wmi_predator_v4_sensor_idenum acer_wmi_gaming_fan_idenum acer_wmi_gaming_fan_modeenum acer_wmi_predator_v4_ocenum acer_wmi_gaming_misc_settingenum interface_flagsenum acer_predator_v4_thermal_profilefunction set_quirksfunction dmi_matchedfunction set_force_capsfunction find_quirksfunction has_capfunction wmab_executefunction AMW0_get_u32function AMW0_set_u32function AMW0_find_mailledfunction AMW0_set_cap_acpi_check_devicefunction AMW0_set_capabilitiesfunction GUIDfunction interfacefunction WMID_get_u32function WMID_set_u32function wmid3_get_device_statusfunction wmid_v2_get_u32function wmid3_set_device_statusfunction wmid_v2_set_u32function type_aa_dmi_decodefunction WMID_set_capabilitiesfunction WMI_gaming_execute_u64function WMI_gaming_execute_u32_u64function WMID_gaming_set_u64function WMID_gaming_get_u64function WMID_gaming_get_sys_info
Annotated Snippet
module_init(acer_wmi_init);
module_exit(acer_wmi_exit);
Annotation
- Immediate include surface: `linux/kernel.h`, `linux/minmax.h`, `linux/module.h`, `linux/init.h`, `linux/types.h`, `linux/dmi.h`, `linux/fixp-arith.h`, `linux/backlight.h`.
- Detected declarations: `struct event_return_value`, `struct func_input_params`, `struct func_return_value`, `struct wmid3_gds_set_input_param`, `struct wmid3_gds_get_input_param`, `struct wmid3_gds_return_value`, `struct hotkey_function_type_aa`, `struct acer_data`, `struct acer_debug`, `struct wmi_interface`.
- Atlas domain: Driver Families / drivers/platform.
- 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.