drivers/net/ethernet/apm/xgene-v2/ethtool.h
Source file repositories/reference/linux-study-clean/drivers/net/ethernet/apm/xgene-v2/ethtool.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/net/ethernet/apm/xgene-v2/ethtool.h- Extension
.h- Size
- 1437 bytes
- Lines
- 67
- 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.
- 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
- No C-style include directives detected by the generator.
Detected Declarations
struct xge_gstrings_statsstruct xge_gstrings_extd_stats
Annotated Snippet
struct xge_gstrings_stats {
char name[ETH_GSTRING_LEN];
int offset;
};
struct xge_gstrings_extd_stats {
char name[ETH_GSTRING_LEN];
u32 addr;
u32 value;
};
#define TR64 0xa080
#define TR127 0xa084
#define TR255 0xa088
#define TR511 0xa08c
#define TR1K 0xa090
#define TRMAX 0xa094
#define TRMGV 0xa098
#define RFCS 0xa0a4
#define RMCA 0xa0a8
#define RBCA 0xa0ac
#define RXCF 0xa0b0
#define RXPF 0xa0b4
#define RXUO 0xa0b8
#define RALN 0xa0bc
#define RFLR 0xa0c0
#define RCDE 0xa0c4
#define RCSE 0xa0c8
#define RUND 0xa0cc
#define ROVR 0xa0d0
#define RFRG 0xa0d4
#define RJBR 0xa0d8
#define RDRP 0xa0dc
#define TMCA 0xa0e8
#define TBCA 0xa0ec
#define TXPF 0xa0f0
#define TDFR 0xa0f4
#define TEDF 0xa0f8
#define TSCL 0xa0fc
#define TMCL 0xa100
#define TLCL 0xa104
#define TXCL 0xa108
#define TNCL 0xa10c
#define TPFH 0xa110
#define TDRP 0xa114
#define TJBR 0xa118
#define TFCS 0xa11c
#define TXCF 0xa120
#define TOVR 0xa124
#define TUND 0xa128
#define TFRG 0xa12c
void xge_set_ethtool_ops(struct net_device *ndev);
#endif /* __XGENE_ENET_V2_ETHTOOL_H__ */
Annotation
- Detected declarations: `struct xge_gstrings_stats`, `struct xge_gstrings_extd_stats`.
- Atlas domain: Driver Families / drivers/net.
- 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.