drivers/net/ethernet/freescale/enetc/enetc4_debugfs.h

Source file repositories/reference/linux-study-clean/drivers/net/ethernet/freescale/enetc/enetc4_debugfs.h

File Facts

System
Linux kernel
Corpus path
drivers/net/ethernet/freescale/enetc/enetc4_debugfs.h
Extension
.h
Size
419 bytes
Lines
21
Domain
Driver Families
Bucket
drivers/net
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 __ENETC4_DEBUGFS_H
#define __ENETC4_DEBUGFS_H

#if IS_ENABLED(CONFIG_DEBUG_FS)
void enetc_create_debugfs(struct enetc_si *si);
void enetc_remove_debugfs(struct enetc_si *si);
#else
static inline void enetc_create_debugfs(struct enetc_si *si)
{
}

static inline void enetc_remove_debugfs(struct enetc_si *si)
{
}
#endif

#endif

Annotation

Implementation Notes