drivers/platform/x86/intel/pmt/class.c
Source file repositories/reference/linux-study-clean/drivers/platform/x86/intel/pmt/class.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/platform/x86/intel/pmt/class.c- Extension
.c- Size
- 10860 bytes
- Lines
- 428
- Domain
- Driver Families
- Bucket
- drivers/platform
- Inferred role
- Driver Families: exported/initcall integration point
- Status
- integration 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.
- Exports symbols or registers init work; inspect boot/module ordering and who consumes the exported contract.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/kernel.hlinux/log2.hlinux/intel_vsec.hlinux/io-64-nonatomic-lo-hi.hlinux/module.hlinux/mm.hlinux/pci.hlinux/sysfs.hclass.h
Detected Declarations
function Copyrightfunction pmt_memcpy64_fromiofunction pmt_telem_read_mmiofunction intel_pmt_readfunction intel_pmt_mmapfunction guid_showfunction size_showfunction offset_showfunction intel_pmt_attr_visiblefunction intel_pmt_group_visiblefunction intel_pmt_populate_entryfunction intel_pmt_dev_registerfunction intel_pmt_dev_createfunction intel_pmt_dev_destroyfunction pmt_class_initfunction pmt_class_exitmodule init pmt_class_initexport intel_pmt_class
Annotated Snippet
module_init(pmt_class_init);
module_exit(pmt_class_exit);
MODULE_AUTHOR("Alexander Duyck <alexander.h.duyck@linux.intel.com>");
MODULE_DESCRIPTION("Intel PMT Class driver");
MODULE_LICENSE("GPL v2");
Annotation
- Immediate include surface: `linux/kernel.h`, `linux/log2.h`, `linux/intel_vsec.h`, `linux/io-64-nonatomic-lo-hi.h`, `linux/module.h`, `linux/mm.h`, `linux/pci.h`, `linux/sysfs.h`.
- Detected declarations: `function Copyright`, `function pmt_memcpy64_fromio`, `function pmt_telem_read_mmio`, `function intel_pmt_read`, `function intel_pmt_mmap`, `function guid_show`, `function size_show`, `function offset_show`, `function intel_pmt_attr_visible`, `function intel_pmt_group_visible`.
- Atlas domain: Driver Families / drivers/platform.
- Implementation status: integration 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.