arch/mips/include/asm/octeon/cvmx-fpa-defs.h
Source file repositories/reference/linux-study-clean/arch/mips/include/asm/octeon/cvmx-fpa-defs.h
File Facts
- System
- Linux kernel
- Corpus path
arch/mips/include/asm/octeon/cvmx-fpa-defs.h- Extension
.h- Size
- 28327 bytes
- Lines
- 1253
- 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_fpa_addr_range_error_sstruct cvmx_fpa_bist_status_sstruct cvmx_fpa_ctl_status_sstruct cvmx_fpa_ctl_status_cn30xxstruct cvmx_fpa_fpfx_marks_sstruct cvmx_fpa_fpfx_size_sstruct cvmx_fpa_fpf0_marks_sstruct cvmx_fpa_fpf0_size_sstruct cvmx_fpa_fpf8_marks_sstruct cvmx_fpa_fpf8_size_sstruct cvmx_fpa_int_enb_sstruct cvmx_fpa_int_enb_cn30xxstruct cvmx_fpa_int_enb_cn61xxstruct cvmx_fpa_int_enb_cn63xxstruct cvmx_fpa_int_enb_cn68xxstruct cvmx_fpa_int_sum_sstruct cvmx_fpa_int_sum_cn30xxstruct cvmx_fpa_int_sum_cn61xxstruct cvmx_fpa_int_sum_cn63xxstruct cvmx_fpa_packet_threshold_sstruct cvmx_fpa_poolx_end_addr_sstruct cvmx_fpa_poolx_start_addr_sstruct cvmx_fpa_poolx_threshold_sstruct cvmx_fpa_poolx_threshold_cn61xxstruct cvmx_fpa_quex_available_sstruct cvmx_fpa_quex_available_cn30xxstruct cvmx_fpa_quex_page_index_sstruct cvmx_fpa_que8_page_index_sstruct cvmx_fpa_que_act_sstruct cvmx_fpa_que_exp_sstruct cvmx_fpa_wart_ctl_sstruct cvmx_fpa_wart_status_sstruct cvmx_fpa_wqe_threshold_s
Annotated Snippet
struct cvmx_fpa_addr_range_error_s {
#ifdef __BIG_ENDIAN_BITFIELD
uint64_t reserved_38_63:26;
uint64_t pool:5;
uint64_t addr:33;
#else
uint64_t addr:33;
uint64_t pool:5;
uint64_t reserved_38_63:26;
#endif
} s;
};
union cvmx_fpa_bist_status {
uint64_t u64;
struct cvmx_fpa_bist_status_s {
#ifdef __BIG_ENDIAN_BITFIELD
uint64_t reserved_5_63:59;
uint64_t frd:1;
uint64_t fpf0:1;
uint64_t fpf1:1;
uint64_t ffr:1;
uint64_t fdr:1;
#else
uint64_t fdr:1;
uint64_t ffr:1;
uint64_t fpf1:1;
uint64_t fpf0:1;
uint64_t frd:1;
uint64_t reserved_5_63:59;
#endif
} s;
};
union cvmx_fpa_ctl_status {
uint64_t u64;
struct cvmx_fpa_ctl_status_s {
#ifdef __BIG_ENDIAN_BITFIELD
uint64_t reserved_21_63:43;
uint64_t free_en:1;
uint64_t ret_off:1;
uint64_t req_off:1;
uint64_t reset:1;
uint64_t use_ldt:1;
uint64_t use_stt:1;
uint64_t enb:1;
uint64_t mem1_err:7;
uint64_t mem0_err:7;
#else
uint64_t mem0_err:7;
uint64_t mem1_err:7;
uint64_t enb:1;
uint64_t use_stt:1;
uint64_t use_ldt:1;
uint64_t reset:1;
uint64_t req_off:1;
uint64_t ret_off:1;
uint64_t free_en:1;
uint64_t reserved_21_63:43;
#endif
} s;
struct cvmx_fpa_ctl_status_cn30xx {
#ifdef __BIG_ENDIAN_BITFIELD
uint64_t reserved_18_63:46;
uint64_t reset:1;
uint64_t use_ldt:1;
uint64_t use_stt:1;
uint64_t enb:1;
uint64_t mem1_err:7;
uint64_t mem0_err:7;
#else
uint64_t mem0_err:7;
uint64_t mem1_err:7;
uint64_t enb:1;
uint64_t use_stt:1;
uint64_t use_ldt:1;
uint64_t reset:1;
uint64_t reserved_18_63:46;
#endif
} cn30xx;
};
union cvmx_fpa_fpfx_marks {
uint64_t u64;
struct cvmx_fpa_fpfx_marks_s {
#ifdef __BIG_ENDIAN_BITFIELD
uint64_t reserved_22_63:42;
uint64_t fpf_wr:11;
uint64_t fpf_rd:11;
#else
Annotation
- Detected declarations: `struct cvmx_fpa_addr_range_error_s`, `struct cvmx_fpa_bist_status_s`, `struct cvmx_fpa_ctl_status_s`, `struct cvmx_fpa_ctl_status_cn30xx`, `struct cvmx_fpa_fpfx_marks_s`, `struct cvmx_fpa_fpfx_size_s`, `struct cvmx_fpa_fpf0_marks_s`, `struct cvmx_fpa_fpf0_size_s`, `struct cvmx_fpa_fpf8_marks_s`, `struct cvmx_fpa_fpf8_size_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.