arch/mips/include/asm/octeon/cvmx-lmcx-defs.h
Source file repositories/reference/linux-study-clean/arch/mips/include/asm/octeon/cvmx-lmcx-defs.h
File Facts
- System
- Linux kernel
- Corpus path
arch/mips/include/asm/octeon/cvmx-lmcx-defs.h- Extension
.h- Size
- 70048 bytes
- Lines
- 2944
- 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_lmcx_bist_ctl_sstruct cvmx_lmcx_bist_result_sstruct cvmx_lmcx_bist_result_cn50xxstruct cvmx_lmcx_char_ctl_sstruct cvmx_lmcx_char_ctl_cn63xxstruct cvmx_lmcx_char_mask0_sstruct cvmx_lmcx_char_mask1_sstruct cvmx_lmcx_char_mask2_sstruct cvmx_lmcx_char_mask3_sstruct cvmx_lmcx_char_mask4_sstruct cvmx_lmcx_comp_ctl_sstruct cvmx_lmcx_comp_ctl_cn30xxstruct cvmx_lmcx_comp_ctl_cn50xxstruct cvmx_lmcx_comp_ctl_cn58xxp1struct cvmx_lmcx_comp_ctl2_sstruct cvmx_lmcx_config_sstruct cvmx_lmcx_config_cn63xxstruct cvmx_lmcx_config_cn63xxp1struct cvmx_lmcx_config_cn66xxstruct cvmx_lmcx_control_sstruct cvmx_lmcx_control_cn63xxstruct cvmx_lmcx_control_cn66xxstruct cvmx_lmcx_control_cn68xxstruct cvmx_lmcx_ctl_sstruct cvmx_lmcx_ctl_cn30xxstruct cvmx_lmcx_ctl_cn38xxstruct cvmx_lmcx_ctl_cn50xxstruct cvmx_lmcx_ctl_cn52xxstruct cvmx_lmcx_ctl_cn58xxstruct cvmx_lmcx_ctl1_sstruct cvmx_lmcx_ctl1_cn30xxstruct cvmx_lmcx_ctl1_cn50xxstruct cvmx_lmcx_ctl1_cn52xxstruct cvmx_lmcx_ctl1_cn58xxstruct cvmx_lmcx_dclk_cnt_sstruct cvmx_lmcx_dclk_cnt_hi_sstruct cvmx_lmcx_dclk_cnt_lo_sstruct cvmx_lmcx_dclk_ctl_sstruct cvmx_lmcx_ddr2_ctl_sstruct cvmx_lmcx_ddr2_ctl_cn30xxstruct cvmx_lmcx_ddr_pll_ctl_sstruct cvmx_lmcx_delay_cfg_sstruct cvmx_lmcx_delay_cfg_cn38xxstruct cvmx_lmcx_dimmx_params_sstruct cvmx_lmcx_dimm_ctl_sstruct cvmx_lmcx_dll_ctl_sstruct cvmx_lmcx_dll_ctl2_sstruct cvmx_lmcx_dll_ctl2_cn63xx
Annotated Snippet
struct cvmx_lmcx_bist_ctl_s {
#ifdef __BIG_ENDIAN_BITFIELD
uint64_t reserved_1_63:63;
uint64_t start:1;
#else
uint64_t start:1;
uint64_t reserved_1_63:63;
#endif
} s;
};
union cvmx_lmcx_bist_result {
uint64_t u64;
struct cvmx_lmcx_bist_result_s {
#ifdef __BIG_ENDIAN_BITFIELD
uint64_t reserved_11_63:53;
uint64_t csrd2e:1;
uint64_t csre2d:1;
uint64_t mwf:1;
uint64_t mwd:3;
uint64_t mwc:1;
uint64_t mrf:1;
uint64_t mrd:3;
#else
uint64_t mrd:3;
uint64_t mrf:1;
uint64_t mwc:1;
uint64_t mwd:3;
uint64_t mwf:1;
uint64_t csre2d:1;
uint64_t csrd2e:1;
uint64_t reserved_11_63:53;
#endif
} s;
struct cvmx_lmcx_bist_result_cn50xx {
#ifdef __BIG_ENDIAN_BITFIELD
uint64_t reserved_9_63:55;
uint64_t mwf:1;
uint64_t mwd:3;
uint64_t mwc:1;
uint64_t mrf:1;
uint64_t mrd:3;
#else
uint64_t mrd:3;
uint64_t mrf:1;
uint64_t mwc:1;
uint64_t mwd:3;
uint64_t mwf:1;
uint64_t reserved_9_63:55;
#endif
} cn50xx;
};
union cvmx_lmcx_char_ctl {
uint64_t u64;
struct cvmx_lmcx_char_ctl_s {
#ifdef __BIG_ENDIAN_BITFIELD
uint64_t reserved_44_63:20;
uint64_t dr:1;
uint64_t skew_on:1;
uint64_t en:1;
uint64_t sel:1;
uint64_t prog:8;
uint64_t prbs:32;
#else
uint64_t prbs:32;
uint64_t prog:8;
uint64_t sel:1;
uint64_t en:1;
uint64_t skew_on:1;
uint64_t dr:1;
uint64_t reserved_44_63:20;
#endif
} s;
struct cvmx_lmcx_char_ctl_cn63xx {
#ifdef __BIG_ENDIAN_BITFIELD
uint64_t reserved_42_63:22;
uint64_t en:1;
uint64_t sel:1;
uint64_t prog:8;
uint64_t prbs:32;
#else
uint64_t prbs:32;
uint64_t prog:8;
uint64_t sel:1;
uint64_t en:1;
uint64_t reserved_42_63:22;
#endif
} cn63xx;
};
Annotation
- Detected declarations: `struct cvmx_lmcx_bist_ctl_s`, `struct cvmx_lmcx_bist_result_s`, `struct cvmx_lmcx_bist_result_cn50xx`, `struct cvmx_lmcx_char_ctl_s`, `struct cvmx_lmcx_char_ctl_cn63xx`, `struct cvmx_lmcx_char_mask0_s`, `struct cvmx_lmcx_char_mask1_s`, `struct cvmx_lmcx_char_mask2_s`, `struct cvmx_lmcx_char_mask3_s`, `struct cvmx_lmcx_char_mask4_s`.
- 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.