drivers/crypto/intel/qat/qat_common/adf_tl_debugfs.h
Source file repositories/reference/linux-study-clean/drivers/crypto/intel/qat/qat_common/adf_tl_debugfs.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/crypto/intel/qat/qat_common/adf_tl_debugfs.h- Extension
.h- Size
- 3727 bytes
- Lines
- 123
- Domain
- Driver Families
- Bucket
- drivers/crypto
- 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/types.h
Detected Declarations
struct adf_accel_devstruct adf_tl_dbg_counterstruct adf_tl_dbg_aggr_valuesenum adf_tl_counter_type
Annotated Snippet
struct adf_tl_dbg_counter {
const char *name;
enum adf_tl_counter_type type;
size_t offset1;
size_t offset2;
};
#define ADF_TL_COUNTER(_name, _type, _offset) \
{ .name = _name, \
.type = _type, \
.offset1 = _offset \
}
#define ADF_TL_COUNTER_LATENCY(_name, _type, _offset1, _offset2) \
{ .name = _name, \
.type = _type, \
.offset1 = _offset1, \
.offset2 = _offset2 \
}
/* Telemetry counter aggregated values. */
struct adf_tl_dbg_aggr_values {
u64 curr;
u64 min;
u64 max;
u64 avg;
};
/**
* adf_tl_dbgfs_add() - Add telemetry's debug fs entries.
* @accel_dev: Pointer to acceleration device.
*
* Creates telemetry's debug fs folder and attributes in QAT debug fs root.
*/
void adf_tl_dbgfs_add(struct adf_accel_dev *accel_dev);
/**
* adf_tl_dbgfs_rm() - Remove telemetry's debug fs entries.
* @accel_dev: Pointer to acceleration device.
*
* Removes telemetry's debug fs folder and attributes from QAT debug fs root.
*/
void adf_tl_dbgfs_rm(struct adf_accel_dev *accel_dev);
#endif /* ADF_TL_DEBUGFS_H */
Annotation
- Immediate include surface: `linux/types.h`.
- Detected declarations: `struct adf_accel_dev`, `struct adf_tl_dbg_counter`, `struct adf_tl_dbg_aggr_values`, `enum adf_tl_counter_type`.
- Atlas domain: Driver Families / drivers/crypto.
- 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.