6 #ifndef __GIF_REGISTERS_H__
7 #define __GIF_REGISTERS_H__
12 #define GIF_REG_CTRL *(volatile u32 *)0x10003000
14 #define GIF_REG_MODE *(volatile u32 *)0x10003010
16 #define GIF_REG_STAT *(volatile u32 *)0x10003020
18 #define GIF_REG_TAG0 *(volatile u32 *)0x10003040
20 #define GIF_REG_TAG1 *(volatile u32 *)0x10003050
22 #define GIF_REG_TAG2 *(volatile u32 *)0x10003060
24 #define GIF_REG_TAG3 *(volatile u32 *)0x10003070
26 #define GIF_REG_CNT *(volatile u32 *)0x10003080
28 #define GIF_REG_P3CNT *(volatile u32 *)0x10003090
30 #define GIF_REG_P3TAG *(volatile u32 *)0x100030A0
32 #define GIF_SET_CTRL(RST,PSE) \
33 (u32)((RST) & 0x00000001) << 0 | (u32)((PSE) & 0x00000001) << 3
35 #define GIF_SET_MODE(M3R,IMT) \
36 (u32)((M3R) & 0x00000001) << 0 | (u32)((IMT) & 0x00000001) << 2
53 } __attribute__((packed))
GIFSTAT;
59 } __attribute__((packed))
GIFTAG0;
67 } __attribute__((packed))
GIFTAG1;
83 } __attribute__((packed))
GIFCNT;