drivers/edac/armada_xp_edac.c
Source file repositories/reference/linux-study-clean/drivers/edac/armada_xp_edac.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/edac/armada_xp_edac.c- Extension
.c- Size
- 18467 bytes
- Lines
- 623
- Domain
- Driver Families
- Bucket
- drivers/edac
- 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/edac.hlinux/of.hlinux/of_device.hlinux/platform_device.hasm/hardware/cache-l2x0.hasm/hardware/cache-aurora-l2.hedac_mc.hedac_device.hedac_module.h
Detected Declarations
struct axp_mc_drvdatastruct aurora_l2_drvdatafunction axp_mc_calc_addressfunction axp_mc_checkfunction axp_mc_read_configfunction axp_mc_probefunction axp_mc_removefunction aurora_l2_injectfunction aurora_l2_checkfunction aurora_l2_pollfunction aurora_l2_probefunction aurora_l2_removefunction armada_xp_edac_initfunction armada_xp_edac_exitmodule init armada_xp_edac_init
Annotated Snippet
module_init(armada_xp_edac_init);
static void __exit armada_xp_edac_exit(void)
{
platform_unregister_drivers(drivers, ARRAY_SIZE(drivers));
}
module_exit(armada_xp_edac_exit);
MODULE_LICENSE("GPL v2");
MODULE_AUTHOR("Pengutronix");
MODULE_DESCRIPTION("EDAC Drivers for Marvell Armada XP SDRAM and L2 Cache Controller");
Annotation
- Immediate include surface: `linux/kernel.h`, `linux/edac.h`, `linux/of.h`, `linux/of_device.h`, `linux/platform_device.h`, `asm/hardware/cache-l2x0.h`, `asm/hardware/cache-aurora-l2.h`, `edac_mc.h`.
- Detected declarations: `struct axp_mc_drvdata`, `struct aurora_l2_drvdata`, `function axp_mc_calc_address`, `function axp_mc_check`, `function axp_mc_read_config`, `function axp_mc_probe`, `function axp_mc_remove`, `function aurora_l2_inject`, `function aurora_l2_check`, `function aurora_l2_poll`.
- Atlas domain: Driver Families / drivers/edac.
- 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.