Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs
hubni.h File Reference
#include <linux/types.h>

Go to the source code of this file.

Data Structures

union  hubni_port_error_u
 

Macros

#define NI_BASE   0x600000
 
#define NI_BASE_TABLES   0x630000
 
#define NI_STATUS_REV_ID   0x600000 /* Hub network status, rev, and ID */
 
#define NI_PORT_RESET   0x600008 /* Reset the network interface */
 
#define NI_PROTECTION   0x600010 /* NI register access permissions */
 
#define NI_GLOBAL_PARMS   0x600018 /* LLP parameters */
 
#define NI_SCRATCH_REG0   0x600100 /* Scratch register 0 (64 bits) */
 
#define NI_SCRATCH_REG1   0x600108 /* Scratch register 1 (64 bits) */
 
#define NI_DIAG_PARMS   0x600110 /* Parameters for diags */
 
#define NI_VECTOR_PARMS   0x600200 /* Vector PIO routing parameters */
 
#define NI_VECTOR   0x600208 /* Vector PIO route */
 
#define NI_VECTOR_DATA   0x600210 /* Vector PIO data */
 
#define NI_VECTOR_STATUS   0x600300 /* Vector PIO return status */
 
#define NI_RETURN_VECTOR   0x600308 /* Vector PIO return vector */
 
#define NI_VECTOR_READ_DATA   0x600310 /* Vector PIO read data */
 
#define NI_VECTOR_CLEAR   0x600380 /* Vector PIO read & clear status */
 
#define NI_IO_PROTECT   0x600400 /* PIO protection bits */
 
#define NI_IO_PROT_OVRRD   0x600408 /* PIO protection bit override */
 
#define NI_AGE_CPU0_MEMORY   0x600500 /* CPU 0 memory age control */
 
#define NI_AGE_CPU0_PIO   0x600508 /* CPU 0 PIO age control */
 
#define NI_AGE_CPU1_MEMORY   0x600510 /* CPU 1 memory age control */
 
#define NI_AGE_CPU1_PIO   0x600518 /* CPU 1 PIO age control */
 
#define NI_AGE_GBR_MEMORY   0x600520 /* GBR memory age control */
 
#define NI_AGE_GBR_PIO   0x600528 /* GBR PIO age control */
 
#define NI_AGE_IO_MEMORY   0x600530 /* IO memory age control */
 
#define NI_AGE_IO_PIO   0x600538 /* IO PIO age control */
 
#define NI_AGE_REG_MIN   NI_AGE_CPU0_MEMORY
 
#define NI_AGE_REG_MAX   NI_AGE_IO_PIO
 
#define NI_PORT_PARMS   0x608000 /* LLP Parameters */
 
#define NI_PORT_ERROR   0x608008 /* LLP Errors */
 
#define NI_PORT_ERROR_CLEAR   0x608088 /* Clear the error bits */
 
#define NI_META_TABLE0   0x638000 /* First meta routing table entry */
 
#define NI_META_TABLE(_x)   (NI_META_TABLE0 + (8 * (_x)))
 
#define NI_META_ENTRIES   32
 
#define NI_LOCAL_TABLE0   0x638100 /* First local routing table entry */
 
#define NI_LOCAL_TABLE(_x)   (NI_LOCAL_TABLE0 + (8 * (_x)))
 
#define NI_LOCAL_ENTRIES   16
 
#define NSRI_8BITMODE_SHFT   30
 
#define NSRI_8BITMODE_MASK   (UINT64_CAST 0x1 << 30)
 
#define NSRI_LINKUP_SHFT   29
 
#define NSRI_LINKUP_MASK   (UINT64_CAST 0x1 << 29)
 
#define NSRI_DOWNREASON_SHFT   28 /* 0=failed, 1=never came */
 
#define NSRI_DOWNREASON_MASK   (UINT64_CAST 0x1 << 28) /* out of reset. */
 
#define NSRI_MORENODES_SHFT   18
 
#define NSRI_MORENODES_MASK   (UINT64_CAST 1 << 18) /* Max. # of nodes */
 
#define MORE_MEMORY   0
 
#define MORE_NODES   1
 
