arch/mips/include/asm/octeon/cvmx-gpio-defs.h
Source file repositories/reference/linux-study-clean/arch/mips/include/asm/octeon/cvmx-gpio-defs.h
File Facts
- System
- Linux kernel
- Corpus path
arch/mips/include/asm/octeon/cvmx-gpio-defs.h- Extension
.h- Size
- 9093 bytes
- Lines
- 400
- 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_gpio_bit_cfgx_sstruct cvmx_gpio_bit_cfgx_cn30xxstruct cvmx_gpio_bit_cfgx_cn52xxstruct cvmx_gpio_boot_ena_sstruct cvmx_gpio_clk_genx_sstruct cvmx_gpio_clk_qlmx_sstruct cvmx_gpio_clk_qlmx_cn61xxstruct cvmx_gpio_clk_qlmx_cn63xxstruct cvmx_gpio_dbg_ena_sstruct cvmx_gpio_int_clr_sstruct cvmx_gpio_multi_cast_sstruct cvmx_gpio_pin_ena_sstruct cvmx_gpio_rx_dat_sstruct cvmx_gpio_rx_dat_cn38xxstruct cvmx_gpio_rx_dat_cn61xxstruct cvmx_gpio_tim_ctl_sstruct cvmx_gpio_tx_clr_sstruct cvmx_gpio_tx_clr_cn38xxstruct cvmx_gpio_tx_clr_cn61xxstruct cvmx_gpio_tx_set_sstruct cvmx_gpio_tx_set_cn38xxstruct cvmx_gpio_tx_set_cn61xxstruct cvmx_gpio_xbit_cfgx_sstruct cvmx_gpio_xbit_cfgx_cn30xx
Annotated Snippet
struct cvmx_gpio_bit_cfgx_s {
#ifdef __BIG_ENDIAN_BITFIELD
uint64_t reserved_21_63:42;
uint64_t output_sel:5;
uint64_t synce_sel:2;
uint64_t clk_gen:1;
uint64_t clk_sel:2;
uint64_t fil_sel:4;
uint64_t fil_cnt:4;
uint64_t int_type:1;
uint64_t int_en:1;
uint64_t rx_xor:1;
uint64_t tx_oe:1;
#else
uint64_t tx_oe:1;
uint64_t rx_xor:1;
uint64_t int_en:1;
uint64_t int_type:1;
uint64_t fil_cnt:4;
uint64_t fil_sel:4;
uint64_t clk_sel:2;
uint64_t clk_gen:1;
uint64_t synce_sel:2;
uint64_t output_sel:5;
uint64_t reserved_21_63:42;
#endif
} s;
struct cvmx_gpio_bit_cfgx_cn30xx {
#ifdef __BIG_ENDIAN_BITFIELD
uint64_t reserved_12_63:52;
uint64_t fil_sel:4;
uint64_t fil_cnt:4;
uint64_t int_type:1;
uint64_t int_en:1;
uint64_t rx_xor:1;
uint64_t tx_oe:1;
#else
uint64_t tx_oe:1;
uint64_t rx_xor:1;
uint64_t int_en:1;
uint64_t int_type:1;
uint64_t fil_cnt:4;
uint64_t fil_sel:4;
uint64_t reserved_12_63:52;
#endif
} cn30xx;
struct cvmx_gpio_bit_cfgx_cn52xx {
#ifdef __BIG_ENDIAN_BITFIELD
uint64_t reserved_15_63:49;
uint64_t clk_gen:1;
uint64_t clk_sel:2;
uint64_t fil_sel:4;
uint64_t fil_cnt:4;
uint64_t int_type:1;
uint64_t int_en:1;
uint64_t rx_xor:1;
uint64_t tx_oe:1;
#else
uint64_t tx_oe:1;
uint64_t rx_xor:1;
uint64_t int_en:1;
uint64_t int_type:1;
uint64_t fil_cnt:4;
uint64_t fil_sel:4;
uint64_t clk_sel:2;
uint64_t clk_gen:1;
uint64_t reserved_15_63:49;
#endif
} cn52xx;
};
union cvmx_gpio_boot_ena {
uint64_t u64;
struct cvmx_gpio_boot_ena_s {
#ifdef __BIG_ENDIAN_BITFIELD
uint64_t reserved_12_63:52;
uint64_t boot_ena:4;
uint64_t reserved_0_7:8;
#else
uint64_t reserved_0_7:8;
uint64_t boot_ena:4;
uint64_t reserved_12_63:52;
#endif
} s;
};
union cvmx_gpio_clk_genx {
uint64_t u64;
struct cvmx_gpio_clk_genx_s {
#ifdef __BIG_ENDIAN_BITFIELD
Annotation
- Detected declarations: `struct cvmx_gpio_bit_cfgx_s`, `struct cvmx_gpio_bit_cfgx_cn30xx`, `struct cvmx_gpio_bit_cfgx_cn52xx`, `struct cvmx_gpio_boot_ena_s`, `struct cvmx_gpio_clk_genx_s`, `struct cvmx_gpio_clk_qlmx_s`, `struct cvmx_gpio_clk_qlmx_cn61xx`, `struct cvmx_gpio_clk_qlmx_cn63xx`, `struct cvmx_gpio_dbg_ena_s`, `struct cvmx_gpio_int_clr_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.