Go to the documentation of this file.
36 #define PSC_BASE (0x50F31000)
47 #define pIFRbase 0x100
48 #define pIERbase 0x104
54 #define PSC_MYSTERY 0x804
56 #define PSC_CTL_BASE 0xC00
58 #define PSC_SCSI_CTL 0xC00
59 #define PSC_ENETRD_CTL 0xC10
60 #define PSC_ENETWR_CTL 0xC20
61 #define PSC_FDC_CTL 0xC30
62 #define PSC_SCCA_CTL 0xC40
63 #define PSC_SCCB_CTL 0xC50
64 #define PSC_SCCATX_CTL 0xC60
72 #define PSC_ADDR_BASE 0x1000
73 #define PSC_LEN_BASE 0x1004
74 #define PSC_CMD_BASE 0x1008
79 #define PSC_SCSI_ADDR 0x1000
80 #define PSC_SCSI_LEN 0x1004
81 #define PSC_SCSI_CMD 0x1008
82 #define PSC_ENETRD_ADDR 0x1020
83 #define PSC_ENETRD_LEN 0x1024
84 #define PSC_ENETRD_CMD 0x1028
85 #define PSC_ENETWR_ADDR 0x1040
86 #define PSC_ENETWR_LEN 0x1044
87 #define PSC_ENETWR_CMD 0x1048
88 #define PSC_FDC_ADDR 0x1060
89 #define PSC_FDC_LEN 0x1064
90 #define PSC_FDC_CMD 0x1068
91 #define PSC_SCCA_ADDR 0x1080
92 #define PSC_SCCA_LEN 0x1084
93 #define PSC_SCCA_CMD 0x1088
94 #define PSC_SCCB_ADDR 0x10A0
95 #define PSC_SCCB_LEN 0x10A4
96 #define PSC_SCCB_CMD 0x10A8
97 #define PSC_SCCATX_ADDR 0x10C0
98 #define PSC_SCCATX_LEN 0x10C4
99 #define PSC_SCCATX_CMD 0x10C8
110 #define PSC_SND_CTL 0x200
151 #define PSC_SND_SOURCE 0x204
165 #define PSC_SND_STATUS1 0x208
170 #define PSC_SND_HUH3 0x20C
174 #define PSC_SND_BITS2GO 0x20E
183 #define PSC_SND_INADDR 0x210
187 #define PSC_SND_OUTADDR 0x214
191 #define PSC_SND_LEN 0x218
195 #define PSC_SND_HUH4 0x21A
199 #define PSC_SND_STATUS2 0x21C
204 #define PSC_SND_HUH5 0x21E
224 *((
volatile __u8 *)(
psc + offset)) = data;
227 static inline void psc_write_word(
int offset,
__u16 data)
229 *((
volatile __u16 *)(
psc + offset)) = data;
232 static inline void psc_write_long(
int offset,
__u32 data)
234 *((
volatile __u32 *)(
psc + offset)) = data;
237 static inline u8 psc_read_byte(
int offset)
239 return *((
volatile __u8 *)(
psc + offset));
242 static inline u16 psc_read_word(
int offset)
244 return *((
volatile __u16 *)(
psc + offset));
247 static inline u32 psc_read_long(
int offset)
249 return *((
volatile __u32 *)(
psc + offset));