arch/mips/include/asm/octeon/cvmx-gmxx-defs.h
Source file repositories/reference/linux-study-clean/arch/mips/include/asm/octeon/cvmx-gmxx-defs.h
File Facts
- System
- Linux kernel
- Corpus path
arch/mips/include/asm/octeon/cvmx-gmxx-defs.h- Extension
.h- Size
- 56175 bytes
- Lines
- 2260
- Domain
- Architecture Layer
- Bucket
- arch/mips
- Inferred role
- Architecture Layer: implementation source
- Status
- source implementation candidate
Why This File Exists
CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
- CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
- 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 cvmx_gmxx_hg2_control_sstruct cvmx_gmxx_inf_mode_sstruct cvmx_gmxx_inf_mode_cn30xxstruct cvmx_gmxx_inf_mode_cn31xxstruct cvmx_gmxx_inf_mode_cn52xxstruct cvmx_gmxx_inf_mode_cn61xxstruct cvmx_gmxx_inf_mode_cn66xxstruct cvmx_gmxx_inf_mode_cn68xxstruct cvmx_gmxx_prtx_cfg_sstruct cvmx_gmxx_prtx_cfg_cn30xxstruct cvmx_gmxx_prtx_cfg_cn52xxstruct cvmx_gmxx_rxx_adr_ctl_sstruct cvmx_gmxx_rxx_frm_ctl_sstruct cvmx_gmxx_rxx_frm_ctl_cn30xxstruct cvmx_gmxx_rxx_frm_ctl_cn31xxstruct cvmx_gmxx_rxx_frm_ctl_cn50xxstruct cvmx_gmxx_rxx_frm_ctl_cn56xxp1struct cvmx_gmxx_rxx_frm_ctl_cn58xxstruct cvmx_gmxx_rxx_frm_ctl_cn61xxstruct cvmx_gmxx_rxx_frm_max_sstruct cvmx_gmxx_rxx_frm_min_sstruct cvmx_gmxx_rxx_int_en_sstruct cvmx_gmxx_rxx_int_en_cn30xxstruct cvmx_gmxx_rxx_int_en_cn50xxstruct cvmx_gmxx_rxx_int_en_cn52xxstruct cvmx_gmxx_rxx_int_en_cn56xxp1struct cvmx_gmxx_rxx_int_en_cn58xxstruct cvmx_gmxx_rxx_int_en_cn61xxstruct cvmx_gmxx_rxx_int_reg_sstruct cvmx_gmxx_rxx_int_reg_cn30xxstruct cvmx_gmxx_rxx_int_reg_cn50xxstruct cvmx_gmxx_rxx_int_reg_cn52xxstruct cvmx_gmxx_rxx_int_reg_cn56xxp1struct cvmx_gmxx_rxx_int_reg_cn58xxstruct cvmx_gmxx_rxx_int_reg_cn61xxstruct cvmx_gmxx_rxx_jabber_sstruct cvmx_gmxx_rxx_rx_inbnd_sstruct cvmx_gmxx_rx_prts_sstruct cvmx_gmxx_rx_xaui_ctl_sstruct cvmx_gmxx_txx_thresh_sstruct cvmx_gmxx_txx_thresh_cn30xxstruct cvmx_gmxx_txx_thresh_cn38xxstruct cvmx_gmxx_tx_int_en_sstruct cvmx_gmxx_tx_int_en_cn30xxstruct cvmx_gmxx_tx_int_en_cn31xxstruct cvmx_gmxx_tx_int_en_cn38xxstruct cvmx_gmxx_tx_int_en_cn38xxp2struct cvmx_gmxx_tx_int_en_cn52xx
Annotated Snippet
struct cvmx_gmxx_hg2_control_s {
#ifdef __BIG_ENDIAN_BITFIELD
uint64_t reserved_19_63:45;
uint64_t hg2tx_en:1;
uint64_t hg2rx_en:1;
uint64_t phys_en:1;
uint64_t logl_en:16;
#else
uint64_t logl_en:16;
uint64_t phys_en:1;
uint64_t hg2rx_en:1;
uint64_t hg2tx_en:1;
uint64_t reserved_19_63:45;
#endif
} s;
};
union cvmx_gmxx_inf_mode {
uint64_t u64;
struct cvmx_gmxx_inf_mode_s {
#ifdef __BIG_ENDIAN_BITFIELD
uint64_t reserved_20_63:44;
uint64_t rate:4;
uint64_t reserved_12_15:4;
uint64_t speed:4;
uint64_t reserved_7_7:1;
uint64_t mode:3;
uint64_t reserved_3_3:1;
uint64_t p0mii:1;
uint64_t en:1;
uint64_t type:1;
#else
uint64_t type:1;
uint64_t en:1;
uint64_t p0mii:1;
uint64_t reserved_3_3:1;
uint64_t mode:3;
uint64_t reserved_7_7:1;
uint64_t speed:4;
uint64_t reserved_12_15:4;
uint64_t rate:4;
uint64_t reserved_20_63:44;
#endif
} s;
struct cvmx_gmxx_inf_mode_cn30xx {
#ifdef __BIG_ENDIAN_BITFIELD
uint64_t reserved_3_63:61;
uint64_t p0mii:1;
uint64_t en:1;
uint64_t type:1;
#else
uint64_t type:1;
uint64_t en:1;
uint64_t p0mii:1;
uint64_t reserved_3_63:61;
#endif
} cn30xx;
struct cvmx_gmxx_inf_mode_cn31xx {
#ifdef __BIG_ENDIAN_BITFIELD
uint64_t reserved_2_63:62;
uint64_t en:1;
uint64_t type:1;
#else
uint64_t type:1;
uint64_t en:1;
uint64_t reserved_2_63:62;
#endif
} cn31xx;
struct cvmx_gmxx_inf_mode_cn52xx {
#ifdef __BIG_ENDIAN_BITFIELD
uint64_t reserved_10_63:54;
uint64_t speed:2;
uint64_t reserved_6_7:2;
uint64_t mode:2;
uint64_t reserved_2_3:2;
uint64_t en:1;
uint64_t type:1;
#else
uint64_t type:1;
uint64_t en:1;
uint64_t reserved_2_3:2;
uint64_t mode:2;
uint64_t reserved_6_7:2;
uint64_t speed:2;
uint64_t reserved_10_63:54;
#endif
} cn52xx;
struct cvmx_gmxx_inf_mode_cn61xx {
#ifdef __BIG_ENDIAN_BITFIELD
uint64_t reserved_12_63:52;
Annotation
- Detected declarations: `struct cvmx_gmxx_hg2_control_s`, `struct cvmx_gmxx_inf_mode_s`, `struct cvmx_gmxx_inf_mode_cn30xx`, `struct cvmx_gmxx_inf_mode_cn31xx`, `struct cvmx_gmxx_inf_mode_cn52xx`, `struct cvmx_gmxx_inf_mode_cn61xx`, `struct cvmx_gmxx_inf_mode_cn66xx`, `struct cvmx_gmxx_inf_mode_cn68xx`, `struct cvmx_gmxx_prtx_cfg_s`, `struct cvmx_gmxx_prtx_cfg_cn30xx`.
- Atlas domain: Architecture Layer / arch/mips.
- 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.