drivers/mfd/cs5535-mfd.c
Source file repositories/reference/linux-study-clean/drivers/mfd/cs5535-mfd.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/mfd/cs5535-mfd.c- Extension
.c- Size
- 4081 bytes
- Lines
- 174
- Domain
- Driver Families
- Bucket
- drivers/mfd
- 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/kernel.hlinux/mfd/core.hlinux/mfd/cs5535.hlinux/module.hlinux/pci.hlinux/property.hasm/olpc.h
Detected Declarations
enum cs5535_mfd_barsfunction cs5535_mfd_probefunction cs5535_mfd_remove
Annotated Snippet
static struct pci_driver cs5535_mfd_driver = {
.name = DRV_NAME,
.id_table = cs5535_mfd_pci_tbl,
.probe = cs5535_mfd_probe,
.remove = cs5535_mfd_remove,
};
module_pci_driver(cs5535_mfd_driver);
MODULE_AUTHOR("Andres Salomon <dilinger@queued.net>");
MODULE_DESCRIPTION("MFD driver for CS5535/CS5536 southbridge's ISA PCI device");
MODULE_LICENSE("GPL");
Annotation
- Immediate include surface: `linux/kernel.h`, `linux/mfd/core.h`, `linux/mfd/cs5535.h`, `linux/module.h`, `linux/pci.h`, `linux/property.h`, `asm/olpc.h`.
- Detected declarations: `enum cs5535_mfd_bars`, `function cs5535_mfd_probe`, `function cs5535_mfd_remove`.
- Atlas domain: Driver Families / drivers/mfd.
- Implementation status: pattern 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.