drivers/mfd/lpc_ich.c
Source file repositories/reference/linux-study-clean/drivers/mfd/lpc_ich.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/mfd/lpc_ich.c- Extension
.c- Size
- 43732 bytes
- Lines
- 1466
- 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/align.hlinux/kernel.hlinux/module.hlinux/errno.hlinux/acpi.hlinux/pci.hlinux/pinctrl/pinctrl.hlinux/property.hlinux/mfd/core.hlinux/mfd/lpc_ich.hlinux/platform_data/itco_wdt.hlinux/platform_data/x86/p2sb.h
Detected Declarations
struct lpc_ich_gpio_infostruct lpc_ich_privenum lpc_chipsetsfunction lpc_ich_restore_config_spacefunction lpc_ich_enable_acpi_spacefunction lpc_ich_enable_gpio_spacefunction lpc_ich_enable_pmc_spacefunction lpc_ich_finalize_wdt_cellfunction lpc_ich_finalize_gpio_cellfunction lpc_ich_check_conflict_gpiofunction lpc_ich_init_gpiofunction lpc_ich_init_wdtfunction lpc_ich_init_pinctrlfunction lpc_ich_byt_set_writeablefunction lpc_ich_set_writeablefunction lpc_ich_lpt_set_writeablefunction lpc_ich_bxt_set_writeablefunction lpc_ich_init_spifunction lpc_ich_probefunction lpc_ich_remove
Annotated Snippet
static struct pci_driver lpc_ich_driver = {
.name = "lpc_ich",
.id_table = lpc_ich_ids,
.probe = lpc_ich_probe,
.remove = lpc_ich_remove,
};
module_pci_driver(lpc_ich_driver);
MODULE_AUTHOR("Aaron Sierra <asierra@xes-inc.com>");
MODULE_DESCRIPTION("LPC interface for Intel ICH");
MODULE_LICENSE("GPL");
Annotation
- Immediate include surface: `linux/align.h`, `linux/kernel.h`, `linux/module.h`, `linux/errno.h`, `linux/acpi.h`, `linux/pci.h`, `linux/pinctrl/pinctrl.h`, `linux/property.h`.
- Detected declarations: `struct lpc_ich_gpio_info`, `struct lpc_ich_priv`, `enum lpc_chipsets`, `function lpc_ich_restore_config_space`, `function lpc_ich_enable_acpi_space`, `function lpc_ich_enable_gpio_space`, `function lpc_ich_enable_pmc_space`, `function lpc_ich_finalize_wdt_cell`, `function lpc_ich_finalize_gpio_cell`, `function lpc_ich_check_conflict_gpio`.
- 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.