arch/mips/include/asm/mach-ralink/rt288x.h

Source file repositories/reference/linux-study-clean/arch/mips/include/asm/mach-ralink/rt288x.h

File Facts

System
Linux kernel
Corpus path
arch/mips/include/asm/mach-ralink/rt288x.h
Extension
.h
Size
841 bytes
Lines
34
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

#ifndef _RT288X_REGS_H_
#define _RT288X_REGS_H_

#define IOMEM(x)			((void __iomem *)(KSEG1ADDR(x)))
#define RT2880_SYSC_BASE		IOMEM(0x00300000)

#define SYSC_REG_CHIP_NAME0		0x00
#define SYSC_REG_CHIP_NAME1		0x04
#define SYSC_REG_CHIP_ID		0x0c
#define SYSC_REG_SYSTEM_CONFIG		0x10

#define RT2880_CHIP_NAME0		0x38325452
#define RT2880_CHIP_NAME1		0x20203038

#define CHIP_ID_ID_MASK			0xff
#define CHIP_ID_ID_SHIFT		8
#define CHIP_ID_REV_MASK		0xff

#define RT2880_SDRAM_BASE		0x08000000
#define RT2880_MEM_SIZE_MIN		2
#define RT2880_MEM_SIZE_MAX		128

#endif

Annotation

Implementation Notes