drivers/edac/altera_edac.h
Source file repositories/reference/linux-study-clean/drivers/edac/altera_edac.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/edac/altera_edac.h- Extension
.h- Size
- 13279 bytes
- Lines
- 400
- Domain
- Driver Families
- Bucket
- drivers/edac
- Inferred role
- Driver Families: operation-table or driver-model contract
- Status
- pattern 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.
- Defines an operation table; this is where Linux turns generic core objects into subsystem-specific behavior.
- Touches IRQ or DMA behavior; this matters for the representative real-device path.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/arm-smccc.hlinux/edac.hlinux/types.h
Detected Declarations
struct altr_sdram_prv_datastruct altr_sdram_mc_datastruct altr_edac_device_devstruct edac_device_prv_datastruct altr_edac_device_devstruct altr_arria10_edac
Annotated Snippet
const struct file_operations *inject_fops;
bool panic;
};
struct altr_edac_device_dev {
struct list_head next;
void __iomem *base;
int sb_irq;
int db_irq;
const struct edac_device_prv_data *data;
struct dentry *debugfs_dir;
char *edac_dev_name;
struct altr_arria10_edac *edac;
struct edac_device_ctl_info *edac_dev;
struct device ddev;
int edac_idx;
};
struct altr_arria10_edac {
struct device *dev;
struct regmap *ecc_mgr_map;
int sb_irq;
int db_irq;
struct irq_domain *domain;
struct irq_chip irq_chip;
struct list_head a10_ecc_devices;
struct notifier_block panic_notifier;
};
#endif /* #ifndef _ALTERA_EDAC_H */
Annotation
- Immediate include surface: `linux/arm-smccc.h`, `linux/edac.h`, `linux/types.h`.
- Detected declarations: `struct altr_sdram_prv_data`, `struct altr_sdram_mc_data`, `struct altr_edac_device_dev`, `struct edac_device_prv_data`, `struct altr_edac_device_dev`, `struct altr_arria10_edac`.
- Atlas domain: Driver Families / drivers/edac.
- Implementation status: pattern implementation candidate.
- 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.