arch/mips/include/asm/octeon/cvmx-agl-defs.h
Source file repositories/reference/linux-study-clean/arch/mips/include/asm/octeon/cvmx-agl-defs.h
File Facts
- System
- Linux kernel
- Corpus path
arch/mips/include/asm/octeon/cvmx-agl-defs.h- Extension
.h- Size
- 41472 bytes
- Lines
- 1760
- 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_agl_gmx_bad_reg_sstruct cvmx_agl_gmx_bad_reg_cn52xxstruct cvmx_agl_gmx_bad_reg_cn56xxstruct cvmx_agl_gmx_bist_sstruct cvmx_agl_gmx_bist_cn52xxstruct cvmx_agl_gmx_drv_ctl_sstruct cvmx_agl_gmx_drv_ctl_cn56xxstruct cvmx_agl_gmx_inf_mode_sstruct cvmx_agl_gmx_prtx_cfg_sstruct cvmx_agl_gmx_prtx_cfg_cn52xxstruct cvmx_agl_gmx_rxx_adr_cam0_sstruct cvmx_agl_gmx_rxx_adr_cam1_sstruct cvmx_agl_gmx_rxx_adr_cam2_sstruct cvmx_agl_gmx_rxx_adr_cam3_sstruct cvmx_agl_gmx_rxx_adr_cam4_sstruct cvmx_agl_gmx_rxx_adr_cam5_sstruct cvmx_agl_gmx_rxx_adr_cam_en_sstruct cvmx_agl_gmx_rxx_adr_ctl_sstruct cvmx_agl_gmx_rxx_decision_sstruct cvmx_agl_gmx_rxx_frm_chk_sstruct cvmx_agl_gmx_rxx_frm_chk_cn52xxstruct cvmx_agl_gmx_rxx_frm_ctl_sstruct cvmx_agl_gmx_rxx_frm_ctl_cn52xxstruct cvmx_agl_gmx_rxx_frm_max_sstruct cvmx_agl_gmx_rxx_frm_min_sstruct cvmx_agl_gmx_rxx_ifg_sstruct cvmx_agl_gmx_rxx_int_en_sstruct cvmx_agl_gmx_rxx_int_en_cn52xxstruct cvmx_agl_gmx_rxx_int_reg_sstruct cvmx_agl_gmx_rxx_int_reg_cn52xxstruct cvmx_agl_gmx_rxx_jabber_sstruct cvmx_agl_gmx_rxx_pause_drop_time_sstruct cvmx_agl_gmx_rxx_rx_inbnd_sstruct cvmx_agl_gmx_rxx_stats_ctl_sstruct cvmx_agl_gmx_rxx_stats_octs_sstruct cvmx_agl_gmx_rxx_stats_octs_ctl_sstruct cvmx_agl_gmx_rxx_stats_octs_dmac_sstruct cvmx_agl_gmx_rxx_stats_octs_drp_sstruct cvmx_agl_gmx_rxx_stats_pkts_sstruct cvmx_agl_gmx_rxx_stats_pkts_bad_sstruct cvmx_agl_gmx_rxx_stats_pkts_ctl_sstruct cvmx_agl_gmx_rxx_stats_pkts_dmac_sstruct cvmx_agl_gmx_rxx_stats_pkts_drp_sstruct cvmx_agl_gmx_rxx_udd_skp_sstruct cvmx_agl_gmx_rx_bp_dropx_sstruct cvmx_agl_gmx_rx_bp_offx_sstruct cvmx_agl_gmx_rx_bp_onx_sstruct cvmx_agl_gmx_rx_prt_info_s
Annotated Snippet
struct cvmx_agl_gmx_bad_reg_s {
#ifdef __BIG_ENDIAN_BITFIELD
uint64_t reserved_38_63:26;
uint64_t txpsh1:1;
uint64_t txpop1:1;
uint64_t ovrflw1:1;
uint64_t txpsh:1;
uint64_t txpop:1;
uint64_t ovrflw:1;
uint64_t reserved_27_31:5;
uint64_t statovr:1;
uint64_t reserved_24_25:2;
uint64_t loststat:2;
uint64_t reserved_4_21:18;
uint64_t out_ovr:2;
uint64_t reserved_0_1:2;
#else
uint64_t reserved_0_1:2;
uint64_t out_ovr:2;
uint64_t reserved_4_21:18;
uint64_t loststat:2;
uint64_t reserved_24_25:2;
uint64_t statovr:1;
uint64_t reserved_27_31:5;
uint64_t ovrflw:1;
uint64_t txpop:1;
uint64_t txpsh:1;
uint64_t ovrflw1:1;
uint64_t txpop1:1;
uint64_t txpsh1:1;
uint64_t reserved_38_63:26;
#endif
} s;
struct cvmx_agl_gmx_bad_reg_cn52xx {
#ifdef __BIG_ENDIAN_BITFIELD
uint64_t reserved_38_63:26;
uint64_t txpsh1:1;
uint64_t txpop1:1;
uint64_t ovrflw1:1;
uint64_t txpsh:1;
uint64_t txpop:1;
uint64_t ovrflw:1;
uint64_t reserved_27_31:5;
uint64_t statovr:1;
uint64_t reserved_23_25:3;
uint64_t loststat:1;
uint64_t reserved_4_21:18;
uint64_t out_ovr:2;
uint64_t reserved_0_1:2;
#else
uint64_t reserved_0_1:2;
uint64_t out_ovr:2;
uint64_t reserved_4_21:18;
uint64_t loststat:1;
uint64_t reserved_23_25:3;
uint64_t statovr:1;
uint64_t reserved_27_31:5;
uint64_t ovrflw:1;
uint64_t txpop:1;
uint64_t txpsh:1;
uint64_t ovrflw1:1;
uint64_t txpop1:1;
uint64_t txpsh1:1;
uint64_t reserved_38_63:26;
#endif
} cn52xx;
struct cvmx_agl_gmx_bad_reg_cn56xx {
#ifdef __BIG_ENDIAN_BITFIELD
uint64_t reserved_35_63:29;
uint64_t txpsh:1;
uint64_t txpop:1;
uint64_t ovrflw:1;
uint64_t reserved_27_31:5;
uint64_t statovr:1;
uint64_t reserved_23_25:3;
uint64_t loststat:1;
uint64_t reserved_3_21:19;
uint64_t out_ovr:1;
uint64_t reserved_0_1:2;
#else
uint64_t reserved_0_1:2;
uint64_t out_ovr:1;
uint64_t reserved_3_21:19;
uint64_t loststat:1;
uint64_t reserved_23_25:3;
uint64_t statovr:1;
uint64_t reserved_27_31:5;
uint64_t ovrflw:1;
uint64_t txpop:1;
uint64_t txpsh:1;
Annotation
- Detected declarations: `struct cvmx_agl_gmx_bad_reg_s`, `struct cvmx_agl_gmx_bad_reg_cn52xx`, `struct cvmx_agl_gmx_bad_reg_cn56xx`, `struct cvmx_agl_gmx_bist_s`, `struct cvmx_agl_gmx_bist_cn52xx`, `struct cvmx_agl_gmx_drv_ctl_s`, `struct cvmx_agl_gmx_drv_ctl_cn56xx`, `struct cvmx_agl_gmx_inf_mode_s`, `struct cvmx_agl_gmx_prtx_cfg_s`, `struct cvmx_agl_gmx_prtx_cfg_cn52xx`.
- 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.