#define NSRI_REGIONSIZE_SHFT   17
 
#define NSRI_REGIONSIZE_MASK   (UINT64_CAST 1 << 17) /* Granularity */
 
#define REGIONSIZE_FINE   1
 
#define REGIONSIZE_COARSE   0
 
#define NSRI_NODEID_SHFT   8
 
#define NSRI_NODEID_MASK   (UINT64_CAST 0x1ff << 8)/* Node (Hub) ID */
 
#define NSRI_REV_SHFT   4
 
#define NSRI_REV_MASK   (UINT64_CAST 0xf << 4) /* Chip Revision */
 
#define NSRI_CHIPID_SHFT   0
 
#define NSRI_CHIPID_MASK   (UINT64_CAST 0xf) /* Chip type ID */
 
#define NASID_TO_FINEREG_SHFT   0
 
#define NASID_TO_COARSEREG_SHFT   3
 
#define NPR_PORTRESET   (UINT64_CAST 1 << 7) /* Send warm reset */
 
#define NPR_LINKRESET   (UINT64_CAST 1 << 1) /* Send link reset */
 
#define NPR_LOCALRESET   (UINT64_CAST 1) /* Reset entire hub */
 
#define NPROT_RESETOK   (UINT64_CAST 1)
 
#define NGP_MAXRETRY_SHFT   48 /* Maximum retries */
 
#define NGP_MAXRETRY_MASK   (UINT64_CAST 0x3ff << 48)
 
#define NGP_TAILTOWRAP_SHFT   32 /* Tail timeout wrap */
 
#define NGP_TAILTOWRAP_MASK   (UINT64_CAST 0xffff << 32)
 
#define NGP_CREDITTOVAL_SHFT   16 /* Tail timeout wrap */
 
#define NGP_CREDITTOVAL_MASK   (UINT64_CAST 0xf << 16)
 
#define NGP_TAILTOVAL_SHFT   4 /* Tail timeout value */
 
#define NGP_TAILTOVAL_MASK   (UINT64_CAST 0xf << 4)
 
#define NDP_PORTTORESET   (UINT64_CAST 1 << 18) /* Port tmout reset */
 
#define NDP_LLP8BITMODE   (UINT64_CAST 1 << 12) /* LLP 8-bit mode */
 
#define NDP_PORTDISABLE   (UINT64_CAST 1 << 6) /* Port disable */
 
#define NDP_SENDERROR   (UINT64_CAST 1) /* Send data error */
 
#define NVP_PIOID_SHFT   40
 
#define NVP_PIOID_MASK   (UINT64_CAST 0x3ff << 40)
 
#define NVP_WRITEID_SHFT   32
 
#define NVP_WRITEID_MASK   (UINT64_CAST 0xff << 32)
 
#define NVP_ADDRESS_MASK   (UINT64_CAST 0xffff8) /* Bits 19:3 */
 
#define NVP_TYPE_SHFT   0
 
#define NVP_TYPE_MASK   (UINT64_CAST 0x3)
 
#define NVS_VALID   (UINT64_CAST 1 << 63)
 
#define NVS_OVERRUN   (UINT64_CAST 1 << 62)
 
#define NVS_TARGET_SHFT   51
 
#define NVS_TARGET_MASK   (UINT64_CAST 0x3ff << 51)
 
#define NVS_PIOID_SHFT   40
 
#define NVS_PIOID_MASK   (UINT64_CAST 0x3ff << 40)
 
#define NVS_WRITEID_SHFT   32
 
#define NVS_WRITEID_MASK   (UINT64_CAST 0xff << 32)
 
#define NVS_ADDRESS_MASK   (UINT64_CAST 0xfffffff8) /* Bits 31:3 */
 
#define NVS_TYPE_SHFT   0
 
#define NVS_TYPE_MASK   (UINT64_CAST 0x7)
 
#define NVS_ERROR_MASK   (UINT64_CAST 0x4) /* bit set means error */
 
#define PIOTYPE_READ   0 /* VECTOR_PARMS and VECTOR_STATUS */
 
#define PIOTYPE_WRITE   1 /* VECTOR_PARMS and VECTOR_STATUS */
 
