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.

Dependency Surface

Detected Declarations

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

Implementation Notes