drivers/platform/x86/pmc_atom.c
Source file repositories/reference/linux-study-clean/drivers/platform/x86/pmc_atom.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/platform/x86/pmc_atom.c- Extension
.c- Size
- 15654 bytes
- Lines
- 608
- 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.
- Allocates kernel memory; connect allocation flags and lifetime to context constraints.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/acpi.hlinux/debugfs.hlinux/device.hlinux/dmi.hlinux/init.hlinux/io.hlinux/platform_data/x86/clk-pmc-atom.hlinux/platform_data/x86/pmc_atom.hlinux/platform_data/x86/simatic-ipc.hlinux/platform_device.hlinux/pci.hlinux/seq_file.hlinux/suspend.h
Detected Declarations
struct pmc_bit_mapstruct pmc_reg_mapstruct pmc_datastruct pmc_devfunction pmc_reg_readfunction pmc_reg_writefunction pmc_atom_readfunction pmc_power_offfunction pmc_hw_reg_setupfunction pmc_dev_state_printfunction pmc_dev_state_showfunction pmc_pss_state_showfunction pmc_sleep_tmr_showfunction pmc_dbgfs_registerfunction pmc_dbgfs_registerfunction dmi_callbackfunction dmi_callback_siemensfunction pmc_setup_clksfunction pmc_dev_state_checkfunction pmc_s2idle_checkfunction pmc_s2idle_check_registerfunction pmc_s2idle_check_registerfunction pmc_atom_initmodule init pmc_atom_init
Annotated Snippet
device_initcall(pmc_atom_init);
/*
MODULE_AUTHOR("Aubrey Li <aubrey.li@linux.intel.com>");
MODULE_DESCRIPTION("Intel Atom SoC Power Management Controller Interface");
MODULE_LICENSE("GPL v2");
*/
Annotation
- Immediate include surface: `linux/acpi.h`, `linux/debugfs.h`, `linux/device.h`, `linux/dmi.h`, `linux/init.h`, `linux/io.h`, `linux/platform_data/x86/clk-pmc-atom.h`, `linux/platform_data/x86/pmc_atom.h`.
- Detected declarations: `struct pmc_bit_map`, `struct pmc_reg_map`, `struct pmc_data`, `struct pmc_dev`, `function pmc_reg_read`, `function pmc_reg_write`, `function pmc_atom_read`, `function pmc_power_off`, `function pmc_hw_reg_setup`, `function pmc_dev_state_print`.
- 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.