arch/powerpc/sysdev/fsl_lbc.c
Source file repositories/reference/linux-study-clean/arch/powerpc/sysdev/fsl_lbc.c
File Facts
- System
- Linux kernel
- Corpus path
arch/powerpc/sysdev/fsl_lbc.c- Extension
.c- Size
- 10462 bytes
- Lines
- 437
- 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/init.hlinux/export.hlinux/kernel.hlinux/compiler.hlinux/spinlock.hlinux/types.hlinux/io.hlinux/of.hlinux/of_address.hlinux/of_irq.hlinux/slab.hlinux/sched.hlinux/platform_device.hlinux/interrupt.hlinux/mod_devicetable.hlinux/syscore_ops.hasm/fsl_lbc.h
Detected Declarations
function registerfunction numberfunction fsl_upm_findfunction fsl_upm_run_patternfunction fsl_lbc_ctrl_initfunction fsl_lbc_ctrl_irqfunction fsl_lbc_ctrl_probefunction fsl_lbc_syscore_suspendfunction fsl_lbc_syscore_resumefunction fsl_lbc_initmodule init fsl_lbc_initexport fsl_lbc_ctrl_devexport fsl_lbc_addrexport fsl_lbc_findexport fsl_upm_findexport fsl_upm_run_pattern
Annotated Snippet
subsys_initcall(fsl_lbc_init);
Annotation
- Immediate include surface: `linux/init.h`, `linux/export.h`, `linux/kernel.h`, `linux/compiler.h`, `linux/spinlock.h`, `linux/types.h`, `linux/io.h`, `linux/of.h`.
- Detected declarations: `function register`, `function number`, `function fsl_upm_find`, `function fsl_upm_run_pattern`, `function fsl_lbc_ctrl_init`, `function fsl_lbc_ctrl_irq`, `function fsl_lbc_ctrl_probe`, `function fsl_lbc_syscore_suspend`, `function fsl_lbc_syscore_resume`, `function fsl_lbc_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.