arch/powerpc/sysdev/fsl_mpic_timer_wakeup.c
Source file repositories/reference/linux-study-clean/arch/powerpc/sysdev/fsl_mpic_timer_wakeup.c
File Facts
- System
- Linux kernel
- Corpus path
arch/powerpc/sysdev/fsl_mpic_timer_wakeup.c- Extension
.c- Size
- 3361 bytes
- Lines
- 160
- Domain
- Architecture Layer
- Bucket
- arch/powerpc
- 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.
- Uses kernel synchronization; read lock ordering, sleepability, and interrupt context assumptions before translating.
- Touches IRQ or DMA behavior; this matters for the representative real-device path.
- 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/kernel.hlinux/slab.hlinux/sysfs.hlinux/errno.hlinux/module.hlinux/interrupt.hlinux/device.hasm/mpic_timer.hasm/mpic.h
Detected Declarations
struct fsl_mpic_timer_wakeupfunction fsl_free_resourcefunction fsl_mpic_timer_irqfunction fsl_timer_wakeup_showfunction fsl_timer_wakeup_storefunction fsl_wakeup_sys_initfunction fsl_wakeup_sys_exitmodule init fsl_wakeup_sys_init
Annotated Snippet
module_init(fsl_wakeup_sys_init);
module_exit(fsl_wakeup_sys_exit);
MODULE_DESCRIPTION("Freescale MPIC global timer wakeup driver");
MODULE_LICENSE("GPL v2");
MODULE_AUTHOR("Wang Dongsheng <dongsheng.wang@freescale.com>");
Annotation
- Immediate include surface: `linux/kernel.h`, `linux/slab.h`, `linux/sysfs.h`, `linux/errno.h`, `linux/module.h`, `linux/interrupt.h`, `linux/device.h`, `asm/mpic_timer.h`.
- Detected declarations: `struct fsl_mpic_timer_wakeup`, `function fsl_free_resource`, `function fsl_mpic_timer_irq`, `function fsl_timer_wakeup_show`, `function fsl_timer_wakeup_store`, `function fsl_wakeup_sys_init`, `function fsl_wakeup_sys_exit`, `module init fsl_wakeup_sys_init`.
- Atlas domain: Architecture Layer / arch/powerpc.
- Implementation status: integration implementation candidate.
- Synchronization appears in or near this file; preserve lock ordering, sleepability, and interrupt-context constraints.
- IRQ or DMA behavior appears here, which is relevant to the selected PCIe/NVMe device path.
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.