drivers/acpi/acpi_pad.c
Source file repositories/reference/linux-study-clean/drivers/acpi/acpi_pad.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/acpi/acpi_pad.c- Extension
.c- Size
- 11451 bytes
- Lines
- 479
- Domain
- Driver Families
- Bucket
- drivers/acpi
- 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/kernel.hlinux/cpumask.hlinux/module.hlinux/init.hlinux/types.hlinux/kthread.huapi/linux/sched/types.hlinux/freezer.hlinux/cpu.hlinux/tick.hlinux/slab.hlinux/acpi.hlinux/perf_event.hlinux/platform_device.hasm/cpuid/api.hasm/mwait.hxen/xen.h
Detected Declarations
function power_saving_mwait_initfunction round_robin_cpufunction exit_round_robinfunction power_saving_threadfunction create_power_saving_taskfunction destroy_power_saving_taskfunction set_power_saving_task_numfunction acpi_pad_idle_cpusfunction acpi_pad_idle_cpus_numfunction rrtime_storefunction rrtime_showfunction idlepct_storefunction idlepct_showfunction idlecpus_storefunction idlecpus_showfunction acpi_pad_purfunction acpi_pad_handle_notifyfunction acpi_pad_notifyfunction acpi_pad_probefunction acpi_pad_removefunction acpi_pad_initfunction acpi_pad_exitmodule init acpi_pad_init
Annotated Snippet
module_init(acpi_pad_init);
module_exit(acpi_pad_exit);
MODULE_AUTHOR("Shaohua Li<shaohua.li@intel.com>");
MODULE_DESCRIPTION("ACPI Processor Aggregator Driver");
MODULE_LICENSE("GPL");
Annotation
- Immediate include surface: `linux/kernel.h`, `linux/cpumask.h`, `linux/module.h`, `linux/init.h`, `linux/types.h`, `linux/kthread.h`, `uapi/linux/sched/types.h`, `linux/freezer.h`.
- Detected declarations: `function power_saving_mwait_init`, `function round_robin_cpu`, `function exit_round_robin`, `function power_saving_thread`, `function create_power_saving_task`, `function destroy_power_saving_task`, `function set_power_saving_task_num`, `function acpi_pad_idle_cpus`, `function acpi_pad_idle_cpus_num`, `function rrtime_store`.
- Atlas domain: Driver Families / drivers/acpi.
- 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.