drivers/hwtracing/coresight/coresight-self-hosted-trace.h
Source file repositories/reference/linux-study-clean/drivers/hwtracing/coresight/coresight-self-hosted-trace.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/hwtracing/coresight/coresight-self-hosted-trace.h- Extension
.h- Size
- 443 bytes
- Lines
- 25
- Domain
- Driver Families
- Bucket
- drivers/hwtracing
- Inferred role
- Driver Families: implementation source
- Status
- source 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.
Dependency Surface
asm/sysreg.h
Detected Declarations
function Copyrightfunction write_trfcr
Annotated Snippet
#ifndef __CORESIGHT_SELF_HOSTED_TRACE_H
#define __CORESIGHT_SELF_HOSTED_TRACE_H
#include <asm/sysreg.h>
static inline u64 read_trfcr(void)
{
return read_sysreg_s(SYS_TRFCR_EL1);
}
static inline void write_trfcr(u64 val)
{
write_sysreg_s(val, SYS_TRFCR_EL1);
isb();
}
#endif /* __CORESIGHT_SELF_HOSTED_TRACE_H */
Annotation
- Immediate include surface: `asm/sysreg.h`.
- Detected declarations: `function Copyright`, `function write_trfcr`.
- Atlas domain: Driver Families / drivers/hwtracing.
- Implementation status: source 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.