drivers/misc/mei/pci-me.c
Source file repositories/reference/linux-study-clean/drivers/misc/mei/pci-me.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/misc/mei/pci-me.c- Extension
.c- Size
- 14678 bytes
- Lines
- 543
- Domain
- Driver Families
- Bucket
- drivers/misc
- 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.
- Uses kernel synchronization; read lock ordering, sleepability, and interrupt context assumptions before translating.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/module.hlinux/kernel.hlinux/device.hlinux/errno.hlinux/types.hlinux/pci.hlinux/dma-mapping.hlinux/sched.hlinux/interrupt.hlinux/pm_domain.hlinux/pm_runtime.hlinux/mei.hmei_dev.hclient.hhw-me-regs.hhw-me.hmei-trace.h
Detected Declarations
function mei_me_set_pm_domainfunction mei_me_quirk_probefunction mei_me_probefunction mei_me_shutdownfunction mei_me_removefunction mei_me_pci_preparefunction mei_me_pci_suspendfunction mei_me_pci_resumefunction mei_me_pci_completefunction mei_me_pm_runtime_idlefunction mei_me_pm_runtime_suspendfunction mei_me_pm_runtime_resumefunction mei_me_set_pm_domainfunction mei_me_unset_pm_domain
Annotated Snippet
static struct pci_driver mei_me_driver = {
.name = KBUILD_MODNAME,
.id_table = mei_me_pci_tbl,
.probe = mei_me_probe,
.remove = mei_me_remove,
.shutdown = mei_me_shutdown,
.driver.pm = MEI_ME_PM_OPS,
.driver.probe_type = PROBE_PREFER_ASYNCHRONOUS,
};
module_pci_driver(mei_me_driver);
MODULE_AUTHOR("Intel Corporation");
MODULE_DESCRIPTION("Intel(R) Management Engine Interface");
MODULE_LICENSE("GPL v2");
Annotation
- Immediate include surface: `linux/module.h`, `linux/kernel.h`, `linux/device.h`, `linux/errno.h`, `linux/types.h`, `linux/pci.h`, `linux/dma-mapping.h`, `linux/sched.h`.
- Detected declarations: `function mei_me_set_pm_domain`, `function mei_me_quirk_probe`, `function mei_me_probe`, `function mei_me_shutdown`, `function mei_me_remove`, `function mei_me_pci_prepare`, `function mei_me_pci_suspend`, `function mei_me_pci_resume`, `function mei_me_pci_complete`, `function mei_me_pm_runtime_idle`.
- Atlas domain: Driver Families / drivers/misc.
- Implementation status: pattern implementation candidate.
- Synchronization appears in or near this file; preserve lock ordering, sleepability, and interrupt-context constraints.
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.