arch/arm/include/asm/cpuidle.h
Source file repositories/reference/linux-study-clean/arch/arm/include/asm/cpuidle.h
File Facts
- System
- Linux kernel
- Corpus path
arch/arm/include/asm/cpuidle.h- Extension
.h- Size
- 1628 bytes
- Lines
- 59
- Domain
- Architecture Layer
- Bucket
- arch/arm
- Inferred role
- Architecture Layer: implementation source
- Status
- source 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
asm/proc-fns.h
Detected Declarations
struct device_nodestruct cpuidle_opsstruct of_cpuidle_methodstruct arm_cpuidle_irq_contextfunction arm_cpuidle_simple_enter
Annotated Snippet
struct cpuidle_ops {
int (*suspend)(unsigned long arg);
int (*init)(struct device_node *, int cpu);
};
struct of_cpuidle_method {
const char *method;
const struct cpuidle_ops *ops;
};
#define CPUIDLE_METHOD_OF_DECLARE(name, _method, _ops) \
static const struct of_cpuidle_method __cpuidle_method_of_table_##name \
__cpuidle_method_section = { .method = _method, .ops = _ops }
extern int arm_cpuidle_suspend(int index);
extern int arm_cpuidle_init(int cpu);
struct arm_cpuidle_irq_context { };
#define arm_cpuidle_save_irq_context(c) (void)c
#define arm_cpuidle_restore_irq_context(c) (void)c
#endif
Annotation
- Immediate include surface: `asm/proc-fns.h`.
- Detected declarations: `struct device_node`, `struct cpuidle_ops`, `struct of_cpuidle_method`, `struct arm_cpuidle_irq_context`, `function arm_cpuidle_simple_enter`.
- Atlas domain: Architecture Layer / arch/arm.
- Implementation status: source 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.