drivers/hwtracing/coresight/coresight-tpdm.c
Source file repositories/reference/linux-study-clean/drivers/hwtracing/coresight/coresight-tpdm.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/hwtracing/coresight/coresight-tpdm.c- Extension
.c- Size
- 38437 bytes
- Lines
- 1579
- Domain
- Driver Families
- Bucket
- drivers/hwtracing
- 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.
- 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/amba/bus.hlinux/bitfield.hlinux/bitmap.hlinux/coresight.hlinux/coresight-pmu.hlinux/device.hlinux/err.hlinux/fs.hlinux/io.hlinux/kernel.hlinux/module.hlinux/of.hcoresight-priv.hcoresight-tpdm.h
Detected Declarations
function Copyrightfunction tpdm_has_cmb_datasetfunction tpdm_has_mcmb_datasetfunction tpdm_simple_dataset_showfunction tpdm_simple_dataset_storefunction tpdm_dsb_is_visiblefunction tpdm_cmb_is_visiblefunction tpdm_dsb_msr_is_visiblefunction tpdm_cmb_msr_is_visiblefunction tpdm_mcmb_is_visiblefunction tpdm_reset_datasetsfunction set_dsb_modefunction set_dsb_tierfunction set_dsb_msrfunction tpdm_enable_dsbfunction set_cmb_tierfunction set_cmb_msrfunction tpdm_enable_cmbfunction Bitfunction tpdm_enablefunction tpdm_disable_dsbfunction tpdm_disable_cmbfunction __tpdm_disablefunction tpdm_disablefunction tpdm_datasets_setupfunction static_tpdm_datasets_setupfunction reset_dataset_storefunction integration_test_storefunction traceid_showfunction dsb_mode_showfunction dsb_mode_storefunction ctrl_idx_showfunction detectionsfunction ctrl_val_storefunction ctrl_mask_storefunction enable_ts_showfunction enable_ts_storefunction set_type_showfunction set_type_storefunction dsb_trig_type_showfunction typefunction dsb_trig_ts_showfunction timestampfunction cmb_mode_showfunction cmb_mode_storefunction cmb_ts_all_showfunction cmb_ts_all_storefunction cmb_trig_ts_show
Annotated Snippet
module_init(tpdm_init);
module_exit(tpdm_exit);
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("Trace, Profiling & Diagnostic Monitor driver");
Annotation
- Immediate include surface: `linux/amba/bus.h`, `linux/bitfield.h`, `linux/bitmap.h`, `linux/coresight.h`, `linux/coresight-pmu.h`, `linux/device.h`, `linux/err.h`, `linux/fs.h`.
- Detected declarations: `function Copyright`, `function tpdm_has_cmb_dataset`, `function tpdm_has_mcmb_dataset`, `function tpdm_simple_dataset_show`, `function tpdm_simple_dataset_store`, `function tpdm_dsb_is_visible`, `function tpdm_cmb_is_visible`, `function tpdm_dsb_msr_is_visible`, `function tpdm_cmb_msr_is_visible`, `function tpdm_mcmb_is_visible`.
- Atlas domain: Driver Families / drivers/hwtracing.
- 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.