summaryrefslogtreecommitdiffstats
path: root/src/include/registers/pba_register_addresses.h
blob: 7b00385e3074ae4512237c4f917ceb4dc36228b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
/* IBM_PROLOG_BEGIN_TAG                                                   */
/* This is an automatically generated prolog.                             */
/*                                                                        */
/* $Source: src/include/registers/pba_register_addresses.h $              */
/*                                                                        */
/* OpenPOWER OnChipController Project                                     */
/*                                                                        */
/* Contributors Listed Below - COPYRIGHT 2015,2016                        */
/* [+] International Business Machines Corp.                              */
/*                                                                        */
/*                                                                        */
/* Licensed under the Apache License, Version 2.0 (the "License");        */
/* you may not use this file except in compliance with the License.       */
/* You may obtain a copy of the License at                                */
/*                                                                        */
/*     http://www.apache.org/licenses/LICENSE-2.0                         */
/*                                                                        */
/* Unless required by applicable law or agreed to in writing, software    */
/* distributed under the License is distributed on an "AS IS" BASIS,      */
/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or        */
/* implied. See the License for the specific language governing           */
/* permissions and limitations under the License.                         */
/*                                                                        */
/* IBM_PROLOG_END_TAG                                                     */

#ifndef __PBA_REGISTER_ADDRESSES_H__
#define __PBA_REGISTER_ADDRESSES_H__

/// \file pba_register_addresses.h
/// \brief Symbolic addresses for the PBA unit

// *** WARNING *** - This file is generated automatically, do not edit.

// OCI addresses
#define PBA_OCI_BASE 0xC0040000
#define PBA_MODE 0xc0040000
#define PBA_SLVRST 0xc0040008
#define PBA_SLVCTLN(n) (PBA_SLVCTL0 + ((PBA_SLVCTL1 - PBA_SLVCTL0) * (n)))
#define PBA_SLVCTL0 0xc0040020
#define PBA_SLVCTL1 0xc0040028
#define PBA_SLVCTL2 0xc0040030
#define PBA_SLVCTL3 0xc0040038
#define PBA_BCDE_CTL 0xc0040080
#define PBA_BCDE_SET 0xc0040088
#define PBA_BCDE_STAT 0xc0040090
#define PBA_BCDE_PBADR 0xc0040098
#define PBA_BCDE_DR    0xc0040098
#define PBA_BCDE_OCIBAR 0xc00400a0
#define PBA_BCUE_CTL 0xc00400a8
#define PBA_BCUE_SET 0xc00400b0
#define PBA_BCUE_STAT 0xc00400b8
#define PBA_BCUE_PBADR 0xc00400c0
#define PBA_BCUE_DR    0xc00400c0
#define PBA_BCUE_OCIBAR 0xc00400c8
#define PBA_PBOCRN(n) (PBA_PBOCR0 + ((PBA_PBOCR1 - PBA_PBOCR0) * (n)))
#define PBA_PBOCR0 0xc00400d0
#define PBA_PBOCR1 0xc00400d8
#define PBA_PBOCR2 0xc00400e0
#define PBA_PBOCR3 0xc00400e8
#define PBA_PBOCR4 0xc00400f0
#define PBA_PBOCR5 0xc00400f8
#define PBA_XSNDTX 0xc0040100
#define PBA_XCFG 0xc0040108
#define PBA_XSNDSTAT 0xc0040110
#define PBA_XSNDDAT 0xc0040118
#define PBA_XRCVSTAT 0xc0040120
#define PBA_XSHBRN(n) (PBA_XSHBR0 + ((PBA_XSHBR1 - PBA_XSHBR0) * (n)))
#define PBA_XSHBR0 0xc0040130
#define PBA_XSHBR1 0xc0040150
#define PBA_XSHCSN(n) (PBA_XSHCS0 + ((PBA_XSHCS1 - PBA_XSHCS0) * (n)))
#define PBA_XSHCS0 0xc0040138
#define PBA_XSHCS1 0xc0040158
#define PBA_XSHINCN(n) (PBA_XSHINC0 + ((PBA_XSHINC1 - PBA_XSHINC0) * (n)))
#define PBA_XSHINC0 0xc0040140
#define PBA_XSHINC1 0xc0040160
// The following are SCOM addresses, not OCI addresses
#define PBA_PIB_BASE 0x05012840
#define PBA_FIR 0x05012840
#define PBA_FIR_AND 0x05012841
#define PBA_FIR_OR 0x05012842
#define PBA_FIRMASK 0x05012843
#define PBA_FIRMASK_AND 0x05012844
#define PBA_FIRMASK_OR 0x05012845
#define PBA_FIRACT0 0x05012846
#define PBA_FIRACT1 0x05012847
#define PBA_OCCACT 0x0501284a
#define PBA_CFG 0x0501284b
#define PBA_ERRRPT0 0x0501284c
#define PBA_ERRRPT1 0x0501284d
#define PBA_ERRRPT2 0x0501284e
#define PBA_RBUFVALN(n) (PBA_RBUFVAL0 + ((PBA_RBUFVAL1 - PBA_RBUFVAL0) * (n)))
#define PBA_RBUFVAL0 0x05012850
#define PBA_RBUFVAL1 0x05012851
#define PBA_RBUFVAL2 0x05012852
#define PBA_RBUFVAL3 0x05012853
#define PBA_RBUFVAL4 0x05012854
#define PBA_RBUFVAL5 0x05012855
#define PBA_WBUFVALN(n) (PBA_WBUFVAL0 + ((PBA_WBUFVAL1 - PBA_WBUFVAL0) * (n)))
#define PBA_WBUFVAL0 0x05012858
#define PBA_WBUFVAL1 0x05012859
#define PBA_TRUSTEDPIB_BASE 0x05012B00
#define PBA_BARN(n) (PBA_BAR0 + ((PBA_BAR1 - PBA_BAR0) * (n)))
#define PBA_BAR0 0x05012b00
#define PBA_BAR1 0x05012b01
#define PBA_BAR2 0x05012b02
#define PBA_BAR3 0x05012b03
#define PBA_BARMSKN(n) (PBA_BARMSK0 + ((PBA_BARMSK1 - PBA_BARMSK0) * (n)))
#define PBA_BARMSK0 0x05012b04
#define PBA_BARMSK1 0x05012b05
#define PBA_BARMSK2 0x05012b06
#define PBA_BARMSK3 0x05012b07

#endif // __PBA_REGISTER_ADDRESSES_H__

OpenPOWER on IntegriCloud