#define PIOTYPE_UNDEFINED   2 /* VECTOR_PARMS and VECTOR_STATUS */
 
#define PIOTYPE_EXCHANGE   3 /* VECTOR_PARMS and VECTOR_STATUS */
 
#define PIOTYPE_ADDR_ERR   4 /* VECTOR_STATUS only */
 
#define PIOTYPE_CMD_ERR   5 /* VECTOR_STATUS only */
 
#define PIOTYPE_PROT_ERR   6 /* VECTOR_STATUS only */
 
#define PIOTYPE_UNKNOWN   7 /* VECTOR_STATUS only */
 
#define NAGE_VCH_SHFT   10
 
#define NAGE_VCH_MASK   (UINT64_CAST 3 << 10)
 
#define NAGE_CC_SHFT   8
 
#define NAGE_CC_MASK   (UINT64_CAST 3 << 8)
 
#define NAGE_AGE_SHFT   0
 
#define NAGE_AGE_MASK   (UINT64_CAST 0xff)
 
#define NAGE_MASK   (NAGE_VCH_MASK | NAGE_CC_MASK | NAGE_AGE_MASK)
 
#define VCHANNEL_A   0
 
#define VCHANNEL_B   1
 
#define VCHANNEL_ANY   2
 
#define NPP_NULLTO_SHFT   10
 
#define NPP_NULLTO_MASK   (UINT64_CAST 0x3f << 16)
 
#define NPP_MAXBURST_SHFT   0
 
#define NPP_MAXBURST_MASK   (UINT64_CAST 0x3ff)
 
#define NPP_RESET_DFLT_HUB20
 
#define NPP_RESET_DEFAULTS
 
#define NPE_LINKRESET   (UINT64_CAST 1 << 37)
 
#define NPE_INTERNALERROR   (UINT64_CAST 1 << 36)
 
#define NPE_BADMESSAGE   (UINT64_CAST 1 << 35)
 
#define NPE_BADDEST   (UINT64_CAST 1 << 34)
 
#define NPE_FIFOOVERFLOW   (UINT64_CAST 1 << 33)
 
#define NPE_CREDITTO_SHFT   28
 
#define NPE_CREDITTO_MASK   (UINT64_CAST 0xf << 28)
 
#define NPE_TAILTO_SHFT   24
 
#define NPE_TAILTO_MASK   (UINT64_CAST 0xf << 24)
 
#define NPE_RETRYCOUNT_SHFT   16
 
#define NPE_RETRYCOUNT_MASK   (UINT64_CAST 0xff << 16)
 
#define NPE_CBERRCOUNT_SHFT   8
 
#define NPE_CBERRCOUNT_MASK   (UINT64_CAST 0xff << 8)
 
#define NPE_SNERRCOUNT_SHFT   0
 
#define NPE_SNERRCOUNT_MASK   (UINT64_CAST 0xff << 0)
 
#define NPE_MASK   0x3effffffff
 
#define NPE_COUNT_MAX   0xff
 
#define NPE_FATAL_ERRORS
 
#define NMT_EXIT_PORT_MASK   (UINT64_CAST 0xf)
 
#define NLT_EXIT_PORT_MASK   (UINT64_CAST 0xf)
 
#define NI_LLP_RETRY_MAX   0xff
 
#define NI_LLP_CB_MAX   0xff
 
#define NI_LLP_SN_MAX   0xff
 

Typedefs

typedef union hubni_port_error_u hubni_port_error_t
 

Macro Definition Documentation

#define MORE_MEMORY   0

Definition at line 82 of file hubni.h.

#define MORE_NODES   1

Definition at line 83 of file hubni.h.

#define NAGE_AGE_MASK   (UINT64_CAST 0xff)

Definition at line 176 of file hubni.h.

#define NAGE_AGE_SHFT   0

Definition at line 175 of file hubni.h.

#define NAGE_CC_MASK   (UINT64_CAST 3 << 8)

Definition at line 174 of file hubni.h.

#define NAGE_CC_SHFT   8

Definition at line 173 of file hubni.h.

