drivers/mfd/ioc3.c
Source file repositories/reference/linux-study-clean/drivers/mfd/ioc3.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/mfd/ioc3.c- Extension
.c- Size
- 16205 bytes
- Lines
- 674
- 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.
- 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/delay.hlinux/errno.hlinux/interrupt.hlinux/irqdomain.hlinux/mfd/core.hlinux/module.hlinux/pci.hlinux/platform_device.hlinux/platform_data/sgi-w1.hlinux/rtc/ds1685.hasm/pci/bridge.hasm/sn/ioc3.h
Detected Declarations
struct ioc3_priv_datafunction ioc3_irq_ackfunction ioc3_irq_maskfunction ioc3_irq_unmaskfunction ioc3_irq_domain_mapfunction ioc3_irq_domain_unmapfunction ioc3_irq_handlerfunction ioc3_map_irqfunction ioc3_irq_domain_setupfunction ioc3_serial_setupfunction ioc3_kbd_setupfunction ioc3_eth_setupfunction ioc3_m48t35_setupfunction ioc3_ds1685_setupfunction ioc3_led_setupfunction ip27_baseio_setupfunction ip27_baseio6g_setupfunction ip27_mio_setupfunction ip30_sysboard_setupfunction ioc3_menet_setupfunction ioc3_menet4_setupfunction ioc3_cad_duo_setupfunction ioc3_setupfunction ioc3_mfd_probefunction ioc3_mfd_remove
Annotated Snippet
static struct pci_driver ioc3_mfd_driver = {
.name = "IOC3",
.id_table = ioc3_mfd_id_table,
.probe = ioc3_mfd_probe,
.remove = ioc3_mfd_remove,
};
module_pci_driver(ioc3_mfd_driver);
MODULE_AUTHOR("Thomas Bogendoerfer <tbogendoerfer@suse.de>");
MODULE_DESCRIPTION("SGI IOC3 MFD driver");
MODULE_LICENSE("GPL v2");
Annotation
- Immediate include surface: `linux/delay.h`, `linux/errno.h`, `linux/interrupt.h`, `linux/irqdomain.h`, `linux/mfd/core.h`, `linux/module.h`, `linux/pci.h`, `linux/platform_device.h`.
- Detected declarations: `struct ioc3_priv_data`, `function ioc3_irq_ack`, `function ioc3_irq_mask`, `function ioc3_irq_unmask`, `function ioc3_irq_domain_map`, `function ioc3_irq_domain_unmap`, `function ioc3_irq_handler`, `function ioc3_map_irq`, `function ioc3_irq_domain_setup`, `function ioc3_serial_setup`.
- 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.