drivers/net/dsa/sja1105/sja1105_static_config.h
Source file repositories/reference/linux-study-clean/drivers/net/dsa/sja1105/sja1105_static_config.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/net/dsa/sja1105/sja1105_static_config.h- Extension
.h- Size
- 15470 bytes
- Lines
- 549
- 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
linux/packing.hlinux/types.hasm/types.h
Detected Declarations
struct sja1105_schedule_entrystruct sja1105_schedule_params_entrystruct sja1105_general_params_entrystruct sja1105_schedule_entry_points_entrystruct sja1105_schedule_entry_points_params_entrystruct sja1105_vlan_lookup_entrystruct sja1105_l2_lookup_entrystruct sja1105_l2_lookup_params_entrystruct sja1105_l2_forwarding_entrystruct sja1105_l2_forwarding_params_entrystruct sja1105_l2_policing_entrystruct sja1105_avb_params_entrystruct sja1105_mac_config_entrystruct sja1105_retagging_entrystruct sja1105_cbs_entrystruct sja1105_xmii_params_entrystruct sja1110_pcp_remapping_entrystruct sja1105_vl_lookup_entrystruct sja1105_vl_policing_entrystruct sja1105_vl_forwarding_entrystruct sja1105_vl_forwarding_params_entrystruct sja1105_table_headerstruct sja1105_table_opsstruct sja1105_tablestruct sja1105_static_configenum sja1105_blk_idx
Annotated Snippet
struct sja1105_schedule_entry {
u64 winstindex;
u64 winend;
u64 winst;
u64 destports;
u64 setvalid;
u64 txen;
u64 resmedia_en;
u64 resmedia;
u64 vlindex;
u64 delta;
};
struct sja1105_schedule_params_entry {
u64 subscheind[8];
};
struct sja1105_general_params_entry {
u64 vllupformat;
u64 mirr_ptacu;
u64 switchid;
u64 hostprio;
u64 mac_fltres1;
u64 mac_fltres0;
u64 mac_flt1;
u64 mac_flt0;
u64 incl_srcpt1;
u64 incl_srcpt0;
u64 send_meta1;
u64 send_meta0;
u64 casc_port;
u64 host_port;
u64 mirr_port;
u64 vlmarker;
u64 vlmask;
u64 tpid;
u64 ignore2stf;
u64 tpid2;
/* P/Q/R/S only */
u64 queue_ts;
u64 egrmirrvid;
u64 egrmirrpcp;
u64 egrmirrdei;
u64 replay_port;
/* SJA1110 only */
u64 tte_en;
u64 tdmaconfigidx;
u64 header_type;
};
struct sja1105_schedule_entry_points_entry {
u64 subschindx;
u64 delta;
u64 address;
};
struct sja1105_schedule_entry_points_params_entry {
u64 clksrc;
u64 actsubsch;
};
struct sja1105_vlan_lookup_entry {
u64 ving_mirr;
u64 vegr_mirr;
u64 vmemb_port;
u64 vlan_bc;
u64 tag_port;
u64 vlanid;
u64 type_entry; /* SJA1110 only */
};
struct sja1105_l2_lookup_entry {
u64 vlanid;
u64 macaddr;
u64 destports;
u64 enfport;
u64 index;
/* P/Q/R/S only */
u64 mask_iotag;
u64 mask_vlanid;
u64 mask_macaddr;
u64 mask_srcport;
u64 iotag;
u64 srcport;
u64 lockeds;
union {
/* LOCKEDS=1: Static FDB entries */
struct {
/* TSREG is deprecated in SJA1110, TRAP is supported only
* in SJA1110.
Annotation
- Immediate include surface: `linux/packing.h`, `linux/types.h`, `asm/types.h`.
- Detected declarations: `struct sja1105_schedule_entry`, `struct sja1105_schedule_params_entry`, `struct sja1105_general_params_entry`, `struct sja1105_schedule_entry_points_entry`, `struct sja1105_schedule_entry_points_params_entry`, `struct sja1105_vlan_lookup_entry`, `struct sja1105_l2_lookup_entry`, `struct sja1105_l2_lookup_params_entry`, `struct sja1105_l2_forwarding_entry`, `struct sja1105_l2_forwarding_params_entry`.
- 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.