drivers/crypto/intel/qat/qat_common/adf_dbgfs.h

Source file repositories/reference/linux-study-clean/drivers/crypto/intel/qat/qat_common/adf_dbgfs.h

File Facts

System
Linux kernel
Corpus path
drivers/crypto/intel/qat/qat_common/adf_dbgfs.h
Extension
.h
Size
668 bytes
Lines
30
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.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef ADF_DBGFS_H
#define ADF_DBGFS_H

#ifdef CONFIG_DEBUG_FS
void adf_dbgfs_init(struct adf_accel_dev *accel_dev);
void adf_dbgfs_add(struct adf_accel_dev *accel_dev);
void adf_dbgfs_rm(struct adf_accel_dev *accel_dev);
void adf_dbgfs_exit(struct adf_accel_dev *accel_dev);
#else
static inline void adf_dbgfs_init(struct adf_accel_dev *accel_dev)
{
}

static inline void adf_dbgfs_add(struct adf_accel_dev *accel_dev)
{
}

static inline void adf_dbgfs_rm(struct adf_accel_dev *accel_dev)
{
}

static inline void adf_dbgfs_exit(struct adf_accel_dev *accel_dev)
{
}
#endif
#endif

Annotation

Implementation Notes