drivers/cpuidle/cpuidle-powernv.c
Source file repositories/reference/linux-study-clean/drivers/cpuidle/cpuidle-powernv.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/cpuidle/cpuidle-powernv.c- Extension
.c- Size
- 10590 bytes
- Lines
- 410
- Domain
- Driver Families
- Bucket
- drivers/cpuidle
- 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/module.hlinux/init.hlinux/moduleparam.hlinux/cpuidle.hlinux/cpu.hlinux/notifier.hlinux/clockchips.hlinux/of.hlinux/slab.hasm/machdep.hasm/firmware.hasm/opal.hasm/runlatch.hasm/cpuidle.h
Detected Declarations
struct stop_psscr_tablefunction get_snooze_timeoutfunction snooze_loopfunction nap_loopfunction fastsleep_loopfunction stop_loopfunction powernv_cpuidle_cpu_onlinefunction powernv_cpuidle_cpu_deadfunction powernv_cpuidle_driver_initfunction add_powernv_statefunction powernv_add_idle_statesfunction powernv_idle_probefunction powernv_processor_idle_initmodule init powernv_processor_idle_init
Annotated Snippet
device_initcall(powernv_processor_idle_init);
Annotation
- Immediate include surface: `linux/kernel.h`, `linux/module.h`, `linux/init.h`, `linux/moduleparam.h`, `linux/cpuidle.h`, `linux/cpu.h`, `linux/notifier.h`, `linux/clockchips.h`.
- Detected declarations: `struct stop_psscr_table`, `function get_snooze_timeout`, `function snooze_loop`, `function nap_loop`, `function fastsleep_loop`, `function stop_loop`, `function powernv_cpuidle_cpu_online`, `function powernv_cpuidle_cpu_dead`, `function powernv_cpuidle_driver_init`, `function add_powernv_state`.
- Atlas domain: Driver Families / drivers/cpuidle.
- 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.