#define NAGE_MASK   (NAGE_VCH_MASK | NAGE_CC_MASK | NAGE_AGE_MASK)

Definition at line 177 of file hubni.h.

#define NAGE_VCH_MASK   (UINT64_CAST 3 << 10)

Definition at line 172 of file hubni.h.

#define NAGE_VCH_SHFT   10

Definition at line 171 of file hubni.h.

#define NASID_TO_COARSEREG_SHFT   3

Definition at line 100 of file hubni.h.

#define NASID_TO_FINEREG_SHFT   0

Definition at line 99 of file hubni.h.

#define NDP_LLP8BITMODE   (UINT64_CAST 1 << 12) /* LLP 8-bit mode */

Definition at line 127 of file hubni.h.

#define NDP_PORTDISABLE   (UINT64_CAST 1 << 6) /* Port disable */

Definition at line 128 of file hubni.h.

#define NDP_PORTTORESET   (UINT64_CAST 1 << 18) /* Port tmout reset */

Definition at line 126 of file hubni.h.

#define NDP_SENDERROR   (UINT64_CAST 1) /* Send data error */

Definition at line 129 of file hubni.h.

#define NGP_CREDITTOVAL_MASK   (UINT64_CAST 0xf << 16)

Definition at line 120 of file hubni.h.

#define NGP_CREDITTOVAL_SHFT   16 /* Tail timeout wrap */

Definition at line 119 of file hubni.h.

#define NGP_MAXRETRY_MASK   (UINT64_CAST 0x3ff << 48)

Definition at line 115 of file hubni.h.

#define NGP_MAXRETRY_SHFT   48 /* Maximum retries */

Definition at line 114 of file hubni.h.

#define NGP_TAILTOVAL_MASK   (UINT64_CAST 0xf << 4)

Definition at line 122 of file hubni.h.

#define NGP_TAILTOVAL_SHFT   4 /* Tail timeout value */

Definition at line 121 of file hubni.h.

#define NGP_TAILTOWRAP_MASK   (UINT64_CAST 0xffff << 32)

Definition at line 117 of file hubni.h.

#define NGP_TAILTOWRAP_SHFT   32 /* Tail timeout wrap */

Definition at line 116 of file hubni.h.

#define NI_AGE_CPU0_MEMORY   0x600500 /* CPU 0 memory age control */

Definition at line 46 of file hubni.h.

#define NI_AGE_CPU0_PIO   0x600508 /* CPU 0 PIO age control */

Definition at line 47 of file hubni.h.

#define NI_AGE_CPU1_MEMORY   0x600510 /* CPU 1 memory age control */

Definition at line 48 of file hubni.h.

#define NI_AGE_CPU1_PIO   0x600518 /* CPU 1 PIO age control */

Definition at line 49 of file hubni.h.

#define NI_AGE_GBR_MEMORY   0x600520 /* GBR memory age control */

Definition at line 50 of file hubni.h.

#define NI_AGE_GBR_PIO   0x600528 /* GBR PIO age control */

Definition at line 51 of file hubni.h.

#define NI_AGE_IO_MEMORY   0x600530 /* IO memory age control */

Definition at line 52 of file hubni.h.

#define NI_AGE_IO_PIO   0x600538 /* IO PIO age control */

Definition at line 53 of file hubni.h.

#define NI_AGE_REG_MAX   NI_AGE_IO_PIO

Definition at line 55 of file hubni.h.

#define NI_AGE_REG_MIN   NI_AGE_CPU0_MEMORY

Definition at line 54 of file hubni.h.

#define NI_BASE   0x600000

Definition at line 24 of file hubni.h.

#define NI_BASE_TABLES   0x630000

Definition at line 25 of file hubni.h.

#define NI_DIAG_PARMS   0x600110 /* Parameters for diags */

Definition at line 33 of file hubni.h.

#define NI_GLOBAL_PARMS   0x600018 /* LLP parameters */

Definition at line 30 of file hubni.h.

#define NI_IO_PROT_OVRRD   0x600408 /* PIO protection bit override */

Definition at line 44 of file hubni.h.

#define NI_IO_PROTECT   0x600400 /* PIO protection bits */

