arch/arm/mach-pxa/spitz_pm.c
Source file repositories/reference/linux-study-clean/arch/arm/mach-pxa/spitz_pm.c
File Facts
- System
- Linux kernel
- Corpus path
arch/arm/mach-pxa/spitz_pm.c- Extension
.c- Size
- 7070 bytes
- Lines
- 258
- Domain
- Architecture Layer
- Bucket
- arch/arm
- Inferred role
- Architecture Layer: exported/initcall integration point
- Status
- integration implementation candidate
Why This File Exists
CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
- CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
- 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/module.hlinux/stat.hlinux/init.hlinux/kernel.hlinux/delay.hlinux/gpio.hlinux/gpio-pxa.hlinux/interrupt.hlinux/platform_device.hlinux/apm-emulation.hlinux/spi/corgi_lcd.hasm/irq.hasm/mach-types.hspitz.hpxa27x.hsharpsl_pm.hgeneric.h
Detected Declarations
function spitz_charger_initfunction spitz_measure_tempfunction spitz_chargefunction spitz_dischargefunction spitz_discharge1function spitz_presuspendfunction spitz_postsuspendfunction spitz_charger_wakeupfunction spitzpm_read_devdatafunction spitzpm_initfunction spitzpm_exitmodule init spitzpm_init
Annotated Snippet
module_init(spitzpm_init);
module_exit(spitzpm_exit);
Annotation
- Immediate include surface: `linux/module.h`, `linux/stat.h`, `linux/init.h`, `linux/kernel.h`, `linux/delay.h`, `linux/gpio.h`, `linux/gpio-pxa.h`, `linux/interrupt.h`.
- Detected declarations: `function spitz_charger_init`, `function spitz_measure_temp`, `function spitz_charge`, `function spitz_discharge`, `function spitz_discharge1`, `function spitz_presuspend`, `function spitz_postsuspend`, `function spitz_charger_wakeup`, `function spitzpm_read_devdata`, `function spitzpm_init`.
- Atlas domain: Architecture Layer / arch/arm.
- 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.