drivers/edac/cpc925_edac.c
Source file repositories/reference/linux-study-clean/drivers/edac/cpc925_edac.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/edac/cpc925_edac.c- Extension
.c- Size
- 31345 bytes
- Lines
- 1066
- 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/module.hlinux/init.hlinux/io.hlinux/edac.hlinux/of.hlinux/platform_device.hlinux/gfp.hedac_module.h
Detected Declarations
struct cpc925_mc_pdatastruct cpc925_dev_infoenum apimask_bitsenum apiexcp_bitsenum mccr_bitsenum mmcr_bitsenum errctrl_bitsenum linkctrl_bitsenum linkerr_bitsenum brgctrl_bitsfunction get_total_memfunction cpc925_init_csrowsfunction cpc925_mc_initfunction cpc925_mc_exitfunction addressfunction cpc925_mc_find_channelfunction cpc925_mc_checkfunction cpc925_cpu_mask_disabledfunction for_each_of_cpu_nodefunction cpc925_cpu_initfunction cpc925_cpu_exitfunction cpc925_cpu_checkfunction cpc925_htlink_initfunction cpc925_htlink_exitfunction cpc925_htlink_checkfunction cpc925_add_edac_devicesfunction cpc925_del_edac_devicesfunction cpc925_get_sdram_scrub_ratefunction cpc925_mc_get_channelsfunction cpc925_probefunction cpc925_removefunction cpc925_edac_initfunction cpc925_edac_exitmodule init cpc925_edac_init
Annotated Snippet
module_init(cpc925_edac_init);
module_exit(cpc925_edac_exit);
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Cao Qingtao <qingtao.cao@windriver.com>");
MODULE_DESCRIPTION("IBM CPC925 Bridge and MC EDAC kernel module");
Annotation
- Immediate include surface: `linux/module.h`, `linux/init.h`, `linux/io.h`, `linux/edac.h`, `linux/of.h`, `linux/platform_device.h`, `linux/gfp.h`, `edac_module.h`.
- Detected declarations: `struct cpc925_mc_pdata`, `struct cpc925_dev_info`, `enum apimask_bits`, `enum apiexcp_bits`, `enum mccr_bits`, `enum mmcr_bits`, `enum errctrl_bits`, `enum linkctrl_bits`, `enum linkerr_bits`, `enum brgctrl_bits`.
- 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.