drivers/platform/x86/intel/telemetry/pltdrv.c
Source file repositories/reference/linux-study-clean/drivers/platform/x86/intel/telemetry/pltdrv.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/platform/x86/intel/telemetry/pltdrv.c- Extension
.c- Size
- 24359 bytes
- Lines
- 958
- 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.
- 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/io.hlinux/module.hlinux/platform_device.hasm/cpu_device_id.hasm/intel-family.hasm/intel_punit_ipc.hasm/intel_telemetry.h
Detected Declarations
struct telem_ssram_regionenum telemetry_actionfunction telem_get_unitconfigfunction telemetry_check_evtidfunction telemetry_plt_config_ioss_eventfunction telemetry_plt_config_pss_eventfunction telemetry_setup_iossevtconfigfunction telemetry_setup_pssevtconfigfunction telemetry_setup_evtconfigfunction telemetry_setupfunction telem_evtlog_readfunction telemetry_plt_raw_read_eventlogfunction telemetry_plt_read_eventlogfunction telemetry_plt_get_trace_verbosityfunction telemetry_plt_set_trace_verbosityfunction telemetry_pltdrv_probefunction telemetry_pltdrv_removefunction telemetry_module_initfunction telemetry_module_exitmodule init telemetry_module_init
Annotated Snippet
device_initcall(telemetry_module_init);
module_exit(telemetry_module_exit);
MODULE_AUTHOR("Souvik Kumar Chakravarty <souvik.k.chakravarty@intel.com>");
MODULE_DESCRIPTION("Intel SoC Telemetry Platform Driver");
MODULE_VERSION(DRIVER_VERSION);
MODULE_LICENSE("GPL v2");
Annotation
- Immediate include surface: `linux/io.h`, `linux/module.h`, `linux/platform_device.h`, `asm/cpu_device_id.h`, `asm/intel-family.h`, `asm/intel_punit_ipc.h`, `asm/intel_telemetry.h`.
- Detected declarations: `struct telem_ssram_region`, `enum telemetry_action`, `function telem_get_unitconfig`, `function telemetry_check_evtid`, `function telemetry_plt_config_ioss_event`, `function telemetry_plt_config_pss_event`, `function telemetry_setup_iossevtconfig`, `function telemetry_setup_pssevtconfig`, `function telemetry_setup_evtconfig`, `function telemetry_setup`.
- Atlas domain: Driver Families / drivers/platform.
- Implementation status: integration 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.