28 #ifndef __CVMX_PCSX_DEFS_H__
29 #define __CVMX_PCSX_DEFS_H__
31 static inline uint64_t CVMX_PCSX_ANX_ADV_REG(
unsigned long offset,
unsigned long block_id)
33 switch (cvmx_get_octeon_family()) {
49 static inline uint64_t CVMX_PCSX_ANX_EXT_ST_REG(
unsigned long offset,
unsigned long block_id)
51 switch (cvmx_get_octeon_family()) {
67 static inline uint64_t CVMX_PCSX_ANX_LP_ABIL_REG(
unsigned long offset,
unsigned long block_id)
69 switch (cvmx_get_octeon_family()) {
85 static inline uint64_t CVMX_PCSX_ANX_RESULTS_REG(
unsigned long offset,
unsigned long block_id)
87 switch (cvmx_get_octeon_family()) {
103 static inline uint64_t CVMX_PCSX_INTX_EN_REG(
unsigned long offset,
unsigned long block_id)
105 switch (cvmx_get_octeon_family()) {
121 static inline uint64_t CVMX_PCSX_INTX_REG(
unsigned long offset,
unsigned long block_id)
123 switch (cvmx_get_octeon_family()) {
139 static inline uint64_t CVMX_PCSX_LINKX_TIMER_COUNT_REG(
unsigned long offset,
unsigned long block_id)
141 switch (cvmx_get_octeon_family()) {
157 static inline uint64_t CVMX_PCSX_LOG_ANLX_REG(
unsigned long offset,
unsigned long block_id)
159 switch (cvmx_get_octeon_family()) {
175 static inline uint64_t CVMX_PCSX_MISCX_CTL_REG(
unsigned long offset,
unsigned long block_id)
177 switch (cvmx_get_octeon_family()) {
193 static inline uint64_t CVMX_PCSX_MRX_CONTROL_REG(
unsigned long offset,
unsigned long block_id)
195 switch (cvmx_get_octeon_family()) {
211 static inline uint64_t CVMX_PCSX_MRX_STATUS_REG(
unsigned long offset,
unsigned long block_id)
213 switch (cvmx_get_octeon_family()) {
229 static inline uint64_t CVMX_PCSX_RXX_STATES_REG(
unsigned long offset,
unsigned long block_id)
231 switch (cvmx_get_octeon_family()) {
247 static inline uint64_t CVMX_PCSX_RXX_SYNC_REG(
unsigned long offset,
unsigned long block_id)
249 switch (cvmx_get_octeon_family()) {
265 static inline uint64_t CVMX_PCSX_SGMX_AN_ADV_REG(
unsigned long offset,
unsigned long block_id)
267 switch (cvmx_get_octeon_family()) {
283 static inline uint64_t CVMX_PCSX_SGMX_LP_ADV_REG(
unsigned long offset,
unsigned long block_id)
285 switch (cvmx_get_octeon_family()) {
301 static inline uint64_t CVMX_PCSX_TXX_STATES_REG(
unsigned long offset,
unsigned long block_id)
303 switch (cvmx_get_octeon_family()) {
319 static inline uint64_t CVMX_PCSX_TX_RXX_POLARITY_REG(
unsigned long offset,
unsigned long block_id)
321 switch (cvmx_get_octeon_family()) {
340 #ifdef __BIG_ENDIAN_BITFIELD
378 #ifdef __BIG_ENDIAN_BITFIELD
410 #ifdef __BIG_ENDIAN_BITFIELD
448 #ifdef __BIG_ENDIAN_BITFIELD
480 #ifdef __BIG_ENDIAN_BITFIELD
513 #ifdef __BIG_ENDIAN_BITFIELD
558 #ifdef __BIG_ENDIAN_BITFIELD
591 #ifdef __BIG_ENDIAN_BITFIELD
636 #ifdef __BIG_ENDIAN_BITFIELD
660 #ifdef __BIG_ENDIAN_BITFIELD
688 #ifdef __BIG_ENDIAN_BITFIELD
724 #ifdef __BIG_ENDIAN_BITFIELD
770 #ifdef __BIG_ENDIAN_BITFIELD
824 #ifdef __BIG_ENDIAN_BITFIELD
858 #ifdef __BIG_ENDIAN_BITFIELD
884 #ifdef __BIG_ENDIAN_BITFIELD
920 #ifdef __BIG_ENDIAN_BITFIELD
954 #ifdef __BIG_ENDIAN_BITFIELD
982 #ifdef __BIG_ENDIAN_BITFIELD