Definition at line 43 of file hubni.h.

#define NI_LLP_CB_MAX   0xff

Definition at line 250 of file hubni.h.

#define NI_LLP_RETRY_MAX   0xff

Definition at line 249 of file hubni.h.

#define NI_LLP_SN_MAX   0xff

Definition at line 251 of file hubni.h.

#define NI_LOCAL_ENTRIES   16

Definition at line 67 of file hubni.h.

#define NI_LOCAL_TABLE (   _x)    (NI_LOCAL_TABLE0 + (8 * (_x)))

Definition at line 66 of file hubni.h.

#define NI_LOCAL_TABLE0   0x638100 /* First local routing table entry */

Definition at line 65 of file hubni.h.

#define NI_META_ENTRIES   32

Definition at line 63 of file hubni.h.

#define NI_META_TABLE (   _x)    (NI_META_TABLE0 + (8 * (_x)))

Definition at line 62 of file hubni.h.

#define NI_META_TABLE0   0x638000 /* First meta routing table entry */

Definition at line 61 of file hubni.h.

#define NI_PORT_ERROR   0x608008 /* LLP Errors */

Definition at line 58 of file hubni.h.

#define NI_PORT_ERROR_CLEAR   0x608088 /* Clear the error bits */

Definition at line 59 of file hubni.h.

#define NI_PORT_PARMS   0x608000 /* LLP Parameters */

Definition at line 57 of file hubni.h.

#define NI_PORT_RESET   0x600008 /* Reset the network interface */

Definition at line 28 of file hubni.h.

#define NI_PROTECTION   0x600010 /* NI register access permissions */

Definition at line 29 of file hubni.h.

#define NI_RETURN_VECTOR   0x600308 /* Vector PIO return vector */

Definition at line 39 of file hubni.h.

#define NI_SCRATCH_REG0   0x600100 /* Scratch register 0 (64 bits) */

Definition at line 31 of file hubni.h.

#define NI_SCRATCH_REG1   0x600108 /* Scratch register 1 (64 bits) */

Definition at line 32 of file hubni.h.

#define NI_STATUS_REV_ID   0x600000 /* Hub network status, rev, and ID */

Definition at line 27 of file hubni.h.

#define NI_VECTOR   0x600208 /* Vector PIO route */

Definition at line 36 of file hubni.h.

#define NI_VECTOR_CLEAR   0x600380 /* Vector PIO read & clear status */

Definition at line 41 of file hubni.h.

#define NI_VECTOR_DATA   0x600210 /* Vector PIO data */

Definition at line 37 of file hubni.h.

#define NI_VECTOR_PARMS   0x600200 /* Vector PIO routing parameters */

Definition at line 35 of file hubni.h.

#define NI_VECTOR_READ_DATA   0x600310 /* Vector PIO read data */

Definition at line 40 of file hubni.h.

#define NI_VECTOR_STATUS   0x600300 /* Vector PIO return status */

Definition at line 38 of file hubni.h.

#define NLT_EXIT_PORT_MASK   (UINT64_CAST 0xf)

Definition at line 227 of file hubni.h.

#define NMT_EXIT_PORT_MASK   (UINT64_CAST 0xf)

Definition at line 223 of file hubni.h.

#define NPE_BADDEST   (UINT64_CAST 1 << 34)

Definition at line 200 of file hubni.h.

#define NPE_BADMESSAGE   (UINT64_CAST 1 << 35)

Definition at line 199 of file hubni.h.

#define NPE_CBERRCOUNT_MASK   (UINT64_CAST 0xff << 8)

Definition at line 209 of file hubni.h.

#define NPE_CBERRCOUNT_SHFT   8

Definition at line 208 of file hubni.h.

#define NPE_COUNT_MAX   0xff

Definition at line 214 of file hubni.h.

#define NPE_CREDITTO_MASK   (UINT64_CAST 0xf << 28)

Definition at line 203 of file hubni.h.

#define NPE_CREDITTO_SHFT   28

Definition at line 202 of file hubni.h.

