arch/mips/include/asm/msc01_ic.h
Source file repositories/reference/linux-study-clean/arch/mips/include/asm/msc01_ic.h
File Facts
- System
- Linux kernel
- Corpus path
arch/mips/include/asm/msc01_ic.h- Extension
.h- Size
- 6709 bytes
- Lines
- 148
- 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
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
#ifndef __ASM_MIPS_BOARDS_MSC01_IC_H
#define __ASM_MIPS_BOARDS_MSC01_IC_H
/*****************************************************************************
* Register offset addresses
*****************************************************************************/
#define MSC01_IC_RST_OFS 0x00008 /* Software reset */
#define MSC01_IC_ENAL_OFS 0x00100 /* Int_in enable mask 31:0 */
#define MSC01_IC_ENAH_OFS 0x00108 /* Int_in enable mask 63:32 */
#define MSC01_IC_DISL_OFS 0x00120 /* Int_in disable mask 31:0 */
#define MSC01_IC_DISH_OFS 0x00128 /* Int_in disable mask 63:32 */
#define MSC01_IC_ISBL_OFS 0x00140 /* Raw int_in 31:0 */
#define MSC01_IC_ISBH_OFS 0x00148 /* Raw int_in 63:32 */
#define MSC01_IC_ISAL_OFS 0x00160 /* Masked int_in 31:0 */
#define MSC01_IC_ISAH_OFS 0x00168 /* Masked int_in 63:32 */
#define MSC01_IC_LVL_OFS 0x00180 /* Disable priority int_out */
#define MSC01_IC_RAMW_OFS 0x00180 /* Shadow set RAM (EI) */
#define MSC01_IC_OSB_OFS 0x00188 /* Raw int_out */
#define MSC01_IC_OSA_OFS 0x00190 /* Masked int_out */
#define MSC01_IC_GENA_OFS 0x00198 /* Global HW int enable */
#define MSC01_IC_BASE_OFS 0x001a0 /* Base address of IC_VEC */
#define MSC01_IC_VEC_OFS 0x001b0 /* Active int's vector address */
#define MSC01_IC_EOI_OFS 0x001c0 /* Enable lower level ints */
#define MSC01_IC_CFG_OFS 0x001c8 /* Configuration register */
#define MSC01_IC_TRLD_OFS 0x001d0 /* Interval timer reload val */
#define MSC01_IC_TVAL_OFS 0x001e0 /* Interval timer current val */
#define MSC01_IC_TCFG_OFS 0x001f0 /* Interval timer config */
#define MSC01_IC_SUP_OFS 0x00200 /* Set up int_in line 0 */
#define MSC01_IC_ENA_OFS 0x00800 /* Int_in enable mask 63:0 */
#define MSC01_IC_DIS_OFS 0x00820 /* Int_in disable mask 63:0 */
#define MSC01_IC_ISB_OFS 0x00840 /* Raw int_in 63:0 */
#define MSC01_IC_ISA_OFS 0x00860 /* Masked int_in 63:0 */
/*****************************************************************************
* Register field encodings
*****************************************************************************/
#define MSC01_IC_RST_RST_SHF 0
#define MSC01_IC_RST_RST_MSK 0x00000001
#define MSC01_IC_RST_RST_BIT MSC01_IC_RST_RST_MSK
#define MSC01_IC_LVL_LVL_SHF 0
#define MSC01_IC_LVL_LVL_MSK 0x000000ff
#define MSC01_IC_LVL_SPUR_SHF 16
#define MSC01_IC_LVL_SPUR_MSK 0x00010000
#define MSC01_IC_LVL_SPUR_BIT MSC01_IC_LVL_SPUR_MSK
#define MSC01_IC_RAMW_RIPL_SHF 0
#define MSC01_IC_RAMW_RIPL_MSK 0x0000003f
#define MSC01_IC_RAMW_DATA_SHF 6
#define MSC01_IC_RAMW_DATA_MSK 0x00000fc0
#define MSC01_IC_RAMW_ADDR_SHF 25
#define MSC01_IC_RAMW_ADDR_MSK 0x7e000000
#define MSC01_IC_RAMW_READ_SHF 31
#define MSC01_IC_RAMW_READ_MSK 0x80000000
#define MSC01_IC_RAMW_READ_BIT MSC01_IC_RAMW_READ_MSK
#define MSC01_IC_OSB_OSB_SHF 0
#define MSC01_IC_OSB_OSB_MSK 0x000000ff
#define MSC01_IC_OSA_OSA_SHF 0
#define MSC01_IC_OSA_OSA_MSK 0x000000ff
#define MSC01_IC_GENA_GENA_SHF 0
#define MSC01_IC_GENA_GENA_MSK 0x00000001
#define MSC01_IC_GENA_GENA_BIT MSC01_IC_GENA_GENA_MSK
#define MSC01_IC_CFG_DIS_SHF 0
#define MSC01_IC_CFG_DIS_MSK 0x00000001
#define MSC01_IC_CFG_DIS_BIT MSC01_IC_CFG_DIS_MSK
#define MSC01_IC_CFG_SHFT_SHF 8
#define MSC01_IC_CFG_SHFT_MSK 0x00000f00
#define MSC01_IC_TCFG_ENA_SHF 0
#define MSC01_IC_TCFG_ENA_MSK 0x00000001
#define MSC01_IC_TCFG_ENA_BIT MSC01_IC_TCFG_ENA_MSK
#define MSC01_IC_TCFG_INT_SHF 8
#define MSC01_IC_TCFG_INT_MSK 0x00000100
#define MSC01_IC_TCFG_INT_BIT MSC01_IC_TCFG_INT_MSK
#define MSC01_IC_TCFG_EDGE_SHF 16
#define MSC01_IC_TCFG_EDGE_MSK 0x00010000
#define MSC01_IC_TCFG_EDGE_BIT MSC01_IC_TCFG_EDGE_MSK
#define MSC01_IC_SUP_PRI_SHF 0
#define MSC01_IC_SUP_PRI_MSK 0x00000007
#define MSC01_IC_SUP_EDGE_SHF 8
#define MSC01_IC_SUP_EDGE_MSK 0x00000100
#define MSC01_IC_SUP_EDGE_BIT MSC01_IC_SUP_EDGE_MSK
#define MSC01_IC_SUP_STEP 8
/*
* MIPS System controller interrupt register base.
*
*/
/*****************************************************************************
* Absolute register addresses
Annotation
- 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.