#define NPE_FATAL_ERRORS
Value:
NPE_BADMESSAGE | NPE_BADDEST | \
NPE_FIFOOVERFLOW | NPE_CREDITTO_MASK | \
NPE_TAILTO_MASK)

Definition at line 216 of file hubni.h.

#define NPE_FIFOOVERFLOW   (UINT64_CAST 1 << 33)

Definition at line 201 of file hubni.h.

#define NPE_INTERNALERROR   (UINT64_CAST 1 << 36)

Definition at line 198 of file hubni.h.

#define NPE_LINKRESET   (UINT64_CAST 1 << 37)

Definition at line 197 of file hubni.h.

#define NPE_MASK   0x3effffffff

Definition at line 212 of file hubni.h.

#define NPE_RETRYCOUNT_MASK   (UINT64_CAST 0xff << 16)

Definition at line 207 of file hubni.h.

#define NPE_RETRYCOUNT_SHFT   16

Definition at line 206 of file hubni.h.

#define NPE_SNERRCOUNT_MASK   (UINT64_CAST 0xff << 0)

Definition at line 211 of file hubni.h.

#define NPE_SNERRCOUNT_SHFT   0

Definition at line 210 of file hubni.h.

#define NPE_TAILTO_MASK   (UINT64_CAST 0xf << 24)

Definition at line 205 of file hubni.h.

#define NPE_TAILTO_SHFT   24

Definition at line 204 of file hubni.h.

#define NPP_MAXBURST_MASK   (UINT64_CAST 0x3ff)

Definition at line 188 of file hubni.h.

#define NPP_MAXBURST_SHFT   0

Definition at line 187 of file hubni.h.

#define NPP_NULLTO_MASK   (UINT64_CAST 0x3f << 16)

Definition at line 186 of file hubni.h.

#define NPP_NULLTO_SHFT   10

Definition at line 185 of file hubni.h.

#define NPP_RESET_DEFAULTS
Value:

Definition at line 191 of file hubni.h.

#define NPP_RESET_DFLT_HUB20
Value:

Definition at line 189 of file hubni.h.

#define NPR_LINKRESET   (UINT64_CAST 1 << 1) /* Send link reset */

Definition at line 105 of file hubni.h.

#define NPR_LOCALRESET   (UINT64_CAST 1) /* Reset entire hub */

Definition at line 106 of file hubni.h.

#define NPR_PORTRESET   (UINT64_CAST 1 << 7) /* Send warm reset */

Definition at line 104 of file hubni.h.

#define NPROT_RESETOK   (UINT64_CAST 1)

Definition at line 110 of file hubni.h.

#define NSRI_8BITMODE_MASK   (UINT64_CAST 0x1 << 30)

Definition at line 75 of file hubni.h.

#define NSRI_8BITMODE_SHFT   30

Definition at line 74 of file hubni.h.

#define NSRI_CHIPID_MASK   (UINT64_CAST 0xf) /* Chip type ID */

Definition at line 93 of file hubni.h.

#define NSRI_CHIPID_SHFT   0

Definition at line 92 of file hubni.h.

#define NSRI_DOWNREASON_MASK   (UINT64_CAST 0x1 << 28) /* out of reset. */

Definition at line 79 of file hubni.h.

#define NSRI_DOWNREASON_SHFT   28 /* 0=failed, 1=never came */

Definition at line 78 of file hubni.h.

#define NSRI_LINKUP_MASK   (UINT64_CAST 0x1 << 29)

Definition at line 77 of file hubni.h.

#define NSRI_LINKUP_SHFT   29

Definition at line 76 of file hubni.h.

#define NSRI_MORENODES_MASK   (UINT64_CAST 1 << 18) /* Max. # of nodes */

Definition at line 81 of file hubni.h.

#define NSRI_MORENODES_SHFT   18

Definition at line 80 of file hubni.h.

#define NSRI_NODEID_MASK   (UINT64_CAST 0x1ff << 8)/* Node (Hub) ID */

Definition at line 89 of file hubni.h.

#define NSRI_NODEID_SHFT   8

Definition at line 88 of file hubni.h.

#define NSRI_REGIONSIZE_MASK   (UINT64_CAST 1 << 17) /* Granularity */

Definition at line 85 of file hubni.h.

#define NSRI_REGIONSIZE_SHFT   17

Definition at line 84 of file hubni.h.

#define NSRI_REV_MASK   (UINT64_CAST 0xf << 4) /* Chip Revision */

Definition at line 91 of file hubni.h.

#define NSRI_REV_SHFT   4

Definition at line 90 of file hubni.h.

#define NVP_ADDRESS_MASK   (UINT64_CAST 0xffff8) /* Bits 19:3 */

Definition at line 140 of file hubni.h.

#define NVP_PIOID_MASK   (UINT64_CAST 0x3ff << 40)

Definition at line 137 of file hubni.h.

#define NVP_PIOID_SHFT   40

Definition at line 136 of file hubni.h.

#define NVP_TYPE_MASK   (UINT64_CAST 0x3)

Definition at line 142 of file hubni.h.

#define NVP_TYPE_SHFT   0

Definition at line 141 of file hubni.h.

#define NVP_WRITEID_MASK   (UINT64_CAST 0xff << 32)

Definition at line 139 of file hubni.h.

#define NVP_WRITEID_SHFT   32

Definition at line 138 of file hubni.h.

#define NVS_ADDRESS_MASK   (UINT64_CAST 0xfffffff8) /* Bits 31:3 */

Definition at line 154 of file hubni.h.

#define NVS_ERROR_MASK   (UINT64_CAST 0x4) /* bit set means error */

Definition at line 157 of file hubni.h.

#define NVS_OVERRUN   (UINT64_CAST 1 << 62)

Definition at line 147 of file hubni.h.

#define NVS_PIOID_MASK   (UINT64_CAST 0x3ff << 40)

Definition at line 151 of file hubni.h.

#define NVS_PIOID_SHFT   40

Definition at line 150 of file hubni.h.

#define NVS_TARGET_MASK   (UINT64_CAST 0x3ff << 51)

Definition at line 149 of file hubni.h.

#define NVS_TARGET_SHFT   51

Definition at line 148 of file hubni.h.

#define NVS_TYPE_MASK   (UINT64_CAST 0x7)

Definition at line 156 of file hubni.h.

#define NVS_TYPE_SHFT   0

Definition at line 155 of file hubni.h.

#define NVS_VALID   (UINT64_CAST 1 << 63)

Definition at line 146 of file hubni.h.

#define NVS_WRITEID_MASK   (UINT64_CAST 0xff << 32)

Definition at line 153 of file hubni.h.

#define NVS_WRITEID_SHFT   32

Definition at line 152 of file hubni.h.

#define PIOTYPE_ADDR_ERR   4 /* VECTOR_STATUS only */

Definition at line 164 of file hubni.h.

#define PIOTYPE_CMD_ERR   5 /* VECTOR_STATUS only */

Definition at line 165 of file hubni.h.

#define PIOTYPE_EXCHANGE   3 /* VECTOR_PARMS and VECTOR_STATUS */

Definition at line 163 of file hubni.h.

#define PIOTYPE_PROT_ERR   6 /* VECTOR_STATUS only */

Definition at line 166 of file hubni.h.

#define PIOTYPE_READ   0 /* VECTOR_PARMS and VECTOR_STATUS */

Definition at line 160 of file hubni.h.

#define PIOTYPE_UNDEFINED   2 /* VECTOR_PARMS and VECTOR_STATUS */

Definition at line 162 of file hubni.h.

#define PIOTYPE_UNKNOWN   7 /* VECTOR_STATUS only */

Definition at line 167 of file hubni.h.

#define PIOTYPE_WRITE   1 /* VECTOR_PARMS and VECTOR_STATUS */

Definition at line 161 of file hubni.h.

#define REGIONSIZE_COARSE   0

Definition at line 87 of file hubni.h.

#define REGIONSIZE_FINE   1

Definition at line 86 of file hubni.h.

#define VCHANNEL_A   0

Definition at line 179 of file hubni.h.

#define VCHANNEL_ANY   2

Definition at line 181 of file hubni.h.

#define VCHANNEL_B   1

Definition at line 180 of file hubni.h.

Typedef Documentation