Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs
shubio.h File Reference

Go to the source code of this file.

Data Structures

union  ii_wid_u
 
union  ii_wstat_u
 
union  ii_wcr_u
 
union  ii_ilapr_u
 
union  ii_ilapo_u
 
union  ii_iowa_u
 
union  ii_iiwa_u
 
union  ii_iidem_u
 
union  ii_ilcsr_u
 
union  ii_illr_u
 
union  ii_iidsr_u
 
union  ii_igfx0_u
 
union  ii_igfx1_u
 
union  ii_iscr0_u
 
union  ii_iscr1_u
 
union  ii_itte1_u
 
union  ii_itte2_u
 
union  ii_itte3_u
 
union  ii_itte4_u
 
union  ii_itte5_u
 
union  ii_itte6_u
 
union  ii_itte7_u
 
union  ii_iprb0_u
 
union  ii_iprb8_u
 
union  ii_iprb9_u
 
union  ii_iprba_u
 
union  ii_iprbb_u
 
union  ii_iprbc_u
 
union  ii_iprbd_u
 
union  ii_iprbe_u
 
union  ii_iprbf_u
 
union  ii_ixcc_u
 
union  ii_imem_u
 
union  ii_ixtt_u
 
union  ii_ieclr_u
 
union  ii_ibcr_u
 
union  ii_ixsm_u
 
union  ii_ixss_u
 
union  ii_ilct_u
 
union  ii_iieph1_u
 
union  ii_iieph2_u
 
union  ii_islapr_u
 
union  ii_islapo_u
 
union  ii_iwi_u
 
union  ii_iwel_u
 
union  ii_iwc_u
 
union  ii_iws_u
 
union  ii_iweim_u
 
union  ii_ipca_u
 
union  ii_iprte0a_u
 
union  ii_iprte1a_u
 
union  ii_iprte2a_u
 
union  ii_iprte3a_u
 
union  ii_iprte4a_u
 
union  ii_iprte5a_u
 
union  ii_iprte6a_u
 
union  ii_iprte7a_u
 
union  ii_iprte0b_u
 
union  ii_iprte1b_u
 
union  ii_iprte2b_u
 
union  ii_iprte3b_u
 
union  ii_iprte4b_u
 
union  ii_iprte5b_u
 
union  ii_iprte6b_u
 
union  ii_iprte7b_u
 
union  ii_ipdr_u
 
union  ii_icdr_u
 
union  ii_ifdr_u
 
union  ii_iiap_u
 
union  ii_icmr_u
 
union  ii_iccr_u
 
union  ii_icto_u
 
union  ii_ictp_u
 
union  ii_icrb0_a_u
 
union  ii_icrb0_b_u
 
union  ii_icrb0_c_u
 
union  ii_icrb0_d_u
 
union  ii_icrb0_e_u
 
union  ii_icsml_u
 
union  ii_icsmm_u
 
union  ii_icsmh_u
 
union  ii_idbss_u
 
union  ii_ibls0_u
 
union  ii_ibsa0_u
 
union  ii_ibda0_u
 
union  ii_ibct0_u
 
union  ii_ibna0_u
 
union  ii_ibia0_u
 
union  ii_ibls1_u
 
union  ii_ibsa1_u
 
union  ii_ibda1_u
 
union  ii_ibct1_u
 
union  ii_ibna1_u
 
union  ii_ibia1_u
 
union  ii_ipcr_u
 
union  ii_ippr_u
 
union  hubii_wcr_u
 
union  io_perf_sel
 
union  io_perf_cnt
 
union  iprte_a
 

Macros

#define HUB_WIDGET_ID_MAX   0xf
 
#define IIO_NUM_ITTES   7
 
#define HUB_NUM_BIG_WINDOW   (IIO_NUM_ITTES - 1)
 
#define IIO_WID   0x00400000 /* Crosstalk Widget Identification */
 
#define IIO_WSTAT   0x00400008 /* Crosstalk Widget Status */
 
#define IIO_WCR   0x00400020 /* Crosstalk Widget Control Register */
 
#define IIO_ILAPR   0x00400100 /* IO Local Access Protection Register */
 
#define IIO_ILAPO   0x00400108 /* IO Local Access Protection Override */
 
#define IIO_IOWA   0x00400110 /* IO Outbound Widget Access */
 
#define IIO_IIWA   0x00400118 /* IO Inbound Widget Access */
 
#define IIO_IIDEM   0x00400120 /* IO Inbound Device Error Mask */
 
#define IIO_ILCSR   0x00400128 /* IO LLP Control and Status Register */
 
#define IIO_ILLR   0x00400130 /* IO LLP Log Register */
 
#define IIO_IIDSR   0x00400138 /* IO Interrupt Destination */
 
#define IIO_IGFX0   0x00400140 /* IO Graphics Node-Widget Map 0 */
 
#define IIO_IGFX1   0x00400148 /* IO Graphics Node-Widget Map 1 */
 
#define IIO_ISCR0   0x00400150 /* IO Scratch Register 0 */
 
#define IIO_ISCR1   0x00400158 /* IO Scratch Register 1 */
 
#define IIO_ITTE1   0x00400160 /* IO Translation Table Entry 1 */
 
#define IIO_ITTE2   0x00400168 /* IO Translation Table Entry 2 */
 
#define IIO_ITTE3   0x00400170 /* IO Translation Table Entry 3 */
 
#define IIO_ITTE4   0x00400178 /* IO Translation Table Entry 4 */
 
#define IIO_ITTE5   0x00400180 /* IO Translation Table Entry 5 */
 
#define IIO_ITTE6   0x00400188 /* IO Translation Table Entry 6 */
 
#define IIO_ITTE7   0x00400190 /* IO Translation Table Entry 7 */
 
#define IIO_IPRB0   0x00400198 /* IO PRB Entry 0 */
 
#define IIO_IPRB8   0x004001A0 /* IO PRB Entry 8 */
 
#define IIO_IPRB9   0x004001A8 /* IO PRB Entry 9 */
 
#define IIO_IPRBA   0x004001B0 /* IO PRB Entry A */
 
#define IIO_IPRBB   0x004001B8 /* IO PRB Entry B */
 
#define IIO_IPRBC   0x004001C0 /* IO PRB Entry C */
 
#define IIO_IPRBD   0x004001C8 /* IO PRB Entry D */
 
#define IIO_IPRBE   0x004001D0 /* IO PRB Entry E */
 
#define IIO_IPRBF   0x004001D8 /* IO PRB Entry F */
 
#define IIO_IXCC   0x004001E0 /* IO Crosstalk Credit Count Timeout */
 
#define IIO_IMEM   0x004001E8 /* IO Miscellaneous Error Mask */
 
#define IIO_IXTT   0x004001F0 /* IO Crosstalk Timeout Threshold */
 
#define IIO_IECLR   0x004001F8 /* IO Error Clear Register */
 
#define IIO_IBCR   0x00400200 /* IO BTE Control Register */
 
#define IIO_IXSM   0x00400208 /* IO Crosstalk Spurious Message */
 
#define IIO_IXSS   0x00400210 /* IO Crosstalk Spurious Sideband */
 
#define IIO_ILCT   0x00400218 /* IO LLP Channel Test */
 
#define IIO_IIEPH1   0x00400220 /* IO Incoming Error Packet Header, Part 1 */
 
#define IIO_IIEPH2   0x00400228 /* IO Incoming Error Packet Header, Part 2 */
 
#define IIO_ISLAPR   0x00400230 /* IO SXB Local Access Protection Regster */
 
#define IIO_ISLAPO   0x00400238 /* IO SXB Local Access Protection Override */
 
#define IIO_IWI   0x00400240 /* IO Wrapper Interrupt Register */
 
#define IIO_IWEL   0x00400248 /* IO Wrapper Error Log Register */
 
#define IIO_IWC   0x00400250 /* IO Wrapper Control Register */
 
#define IIO_IWS   0x00400258 /* IO Wrapper Status Register */
 
#define IIO_IWEIM   0x00400260 /* IO Wrapper Error Interrupt Masking Register */
 
#define IIO_IPCA   0x00400300 /* IO PRB Counter Adjust */
 
#define IIO_IPRTE0_A   0x00400308 /* IO PIO Read Address Table Entry 0, Part A */
 
#define IIO_IPRTE1_A   0x00400310 /* IO PIO Read Address Table Entry 1, Part A */
 
#define IIO_IPRTE2_A   0x00400318 /* IO PIO Read Address Table Entry 2, Part A */
 
#define IIO_IPRTE3_A   0x00400320 /* IO PIO Read Address Table Entry 3, Part A */
 
#define IIO_IPRTE4_A   0x00400328 /* IO PIO Read Address Table Entry 4, Part A */
 
#define IIO_IPRTE5_A   0x00400330 /* IO PIO Read Address Table Entry 5, Part A */
 
#define IIO_IPRTE6_A   0x00400338 /* IO PIO Read Address Table Entry 6, Part A */
 
#define IIO_IPRTE7_A   0x00400340 /* IO PIO Read Address Table Entry 7, Part A */
 
#define IIO_IPRTE0_B   0x00400348 /* IO PIO Read Address Table Entry 0, Part B */
 
#define IIO_IPRTE1_B   0x00400350 /* IO PIO Read Address Table Entry 1, Part B */
 
#define IIO_IPRTE2_B   0x00400358 /* IO PIO Read Address Table Entry 2, Part B */
 
#define IIO_IPRTE3_B   0x00400360 /* IO PIO Read Address Table Entry 3, Part B */
 
#define IIO_IPRTE4_B   0x00400368 /* IO PIO Read Address Table Entry 4, Part B */
 
#define IIO_IPRTE5_B   0x00400370 /* IO PIO Read Address Table Entry 5, Part B */
 
#define IIO_IPRTE6_B   0x00400378 /* IO PIO Read Address Table Entry 6, Part B */
 
#define IIO_IPRTE7_B   0x00400380 /* IO PIO Read Address Table Entry 7, Part B */
 
#define IIO_IPDR   0x00400388 /* IO PIO Deallocation Register */
 
#define IIO_ICDR   0x00400390 /* IO CRB Entry Deallocation Register */
 
#define IIO_IFDR   0x00400398 /* IO IOQ FIFO Depth Register */
 
#define IIO_IIAP   0x004003A0 /* IO IIQ Arbitration Parameters */
 
#define IIO_ICMR   0x004003A8 /* IO CRB Management Register */
 
#define IIO_ICCR   0x004003B0 /* IO CRB Control Register */
 
#define IIO_ICTO   0x004003B8 /* IO CRB Timeout */
 
#define IIO_ICTP   0x004003C0 /* IO CRB Timeout Prescalar */
 
#define IIO_ICRB0_A   0x00400400 /* IO CRB Entry 0_A */
 
#define IIO_ICRB0_B   0x00400408 /* IO CRB Entry 0_B */
 
#define IIO_ICRB0_C   0x00400410 /* IO CRB Entry 0_C */
 
#define IIO_ICRB0_D   0x00400418 /* IO CRB Entry 0_D */
 
#define IIO_ICRB0_E   0x00400420 /* IO CRB Entry 0_E */
 
#define IIO_ICRB1_A   0x00400430 /* IO CRB Entry 1_A */
 
#define IIO_ICRB1_B   0x00400438 /* IO CRB Entry 1_B */
 
#define IIO_ICRB1_C   0x00400440 /* IO CRB Entry 1_C */
 
#define IIO_ICRB1_D   0x00400448 /* IO CRB Entry 1_D */
 
#define IIO_ICRB1_E   0x00400450 /* IO CRB Entry 1_E */
 
#define IIO_ICRB2_A   0x00400460 /* IO CRB Entry 2_A */
 
#define IIO_ICRB2_B   0x00400468 /* IO CRB Entry 2_B */
 
#define IIO_ICRB2_C   0x00400470 /* IO CRB Entry 2_C */
 
#define IIO_ICRB2_D   0x00400478 /* IO CRB Entry 2_D */
 
#define IIO_ICRB2_E   0x00400480 /* IO CRB Entry 2_E */
 
#define IIO_ICRB3_A   0x00400490 /* IO CRB Entry 3_A */
 
#define IIO_ICRB3_B   0x00400498 /* IO CRB Entry 3_B */
 
#define IIO_ICRB3_C   0x004004a0 /* IO CRB Entry 3_C */
 
#define IIO_ICRB3_D   0x004004a8 /* IO CRB Entry 3_D */
 
#define IIO_ICRB3_E   0x004004b0 /* IO CRB Entry 3_E */
 
#define IIO_ICRB4_A   0x004004c0 /* IO CRB Entry 4_A */
 
#define IIO_ICRB4_B   0x004004c8 /* IO CRB Entry 4_B */
 
#define IIO_ICRB4_C   0x004004d0 /* IO CRB Entry 4_C */
 
#define IIO_ICRB4_D   0x004004d8 /* IO CRB Entry 4_D */
 
#define IIO_ICRB4_E   0x004004e0 /* IO CRB Entry 4_E */
 
#define IIO_ICRB5_A   0x004004f0 /* IO CRB Entry 5_A */
 
#define IIO_ICRB5_B   0x004004f8 /* IO CRB Entry 5_B */
 
#define IIO_ICRB5_C   0x00400500 /* IO CRB Entry 5_C */
 
#define IIO_ICRB5_D   0x00400508 /* IO CRB Entry 5_D */
 
#define IIO_ICRB5_E   0x00400510 /* IO CRB Entry 5_E */
 
#define IIO_ICRB6_A   0x00400520 /* IO CRB Entry 6_A */
 
#define IIO_ICRB6_B   0x00400528 /* IO CRB Entry 6_B */
 
#define IIO_ICRB6_C   0x00400530 /* IO CRB Entry 6_C */
 
#define IIO_ICRB6_D   0x00400538 /* IO CRB Entry 6_D */
 
#define IIO_ICRB6_E   0x00400540 /* IO CRB Entry 6_E */
 
#define IIO_ICRB7_A   0x00400550 /* IO CRB Entry 7_A */
 
#define IIO_ICRB7_B   0x00400558 /* IO CRB Entry 7_B */
 
#define IIO_ICRB7_C   0x00400560 /* IO CRB Entry 7_C */
 
#define IIO_ICRB7_D   0x00400568 /* IO CRB Entry 7_D */
 
#define IIO_ICRB7_E   0x00400570 /* IO CRB Entry 7_E */
 
#define IIO_ICRB8_A   0x00400580 /* IO CRB Entry 8_A */
 
#define IIO_ICRB8_B   0x00400588 /* IO CRB Entry 8_B */
 
#define IIO_ICRB8_C   0x00400590 /* IO CRB Entry 8_C */
 
#define IIO_ICRB8_D   0x00400598 /* IO CRB Entry 8_D */
 
#define IIO_ICRB8_E   0x004005a0 /* IO CRB Entry 8_E */
 
#define IIO_ICRB9_A   0x004005b0 /* IO CRB Entry 9_A */
 
#define IIO_ICRB9_B   0x004005b8 /* IO CRB Entry 9_B */
 
#define IIO_ICRB9_C   0x004005c0 /* IO CRB Entry 9_C */
 
#define IIO_ICRB9_D   0x004005c8 /* IO CRB Entry 9_D */
 
#define IIO_ICRB9_E   0x004005d0 /* IO CRB Entry 9_E */
 
#define IIO_ICRBA_A   0x004005e0 /* IO CRB Entry A_A */
 
#define IIO_ICRBA_B   0x004005e8 /* IO CRB Entry A_B */
 
#define IIO_ICRBA_C   0x004005f0 /* IO CRB Entry A_C */
 
#define IIO_ICRBA_D   0x004005f8 /* IO CRB Entry A_D */
 
#define IIO_ICRBA_E   0x00400600 /* IO CRB Entry A_E */
 
#define IIO_ICRBB_A   0x00400610 /* IO CRB Entry B_A */
 
#define IIO_ICRBB_B   0x00400618 /* IO CRB Entry B_B */
 
#define IIO_ICRBB_C   0x00400620 /* IO CRB Entry B_C */
 
#define IIO_ICRBB_D   0x00400628 /* IO CRB Entry B_D */
 
#define IIO_ICRBB_E   0x00400630 /* IO CRB Entry B_E */
 
#define IIO_ICRBC_A   0x00400640 /* IO CRB Entry C_A */
 
#define IIO_ICRBC_B   0x00400648 /* IO CRB Entry C_B */
 
#define IIO_ICRBC_C   0x00400650 /* IO CRB Entry C_C */
 
#define IIO_ICRBC_D   0x00400658 /* IO CRB Entry C_D */
 
#define IIO_ICRBC_E   0x00400660 /* IO CRB Entry C_E */
 
#define IIO_ICRBD_A   0x00400670 /* IO CRB Entry D_A */
 
#define IIO_ICRBD_B   0x00400678 /* IO CRB Entry D_B */
 
#define IIO_ICRBD_C   0x00400680 /* IO CRB Entry D_C */
 
#define IIO_ICRBD_D   0x00400688 /* IO CRB Entry D_D */
 
#define IIO_ICRBD_E   0x00400690 /* IO CRB Entry D_E */
 
#define IIO_ICRBE_A   0x004006a0 /* IO CRB Entry E_A */
 
#define IIO_ICRBE_B   0x004006a8 /* IO CRB Entry E_B */
 
#define IIO_ICRBE_C   0x004006b0 /* IO CRB Entry E_C */
 
#define IIO_ICRBE_D   0x004006b8 /* IO CRB Entry E_D */
 
#define IIO_ICRBE_E   0x004006c0 /* IO CRB Entry E_E */
 
#define IIO_ICSML   0x00400700 /* IO CRB Spurious Message Low */
 
#define IIO_ICSMM   0x00400708 /* IO CRB Spurious Message Middle */
 
#define IIO_ICSMH   0x00400710 /* IO CRB Spurious Message High */
 
#define IIO_IDBSS   0x00400718 /* IO Debug Submenu Select */
 
#define IIO_IBLS0   0x00410000 /* IO BTE Length Status 0 */
 
#define IIO_IBSA0   0x00410008 /* IO BTE Source Address 0 */
 
#define IIO_IBDA0   0x00410010 /* IO BTE Destination Address 0 */
 
#define IIO_IBCT0   0x00410018 /* IO BTE Control Terminate 0 */
 
#define IIO_IBNA0   0x00410020 /* IO BTE Notification Address 0 */
 
#define IIO_IBIA0   0x00410028 /* IO BTE Interrupt Address 0 */
 
#define IIO_IBLS1   0x00420000 /* IO BTE Length Status 1 */
 
#define IIO_IBSA1   0x00420008 /* IO BTE Source Address 1 */
 
#define IIO_IBDA1   0x00420010 /* IO BTE Destination Address 1 */
 
#define IIO_IBCT1   0x00420018 /* IO BTE Control Terminate 1 */
 
#define IIO_IBNA1   0x00420020 /* IO BTE Notification Address 1 */
 
#define IIO_IBIA1   0x00420028 /* IO BTE Interrupt Address 1 */
 
#define IIO_IPCR   0x00430000 /* IO Performance Control */
 
#define IIO_IPPR   0x00430008 /* IO Performance Profiling */
 
#define IIO_WIDGET   IIO_WID /* Widget identification */
 
#define IIO_WIDGET_STAT   IIO_WSTAT /* Widget status register */
 
#define IIO_WIDGET_CTRL   IIO_WCR /* Widget control register */
 
#define IIO_PROTECT   IIO_ILAPR /* IO interface protection */
 
#define IIO_PROTECT_OVRRD   IIO_ILAPO /* IO protect override */
 
#define IIO_OUTWIDGET_ACCESS   IIO_IOWA /* Outbound widget access */
 
#define IIO_INWIDGET_ACCESS   IIO_IIWA /* Inbound widget access */
 
#define IIO_INDEV_ERR_MASK   IIO_IIDEM /* Inbound device error mask */
 
#define IIO_LLP_CSR   IIO_ILCSR /* LLP control and status */
 
#define IIO_LLP_LOG   IIO_ILLR /* LLP log */
 
#define IIO_XTALKCC_TOUT   IIO_IXCC /* Xtalk credit count timeout */
 
#define IIO_XTALKTT_TOUT   IIO_IXTT /* Xtalk tail timeout */
 
#define IIO_IO_ERR_CLR   IIO_IECLR /* IO error clear */
 
#define IIO_IGFX_0   IIO_IGFX0
 
#define IIO_IGFX_1   IIO_IGFX1
 
#define IIO_IBCT_0   IIO_IBCT0
 
#define IIO_IBCT_1   IIO_IBCT1
 
#define IIO_IBLS_0   IIO_IBLS0
 
#define IIO_IBLS_1   IIO_IBLS1
 
#define IIO_IBSA_0   IIO_IBSA0
 
#define IIO_IBSA_1   IIO_IBSA1
 
#define IIO_IBDA_0   IIO_IBDA0
 
#define IIO_IBDA_1   IIO_IBDA1
 
#define IIO_IBNA_0   IIO_IBNA0
 
#define IIO_IBNA_1   IIO_IBNA1
 
#define IIO_IBIA_0   IIO_IBIA0
 
#define IIO_IBIA_1   IIO_IBIA1
 
#define IIO_IOPRB_0   IIO_IPRB0
 
#define IIO_PRTE_A(_x)   (IIO_IPRTE0_A + (8 * (_x)))
 
#define IIO_PRTE_B(_x)   (IIO_IPRTE0_B + (8 * (_x)))
 
#define IIO_NUM_PRTES   8 /* Total number of PRB table entries */
 
#define IIO_WIDPRTE_A(x)   IIO_PRTE_A(((x) - 8)) /* widget ID to its PRTE num */
 
#define IIO_WIDPRTE_B(x)   IIO_PRTE_B(((x) - 8)) /* widget ID to its PRTE num */
 
#define IIO_NUM_IPRBS   9
 
#define IIO_LLP_CSR_IS_UP   0x00002000
 
#define IIO_LLP_CSR_LLP_STAT_MASK   0x00003000
 
#define IIO_LLP_CSR_LLP_STAT_SHFT   12
 
#define IIO_LLP_CB_MAX   0xffff /* in ILLR CB_CNT, Max Check Bit errors */
 
#define IIO_LLP_SN_MAX   0xffff /* in ILLR SN_CNT, Max Sequence Number errors */
 
#define IIO_PROTECT_OVRRD_KEY   0x53474972756c6573ull /* "SGIrules" */
 
#define IIO_BTE_STAT_0   IIO_IBLS_0 /* Also BTE length/status 0 */
 
#define IIO_BTE_SRC_0   IIO_IBSA_0 /* Also BTE source address 0 */
 
#define IIO_BTE_DEST_0   IIO_IBDA_0 /* Also BTE dest. address 0 */
 
#define IIO_BTE_CTRL_0   IIO_IBCT_0 /* Also BTE control/terminate 0 */
 
#define IIO_BTE_NOTIFY_0   IIO_IBNA_0 /* Also BTE notification 0 */
 
#define IIO_BTE_INT_0   IIO_IBIA_0 /* Also BTE interrupt 0 */
 
#define IIO_BTE_OFF_0   0 /* Base offset from BTE 0 regs. */
 
#define IIO_BTE_OFF_1   (IIO_IBLS_1 - IIO_IBLS_0) /* Offset from base to BTE 1 */
 
#define BTEOFF_STAT   0
 
#define BTEOFF_SRC   (IIO_BTE_SRC_0 - IIO_BTE_STAT_0)
 
#define BTEOFF_DEST   (IIO_BTE_DEST_0 - IIO_BTE_STAT_0)
 
#define BTEOFF_CTRL   (IIO_BTE_CTRL_0 - IIO_BTE_STAT_0)
 
#define BTEOFF_NOTIFY   (IIO_BTE_NOTIFY_0 - IIO_BTE_STAT_0)
 
#define BTEOFF_INT   (IIO_BTE_INT_0 - IIO_BTE_STAT_0)
 
#define IIO_BASE_BTE0   IIO_IBLS_0
 
#define IIO_BASE_BTE1   IIO_IBLS_1
 
#define IIO_IOPRB(_x)
 
#define IIO_IGFX_W_NUM_BITS   4 /* size of widget num field */
 
#define IIO_IGFX_W_NUM_MASK   ((1<<IIO_IGFX_W_NUM_BITS)-1)
 
#define IIO_IGFX_W_NUM_SHIFT   0
 
#define IIO_IGFX_PI_NUM_BITS   1 /* size of PI num field */
 
#define IIO_IGFX_PI_NUM_MASK   ((1<<IIO_IGFX_PI_NUM_BITS)-1)
 
#define IIO_IGFX_PI_NUM_SHIFT   4
 
#define IIO_IGFX_N_NUM_BITS   8 /* size of node num field */
 
#define IIO_IGFX_N_NUM_MASK   ((1<<IIO_IGFX_N_NUM_BITS)-1)
 
#define IIO_IGFX_N_NUM_SHIFT   5
 
#define IIO_IGFX_P_NUM_BITS   1 /* size of processor num field */
 
#define IIO_IGFX_P_NUM_MASK   ((1<<IIO_IGFX_P_NUM_BITS)-1)
 
#define IIO_IGFX_P_NUM_SHIFT   16
 
#define IIO_IGFX_INIT(widget, pi, node, cpu)
 
#define IIO_SCRATCH_REG0   IIO_ISCR0
 
#define IIO_SCRATCH_REG1   IIO_ISCR1
 
#define IIO_SCRATCH_MASK   0xffffffffffffffffUL
 
#define IIO_SCRATCH_BIT0_0   0x0000000000000001UL
 
#define IIO_SCRATCH_BIT0_1   0x0000000000000002UL
 
#define IIO_SCRATCH_BIT0_2   0x0000000000000004UL
 
#define IIO_SCRATCH_BIT0_3   0x0000000000000008UL
 
#define IIO_SCRATCH_BIT0_4   0x0000000000000010UL
 
#define IIO_SCRATCH_BIT0_5   0x0000000000000020UL
 
#define IIO_SCRATCH_BIT0_6   0x0000000000000040UL
 
#define IIO_SCRATCH_BIT0_7   0x0000000000000080UL
 
#define IIO_SCRATCH_BIT0_8   0x0000000000000100UL
 
#define IIO_SCRATCH_BIT0_9   0x0000000000000200UL
 
#define IIO_SCRATCH_BIT0_A   0x0000000000000400UL
 
#define IIO_SCRATCH_BIT1_0   0x0000000000000001UL
 
#define IIO_SCRATCH_BIT1_1   0x0000000000000002UL
 
#define IIO_NUM_ITTES   7 /* ITTEs numbered 0..6 */
 
#define IIO_IMEM_W0ESD   0x1UL /* Widget 0 shut down due to error */
 
#define IIO_IMEM_B0ESD   (1UL << 4) /* BTE 0 shut down due to error */
 
#define IIO_IMEM_B1ESD   (1UL << 8) /* BTE 1 Shut down due to error */
 
#define HUB_NUM_BIG_WINDOW   (IIO_NUM_ITTES - 1)
 
#define SWIN0_BIGWIN   HUB_NUM_BIG_WINDOW
 
#define ILCSR_WARM_RESET   0x100
 
#define IIO_NUM_CRBS   15 /* Number of CRBs */
 
#define IIO_NUM_PC_CRBS   4 /* Number of partial cache CRBs */
 
#define IIO_ICRB_OFFSET   8
 
#define IIO_ICRB_0   IIO_ICRB0_A
 
#define IIO_ICRB_ADDR_SHFT   2 /* Shift to get proper address */
 
#define IIO_ICRB_A(_x)   ((u64)(IIO_ICRB_0 + (6 * IIO_ICRB_OFFSET * (_x))))
 
#define IIO_ICRB_B(_x)   ((u64)((char *)IIO_ICRB_A(_x) + 1*IIO_ICRB_OFFSET))
 
#define IIO_ICRB_C(_x)   ((u64)((char *)IIO_ICRB_A(_x) + 2*IIO_ICRB_OFFSET))
 
#define IIO_ICRB_D(_x)   ((u64)((char *)IIO_ICRB_A(_x) + 3*IIO_ICRB_OFFSET))
 
#define IIO_ICRB_E(_x)   ((u64)((char *)IIO_ICRB_A(_x) + 4*IIO_ICRB_OFFSET))
 
#define TNUM_TO_WIDGET_DEV(_tnum)   (_tnum & 0x7)
 
#define IIO_ICRB_ECODE_DERR   0 /* Directory error due to IIO access */
 
#define IIO_ICRB_ECODE_PERR   1 /* Poison error on IO access */
 
#define IIO_ICRB_ECODE_WERR
 
#define IIO_ICRB_ECODE_AERR   3 /* Access error caused by IIO access */
 
#define IIO_ICRB_ECODE_PWERR   4 /* Error on partial write */
 
#define IIO_ICRB_ECODE_PRERR   5 /* Error on partial read */
 
#define IIO_ICRB_ECODE_TOUT   6 /* CRB timeout before deallocating */
 
#define IIO_ICRB_ECODE_XTERR   7 /* Incoming xtalk pkt had error bit */
 
#define IIO_ICRB_IMSGT_XTALK   0 /* Incoming Meessage from Xtalk */
 
#define IIO_ICRB_IMSGT_BTE   1 /* Incoming message from BTE */
 
#define IIO_ICRB_IMSGT_SN1NET   2 /* Incoming message from SN1 net */
 
#define IIO_ICRB_IMSGT_CRB   3 /* Incoming message from CRB ??? */
 
#define IIO_ICRB_INIT_XTALK   0 /* Message originated in xtalk */
 
#define IIO_ICRB_INIT_BTE0   0x1 /* Message originated in BTE 0 */
 
#define IIO_ICRB_INIT_SN1NET   0x2 /* Message originated in SN1net */
 
#define IIO_ICRB_INIT_CRB   0x3 /* Message originated in CRB ? */
 
#define IIO_ICRB_INIT_BTE1   0x5 /* MEssage originated in BTE 1 */
 
#define HUBII_XBOW_CREDIT   3
 
#define HUBII_XBOW_REV2_CREDIT   4
 
#define HUB_CREDIT   4
 
#define IIO_PRB_MULTI_ERR   (1LL << 63)
 
#define IIO_PRB_SPUR_RD   (1LL << 51)
 
#define IIO_PRB_SPUR_WR   (1LL << 50)
 
#define IIO_PRB_RD_TO   (1LL << 49)
 
#define IIO_PRB_ERROR   (1LL << 48)
 
#define IIO_ICMR_CRB_VLD_SHFT   20
 
#define IIO_ICMR_CRB_VLD_MASK   (0x7fffUL << IIO_ICMR_CRB_VLD_SHFT)
 
#define IIO_ICMR_FC_CNT_SHFT   16
 
#define IIO_ICMR_FC_CNT_MASK   (0xf << IIO_ICMR_FC_CNT_SHFT)
 
#define IIO_ICMR_C_CNT_SHFT   4
 
#define IIO_ICMR_C_CNT_MASK   (0xf << IIO_ICMR_C_CNT_SHFT)
 
#define IIO_ICMR_PRECISE   (1UL << 52)
 
#define IIO_ICMR_CLR_RPPD   (1UL << 13)
 
#define IIO_ICMR_CLR_RQPD   (1UL << 12)
 
#define IIO_IPDR_PND   (1 << 4)
 
#define IIO_ICDR_PND   (1 << 4)
 
#define IBLS_BUSY   (0x1UL << 20)
 
#define IBLS_ERROR_SHFT   16
 
#define IBLS_ERROR   (0x1UL << IBLS_ERROR_SHFT)
 
#define IBLS_LENGTH_MASK   0xffff
 
#define IBCT_POISON   (0x1UL << 8)
 
#define IBCT_NOTIFY   (0x1UL << 4)
 
#define IBCT_ZFIL_MODE   (0x1UL << 0)
 
#define IIEPH1_VALID   (1UL << 44)
 
#define IIEPH1_OVERRUN   (1UL << 40)
 
#define IIEPH1_ERR_TYPE_SHFT   32
 
#define IIEPH1_ERR_TYPE_MASK   0xf
 
#define IIEPH1_SOURCE_SHFT   20
 
#define IIEPH1_SOURCE_MASK   11
 
#define IIEPH1_SUPPL_SHFT   8
 
#define IIEPH1_SUPPL_MASK   11
 
#define IIEPH1_CMD_SHFT   0
 
#define IIEPH1_CMD_MASK   7
 
#define IIEPH2_TAIL   (1UL << 40)
 
#define IIEPH2_ADDRESS_SHFT   0
 
#define IIEPH2_ADDRESS_MASK   38
 
#define IIEPH1_ERR_SHORT_REQ   2
 
#define IIEPH1_ERR_SHORT_REPLY   3
 
#define IIEPH1_ERR_LONG_REQ   4
 
#define IIEPH1_ERR_LONG_REPLY   5
 
#define IECLR_PI1_FWD_INT   (1UL << 31) /* clear PI1_FORWARD_INT in iidsr */
 
#define IECLR_PI0_FWD_INT   (1UL << 30) /* clear PI0_FORWARD_INT in iidsr */
 
#define IECLR_SPUR_RD_HDR   (1UL << 29) /* clear valid bit in ixss reg */
 
#define IECLR_BTE1   (1UL << 18) /* clear bte error 1 */
 
#define IECLR_BTE0   (1UL << 17) /* clear bte error 0 */
 
#define IECLR_CRAZY   (1UL << 16) /* clear crazy bit in wstat reg */
 
#define IECLR_PRB_F   (1UL << 15) /* clear err bit in PRB_F reg */
 
#define IECLR_PRB_E   (1UL << 14) /* clear err bit in PRB_E reg */
 
#define IECLR_PRB_D   (1UL << 13) /* clear err bit in PRB_D reg */
 
#define IECLR_PRB_C   (1UL << 12) /* clear err bit in PRB_C reg */
 
#define IECLR_PRB_B   (1UL << 11) /* clear err bit in PRB_B reg */
 
#define IECLR_PRB_A   (1UL << 10) /* clear err bit in PRB_A reg */
 
#define IECLR_PRB_9   (1UL << 9) /* clear err bit in PRB_9 reg */
 
#define IECLR_PRB_8   (1UL << 8) /* clear err bit in PRB_8 reg */
 
#define IECLR_PRB_0   (1UL << 0) /* clear err bit in PRB_0 reg */
 
#define IIO_ICCR_PENDING   0x10000
 
#define IIO_ICCR_CMD_MASK   0xFF
 
#define IIO_ICCR_CMD_SHFT   7
 
#define IIO_ICCR_CMD_NOP   0x0 /* No Op */
 
#define IIO_ICCR_CMD_WAKE   0x100 /* Reactivate CRB entry and process */
 
#define IIO_ICCR_CMD_TIMEOUT   0x200 /* Make CRB timeout & mark invalid */
 
#define IIO_ICCR_CMD_EJECT
 
#define IIO_ICCR_CMD_FLUSH   0x800
 
#define a_sidn   ii_icrb0_a_fld_s.ia_sidn
 
#define a_tnum   ii_icrb0_a_fld_s.ia_tnum
 
#define a_addr   ii_icrb0_a_fld_s.ia_addr
 
#define a_valid   ii_icrb0_a_fld_s.ia_vld
 
#define a_iow   ii_icrb0_a_fld_s.ia_iow
 
#define a_regvalue   ii_icrb0_a_regval
 
#define b_use_old   ii_icrb0_b_fld_s.ib_use_old
 
#define b_imsgtype   ii_icrb0_b_fld_s.ib_imsgtype
 
#define b_imsg   ii_icrb0_b_fld_s.ib_imsg
 
#define b_initiator   ii_icrb0_b_fld_s.ib_init
 
#define b_exc   ii_icrb0_b_fld_s.ib_exc
 
#define b_ackcnt   ii_icrb0_b_fld_s.ib_ack_cnt
 
#define b_resp   ii_icrb0_b_fld_s.ib_resp
 
#define b_ack   ii_icrb0_b_fld_s.ib_ack
 
#define b_hold   ii_icrb0_b_fld_s.ib_hold
 
#define b_wb   ii_icrb0_b_fld_s.ib_wb
 
#define b_intvn   ii_icrb0_b_fld_s.ib_intvn
 
#define b_stall_ib   ii_icrb0_b_fld_s.ib_stall_ib
 
#define b_stall_int   ii_icrb0_b_fld_s.ib_stall__intr
 
#define b_stall_bte_0   ii_icrb0_b_fld_s.ib_stall__bte_0
 
#define b_stall_bte_1   ii_icrb0_b_fld_s.ib_stall__bte_1
 
#define b_error   ii_icrb0_b_fld_s.ib_error
 
#define b_ecode   ii_icrb0_b_fld_s.ib_errcode
 
#define b_lnetuce   ii_icrb0_b_fld_s.ib_ln_uce
 
#define b_mark   ii_icrb0_b_fld_s.ib_mark
 
#define b_xerr   ii_icrb0_b_fld_s.ib_xt_err
 
#define b_regvalue   ii_icrb0_b_regval
 
#define c_suppl   ii_icrb0_c_fld_s.ic_suppl
 
#define c_barrop   ii_icrb0_c_fld_s.ic_bo
 
#define c_doresp   ii_icrb0_c_fld_s.ic_resprqd
 
#define c_gbr   ii_icrb0_c_fld_s.ic_gbr
 
#define c_btenum   ii_icrb0_c_fld_s.ic_bte_num
 
#define c_cohtrans   ii_icrb0_c_fld_s.ic_ct
 
#define c_xtsize   ii_icrb0_c_fld_s.ic_size
 
#define c_source   ii_icrb0_c_fld_s.ic_source
 
#define c_regvalue   ii_icrb0_c_regval
 
#define d_sleep   ii_icrb0_d_fld_s.id_sleep
 
#define d_pricnt   ii_icrb0_d_fld_s.id_pr_cnt
 
#define d_pripsc   ii_icrb0_d_fld_s.id_pr_psc
 
#define d_bteop   ii_icrb0_d_fld_s.id_bte_op
 
#define d_bteaddr   ii_icrb0_d_fld_s.id_pa_be /* ic_pa_be fld has 2 names */
 
#define d_benable   ii_icrb0_d_fld_s.id_pa_be /* ic_pa_be fld has 2 names */
 
#define d_regvalue   ii_icrb0_d_regval
 
#define icrbe_ctxtvld   ii_icrb0_e_fld_s.ie_cvld
 
#define icrbe_toutvld   ii_icrb0_e_fld_s.ie_tvld
 
#define icrbe_context   ii_icrb0_e_fld_s.ie_context
 
#define icrbe_timeout   ii_icrb0_e_fld_s.ie_timeout
 
#define e_regvalue   ii_icrb0_e_regval
 
#define HUB_NUM_WIDGET   9
 
#define HUB_WIDGET_ID_MIN   0x8
 
#define HUB_WIDGET_ID_MAX   0xf
 
#define HUB_WIDGET_PART_NUM   0xc120
 
#define MAX_HUBS_PER_XBOW   2
 
#define iprb_t   ii_iprb0_u_t
 
#define iprb_regval   ii_iprb0_regval
 
#define iprb_mult_err   ii_iprb0_fld_s.i_mult_err
 
#define iprb_spur_rd   ii_iprb0_fld_s.i_spur_rd
 
#define iprb_spur_wr   ii_iprb0_fld_s.i_spur_wr
 
#define iprb_rd_to   ii_iprb0_fld_s.i_rd_to
 
#define iprb_ovflow   ii_iprb0_fld_s.i_of_cnt
 
#define iprb_error   ii_iprb0_fld_s.i_error
 
#define iprb_ff   ii_iprb0_fld_s.i_f
 
#define iprb_mode   ii_iprb0_fld_s.i_m
 
#define iprb_bnakctr   ii_iprb0_fld_s.i_nb
 
#define iprb_anakctr   ii_iprb0_fld_s.i_na
 
#define iprb_xtalkctr   ii_iprb0_fld_s.i_c
 
#define LNK_STAT_WORKING   0x2 /* LLP is working */
 
#define IIO_WSTAT_ECRAZY   (1ULL << 32) /* Hub gone crazy */
 
#define IIO_WSTAT_TXRETRY   (1ULL << 9) /* Hub Tx Retry timeout */
 
#define IIO_WSTAT_TXRETRY_MASK   0x7F /* should be 0xFF?? */
 
#define IIO_WSTAT_TXRETRY_SHFT   16
 
#define IIO_WSTAT_TXRETRY_CNT(w)
 
#define IO_PERF_SETS   32
 
#define IIO_IIWA_WIDGET(_w)   ((u64)(1ULL << _w))
 
#define IIO_IOWA_WIDGET(_w)   ((u64)(1ULL << _w))
 
#define IIO_IIDEM_WIDGETDEV_MASK(w, d)   ((u64)(1ULL << (8 * ((w) - 8) + (d))))
 
#define IIO_IIDSR_SENT_SHIFT   28
 
#define IIO_IIDSR_SENT_MASK   0x30000000
 
#define IIO_IIDSR_ENB_SHIFT   24
 
#define IIO_IIDSR_ENB_MASK   0x01000000
 
#define IIO_IIDSR_NODE_SHIFT   9
 
#define IIO_IIDSR_NODE_MASK   0x000ff700
 
#define IIO_IIDSR_PI_ID_SHIFT   8
 
#define IIO_IIDSR_PI_ID_MASK   0x00000100
 
#define IIO_IIDSR_LVL_SHIFT   0
 
#define IIO_IIDSR_LVL_MASK   0x000000ff
 
#define IXTT_RRSP_TO_SHFT   55 /* read response timeout */
 
#define IXTT_RRSP_TO_MASK   (0x1FULL << IXTT_RRSP_TO_SHFT)
 
#define IXTT_RRSP_PS_SHFT   32 /* read responsed TO prescalar */
 
#define IXTT_RRSP_PS_MASK   (0x7FFFFFULL << IXTT_RRSP_PS_SHFT)
 
#define IXTT_TAIL_TO_SHFT   0 /* tail timeout counter threshold */
 
#define IXTT_TAIL_TO_MASK   (0x3FFFFFFULL << IXTT_TAIL_TO_SHFT)
 
#define iwcr_dir_con   wcr_fields_s.wcr_dir_con
 

Typedefs

typedef union ii_wid_u ii_wid_u_t
 
typedef union ii_wstat_u ii_wstat_u_t
 
typedef union ii_wcr_u ii_wcr_u_t
 
typedef union ii_ilapr_u ii_ilapr_u_t
 
typedef union ii_ilapo_u ii_ilapo_u_t
 
typedef union ii_iowa_u ii_iowa_u_t
 
typedef union ii_iiwa_u ii_iiwa_u_t
 
typedef union ii_iidem_u ii_iidem_u_t
 
typedef union ii_ilcsr_u ii_ilcsr_u_t
 
typedef union ii_illr_u ii_illr_u_t
 
typedef union ii_iidsr_u ii_iidsr_u_t
 
typedef union ii_igfx0_u ii_igfx0_u_t
 
typedef union ii_igfx1_u ii_igfx1_u_t
 
typedef union ii_iscr0_u ii_iscr0_u_t
 
typedef union ii_iscr1_u ii_iscr1_u_t
 
typedef union ii_itte1_u ii_itte1_u_t
 
typedef union ii_itte2_u ii_itte2_u_t
 
typedef union ii_itte3_u ii_itte3_u_t
 
typedef union ii_itte4_u ii_itte4_u_t
 
typedef union ii_itte5_u ii_itte5_u_t
 
typedef union ii_itte6_u ii_itte6_u_t
 
typedef union ii_itte7_u ii_itte7_u_t
 
typedef union ii_iprb0_u ii_iprb0_u_t
 
typedef union ii_iprb8_u ii_iprb8_u_t
 
typedef union ii_iprb9_u ii_iprb9_u_t
 
typedef union ii_iprba_u ii_iprba_u_t
 
typedef union ii_iprbb_u ii_iprbb_u_t
 
typedef union ii_iprbc_u ii_iprbc_u_t
 
typedef union ii_iprbd_u ii_iprbd_u_t
 
typedef union ii_iprbe_u ii_iprbe_u_t
 
typedef union ii_iprbf_u ii_iprbf_u_t
 
typedef union ii_ixcc_u ii_ixcc_u_t
 
typedef union ii_imem_u ii_imem_u_t
 
typedef union ii_ixtt_u ii_ixtt_u_t
 
typedef union ii_ieclr_u ii_ieclr_u_t
 
typedef union ii_ibcr_u ii_ibcr_u_t
 
typedef union ii_ixsm_u ii_ixsm_u_t
 
typedef union ii_ixss_u ii_ixss_u_t
 
typedef union ii_ilct_u ii_ilct_u_t
 
typedef union ii_iieph1_u ii_iieph1_u_t
 
typedef union ii_iieph2_u ii_iieph2_u_t
 
typedef union ii_islapr_u ii_islapr_u_t
 
typedef union ii_islapo_u ii_islapo_u_t
 
typedef union ii_iwi_u ii_iwi_u_t
 
typedef union ii_iwel_u ii_iwel_u_t
 
typedef union ii_iwc_u ii_iwc_u_t
 
typedef union ii_iws_u ii_iws_u_t
 
typedef union ii_iweim_u ii_iweim_u_t
 
typedef union ii_ipca_u ii_ipca_u_t
 
typedef union ii_iprte0a_u ii_iprte0a_u_t
 
typedef union ii_iprte1a_u ii_iprte1a_u_t
 
typedef union ii_iprte2a_u ii_iprte2a_u_t
 
typedef union ii_iprte3a_u ii_iprte3a_u_t
 
typedef union ii_iprte4a_u ii_iprte4a_u_t
 
typedef union ii_iprte5a_u ii_iprte5a_u_t
 
typedef union ii_iprte6a_u ii_iprte6a_u_t
 
typedef union ii_iprte7a_u ii_iprte7a_u_t
 
typedef union ii_iprte0b_u ii_iprte0b_u_t
 
typedef union ii_iprte1b_u ii_iprte1b_u_t
 
typedef union ii_iprte2b_u ii_iprte2b_u_t
 
typedef union ii_iprte3b_u ii_iprte3b_u_t
 
typedef union ii_iprte4b_u ii_iprte4b_u_t
 
typedef union ii_iprte5b_u ii_iprte5b_u_t
 
typedef union ii_iprte6b_u ii_iprte6b_u_t
 
typedef union ii_iprte7b_u ii_iprte7b_u_t
 
typedef union ii_ipdr_u ii_ipdr_u_t
 
typedef union ii_icdr_u ii_icdr_u_t
 
typedef union ii_ifdr_u ii_ifdr_u_t
 
typedef union ii_iiap_u ii_iiap_u_t
 
typedef union ii_icmr_u ii_icmr_u_t
 
typedef union ii_iccr_u ii_iccr_u_t
 
typedef union ii_icto_u ii_icto_u_t
 
typedef union ii_ictp_u ii_ictp_u_t
 
typedef union ii_icrb0_a_u ii_icrb0_a_u_t
 
typedef union ii_icrb0_b_u ii_icrb0_b_u_t
 
typedef union ii_icrb0_c_u ii_icrb0_c_u_t
 
typedef union ii_icrb0_d_u ii_icrb0_d_u_t
 
typedef union ii_icrb0_e_u ii_icrb0_e_u_t
 
typedef union ii_icsml_u ii_icsml_u_t
 
typedef union ii_icsmm_u ii_icsmm_u_t
 
typedef union ii_icsmh_u ii_icsmh_u_t
 
typedef union ii_idbss_u ii_idbss_u_t
 
typedef union ii_ibls0_u ii_ibls0_u_t
 
typedef union ii_ibsa0_u ii_ibsa0_u_t
 
typedef union ii_ibda0_u ii_ibda0_u_t
 
typedef union ii_ibct0_u ii_ibct0_u_t
 
typedef union ii_ibna0_u ii_ibna0_u_t
 
typedef union ii_ibia0_u ii_ibia0_u_t
 
typedef union ii_ibls1_u ii_ibls1_u_t
 
typedef union ii_ibsa1_u ii_ibsa1_u_t
 
typedef union ii_ibda1_u ii_ibda1_u_t
 
typedef union ii_ibct1_u ii_ibct1_u_t
 
typedef union ii_ibna1_u ii_ibna1_u_t
 
typedef union ii_ibia1_u ii_ibia1_u_t
 
typedef union ii_ipcr_u ii_ipcr_u_t
 
typedef union ii_ippr_u ii_ippr_u_t
 
typedef ii_icrb0_a_u_t icrba_t
 
typedef ii_icrb0_b_u_t icrbb_t
 
typedef ii_icrb0_c_u_t icrbc_t
 
typedef ii_icrb0_d_u_t icrbd_t
 
typedef ii_icrb0_e_u_t icrbe_t
 
typedef union hubii_wcr_u hubii_wcr_t
 
typedef union io_perf_sel io_perf_sel_t
 
typedef union io_perf_cnt io_perf_cnt_t
 
typedef union iprte_a iprte_a_t
 

Macro Definition Documentation

#define a_addr   ii_icrb0_a_fld_s.ia_addr

Definition at line 3175 of file shubio.h.

#define a_iow   ii_icrb0_a_fld_s.ia_iow

Definition at line 3177 of file shubio.h.

#define a_regvalue   ii_icrb0_a_regval

Definition at line 3178 of file shubio.h.

#define a_sidn   ii_icrb0_a_fld_s.ia_sidn

Definition at line 3173 of file shubio.h.

#define a_tnum   ii_icrb0_a_fld_s.ia_tnum

Definition at line 3174 of file shubio.h.

#define a_valid   ii_icrb0_a_fld_s.ia_vld

Definition at line 3176 of file shubio.h.

#define b_ack   ii_icrb0_b_fld_s.ib_ack

Definition at line 3188 of file shubio.h.

#define b_ackcnt   ii_icrb0_b_fld_s.ib_ack_cnt

Definition at line 3186 of file shubio.h.

#define b_ecode   ii_icrb0_b_fld_s.ib_errcode

Definition at line 3197 of file shubio.h.

#define b_error   ii_icrb0_b_fld_s.ib_error

Definition at line 3196 of file shubio.h.

#define b_exc   ii_icrb0_b_fld_s.ib_exc

Definition at line 3185 of file shubio.h.

#define b_hold   ii_icrb0_b_fld_s.ib_hold

Definition at line 3189 of file shubio.h.

#define b_imsg   ii_icrb0_b_fld_s.ib_imsg

Definition at line 3183 of file shubio.h.

#define b_imsgtype   ii_icrb0_b_fld_s.ib_imsgtype

Definition at line 3182 of file shubio.h.

#define b_initiator   ii_icrb0_b_fld_s.ib_init

Definition at line 3184 of file shubio.h.

#define b_intvn   ii_icrb0_b_fld_s.ib_intvn

Definition at line 3191 of file shubio.h.

#define b_lnetuce   ii_icrb0_b_fld_s.ib_ln_uce

Definition at line 3198 of file shubio.h.

#define b_mark   ii_icrb0_b_fld_s.ib_mark

Definition at line 3199 of file shubio.h.

#define b_regvalue   ii_icrb0_b_regval

Definition at line 3201 of file shubio.h.

#define b_resp   ii_icrb0_b_fld_s.ib_resp

Definition at line 3187 of file shubio.h.

#define b_stall_bte_0   ii_icrb0_b_fld_s.ib_stall__bte_0

Definition at line 3194 of file shubio.h.

#define b_stall_bte_1   ii_icrb0_b_fld_s.ib_stall__bte_1

Definition at line 3195 of file shubio.h.

#define b_stall_ib   ii_icrb0_b_fld_s.ib_stall_ib

Definition at line 3192 of file shubio.h.

#define b_stall_int   ii_icrb0_b_fld_s.ib_stall__intr

Definition at line 3193 of file shubio.h.

#define b_use_old   ii_icrb0_b_fld_s.ib_use_old

Definition at line 3181 of file shubio.h.

#define b_wb   ii_icrb0_b_fld_s.ib_wb

Definition at line 3190 of file shubio.h.

#define b_xerr   ii_icrb0_b_fld_s.ib_xt_err

Definition at line 3200 of file shubio.h.

#define BTEOFF_CTRL   (IIO_BTE_CTRL_0 - IIO_BTE_STAT_0)

Definition at line 2882 of file shubio.h.

#define BTEOFF_DEST   (IIO_BTE_DEST_0 - IIO_BTE_STAT_0)

Definition at line 2881 of file shubio.h.

#define BTEOFF_INT   (IIO_BTE_INT_0 - IIO_BTE_STAT_0)

Definition at line 2884 of file shubio.h.

#define BTEOFF_NOTIFY   (IIO_BTE_NOTIFY_0 - IIO_BTE_STAT_0)

Definition at line 2883 of file shubio.h.

#define BTEOFF_SRC   (IIO_BTE_SRC_0 - IIO_BTE_STAT_0)

Definition at line 2880 of file shubio.h.

#define BTEOFF_STAT   0

Definition at line 2879 of file shubio.h.

#define c_barrop   ii_icrb0_c_fld_s.ic_bo

Definition at line 3205 of file shubio.h.

#define c_btenum   ii_icrb0_c_fld_s.ic_bte_num

Definition at line 3208 of file shubio.h.

#define c_cohtrans   ii_icrb0_c_fld_s.ic_ct

Definition at line 3209 of file shubio.h.

#define c_doresp   ii_icrb0_c_fld_s.ic_resprqd

Definition at line 3206 of file shubio.h.

#define c_gbr   ii_icrb0_c_fld_s.ic_gbr

Definition at line 3207 of file shubio.h.

#define c_regvalue   ii_icrb0_c_regval

Definition at line 3212 of file shubio.h.

#define c_source   ii_icrb0_c_fld_s.ic_source

Definition at line 3211 of file shubio.h.

#define c_suppl   ii_icrb0_c_fld_s.ic_suppl

Definition at line 3204 of file shubio.h.

#define c_xtsize   ii_icrb0_c_fld_s.ic_size

Definition at line 3210 of file shubio.h.

#define d_benable   ii_icrb0_d_fld_s.id_pa_be /* ic_pa_be fld has 2 names */

Definition at line 3220 of file shubio.h.

#define d_bteaddr   ii_icrb0_d_fld_s.id_pa_be /* ic_pa_be fld has 2 names */

Definition at line 3219 of file shubio.h.

#define d_bteop   ii_icrb0_d_fld_s.id_bte_op

Definition at line 3218 of file shubio.h.

#define d_pricnt   ii_icrb0_d_fld_s.id_pr_cnt

Definition at line 3216 of file shubio.h.

#define d_pripsc   ii_icrb0_d_fld_s.id_pr_psc

Definition at line 3217 of file shubio.h.

#define d_regvalue   ii_icrb0_d_regval

Definition at line 3221 of file shubio.h.

#define d_sleep   ii_icrb0_d_fld_s.id_sleep

Definition at line 3215 of file shubio.h.

#define e_regvalue   ii_icrb0_e_regval

Definition at line 3228 of file shubio.h.

#define HUB_CREDIT   4

Definition at line 3026 of file shubio.h.

#define HUB_NUM_BIG_WINDOW   (IIO_NUM_ITTES - 1)

Definition at line 2953 of file shubio.h.

#define HUB_NUM_BIG_WINDOW   (IIO_NUM_ITTES - 1)

Definition at line 2953 of file shubio.h.

#define HUB_NUM_WIDGET   9

Definition at line 3231 of file shubio.h.

#define HUB_WIDGET_ID_MAX   0xf

Definition at line 3233 of file shubio.h.

#define HUB_WIDGET_ID_MAX   0xf

Definition at line 3233 of file shubio.h.

#define HUB_WIDGET_ID_MIN   0x8

Definition at line 3232 of file shubio.h.

#define HUB_WIDGET_PART_NUM   0xc120

Definition at line 3235 of file shubio.h.

#define HUBII_XBOW_CREDIT   3

Definition at line 3019 of file shubio.h.

#define HUBII_XBOW_REV2_CREDIT   4

Definition at line 3020 of file shubio.h.

#define IBCT_NOTIFY   (0x1UL << 4)

Definition at line 3086 of file shubio.h.

#define IBCT_POISON   (0x1UL << 8)

Definition at line 3085 of file shubio.h.

#define IBCT_ZFIL_MODE   (0x1UL << 0)

Definition at line 3087 of file shubio.h.

#define IBLS_BUSY   (0x1UL << 20)

Definition at line 3077 of file shubio.h.

#define IBLS_ERROR   (0x1UL << IBLS_ERROR_SHFT)

Definition at line 3079 of file shubio.h.

#define IBLS_ERROR_SHFT   16

Definition at line 3078 of file shubio.h.

#define IBLS_LENGTH_MASK   0xffff

Definition at line 3080 of file shubio.h.

#define icrbe_context   ii_icrb0_e_fld_s.ie_context

Definition at line 3226 of file shubio.h.

#define icrbe_ctxtvld   ii_icrb0_e_fld_s.ie_cvld

Definition at line 3224 of file shubio.h.

#define icrbe_timeout   ii_icrb0_e_fld_s.ie_timeout

Definition at line 3227 of file shubio.h.

#define icrbe_toutvld   ii_icrb0_e_fld_s.ie_tvld

Definition at line 3225 of file shubio.h.

#define IECLR_BTE0   (1UL << 17) /* clear bte error 0 */

Definition at line 3119 of file shubio.h.

#define IECLR_BTE1   (1UL << 18) /* clear bte error 1 */

Definition at line 3118 of file shubio.h.

#define IECLR_CRAZY   (1UL << 16) /* clear crazy bit in wstat reg */

Definition at line 3120 of file shubio.h.

#define IECLR_PI0_FWD_INT   (1UL << 30) /* clear PI0_FORWARD_INT in iidsr */

Definition at line 3116 of file shubio.h.

#define IECLR_PI1_FWD_INT   (1UL << 31) /* clear PI1_FORWARD_INT in iidsr */

Definition at line 3115 of file shubio.h.

#define IECLR_PRB_0   (1UL << 0) /* clear err bit in PRB_0 reg */

Definition at line 3129 of file shubio.h.

#define IECLR_PRB_8   (1UL << 8) /* clear err bit in PRB_8 reg */

Definition at line 3128 of file shubio.h.

#define IECLR_PRB_9   (1UL << 9) /* clear err bit in PRB_9 reg */

Definition at line 3127 of file shubio.h.

#define IECLR_PRB_A   (1UL << 10) /* clear err bit in PRB_A reg */

Definition at line 3126 of file shubio.h.

#define IECLR_PRB_B   (1UL << 11) /* clear err bit in PRB_B reg */

Definition at line 3125 of file shubio.h.

#define IECLR_PRB_C   (1UL << 12) /* clear err bit in PRB_C reg */

Definition at line 3124 of file shubio.h.

#define IECLR_PRB_D   (1UL << 13) /* clear err bit in PRB_D reg */

Definition at line 3123 of file shubio.h.

#define IECLR_PRB_E   (1UL << 14) /* clear err bit in PRB_E reg */

Definition at line 3122 of file shubio.h.

#define IECLR_PRB_F   (1UL << 15) /* clear err bit in PRB_F reg */

Definition at line 3121 of file shubio.h.

#define IECLR_SPUR_RD_HDR   (1UL << 29) /* clear valid bit in ixss reg */

Definition at line 3117 of file shubio.h.

#define IIEPH1_CMD_MASK   7

Definition at line 3101 of file shubio.h.

#define IIEPH1_CMD_SHFT   0

Definition at line 3100 of file shubio.h.

#define IIEPH1_ERR_LONG_REPLY   5

Definition at line 3110 of file shubio.h.

#define IIEPH1_ERR_LONG_REQ   4

Definition at line 3109 of file shubio.h.

#define IIEPH1_ERR_SHORT_REPLY   3

Definition at line 3108 of file shubio.h.

#define IIEPH1_ERR_SHORT_REQ   2

Definition at line 3107 of file shubio.h.

#define IIEPH1_ERR_TYPE_MASK   0xf

Definition at line 3095 of file shubio.h.

#define IIEPH1_ERR_TYPE_SHFT   32

Definition at line 3094 of file shubio.h.

#define IIEPH1_OVERRUN   (1UL << 40)

Definition at line 3093 of file shubio.h.

#define IIEPH1_SOURCE_MASK   11

Definition at line 3097 of file shubio.h.

#define IIEPH1_SOURCE_SHFT   20

Definition at line 3096 of file shubio.h.

#define IIEPH1_SUPPL_MASK   11

Definition at line 3099 of file shubio.h.

#define IIEPH1_SUPPL_SHFT   8

Definition at line 3098 of file shubio.h.

#define IIEPH1_VALID   (1UL << 44)

Definition at line 3092 of file shubio.h.

#define IIEPH2_ADDRESS_MASK   38

Definition at line 3105 of file shubio.h.

#define IIEPH2_ADDRESS_SHFT   0

Definition at line 3104 of file shubio.h.

#define IIEPH2_TAIL   (1UL << 40)

Definition at line 3103 of file shubio.h.

#define IIO_BASE_BTE0   IIO_IBLS_0

Definition at line 2887 of file shubio.h.

#define IIO_BASE_BTE1   IIO_IBLS_1

Definition at line 2888 of file shubio.h.

#define IIO_BTE_CTRL_0   IIO_IBCT_0 /* Also BTE control/terminate 0 */

Definition at line 2872 of file shubio.h.

#define IIO_BTE_DEST_0   IIO_IBDA_0 /* Also BTE dest. address 0 */

Definition at line 2871 of file shubio.h.

#define IIO_BTE_INT_0   IIO_IBIA_0 /* Also BTE interrupt 0 */

Definition at line 2874 of file shubio.h.

#define IIO_BTE_NOTIFY_0   IIO_IBNA_0 /* Also BTE notification 0 */

Definition at line 2873 of file shubio.h.

#define IIO_BTE_OFF_0   0 /* Base offset from BTE 0 regs. */

Definition at line 2875 of file shubio.h.

#define IIO_BTE_OFF_1   (IIO_IBLS_1 - IIO_IBLS_0) /* Offset from base to BTE 1 */

Definition at line 2876 of file shubio.h.

#define IIO_BTE_SRC_0   IIO_IBSA_0 /* Also BTE source address 0 */

Definition at line 2870 of file shubio.h.

#define IIO_BTE_STAT_0   IIO_IBLS_0 /* Also BTE length/status 0 */

Definition at line 2869 of file shubio.h.

#define IIO_IBCR   0x00400200 /* IO BTE Control Register */

Definition at line 58 of file shubio.h.

#define IIO_IBCT0   0x00410018 /* IO BTE Control Terminate 0 */

Definition at line 205 of file shubio.h.

#define IIO_IBCT1   0x00420018 /* IO BTE Control Terminate 1 */

Definition at line 211 of file shubio.h.

#define IIO_IBCT_0   IIO_IBCT0

Definition at line 2836 of file shubio.h.

#define IIO_IBCT_1   IIO_IBCT1

Definition at line 2837 of file shubio.h.

#define IIO_IBDA0   0x00410010 /* IO BTE Destination Address 0 */

Definition at line 204 of file shubio.h.

#define IIO_IBDA1   0x00420010 /* IO BTE Destination Address 1 */

Definition at line 210 of file shubio.h.

#define IIO_IBDA_0   IIO_IBDA0

Definition at line 2842 of file shubio.h.

#define IIO_IBDA_1   IIO_IBDA1

Definition at line 2843 of file shubio.h.

#define IIO_IBIA0   0x00410028 /* IO BTE Interrupt Address 0 */

Definition at line 207 of file shubio.h.

#define IIO_IBIA1   0x00420028 /* IO BTE Interrupt Address 1 */

Definition at line 213 of file shubio.h.

#define IIO_IBIA_0   IIO_IBIA0

Definition at line 2846 of file shubio.h.

#define IIO_IBIA_1   IIO_IBIA1

Definition at line 2847 of file shubio.h.

#define IIO_IBLS0   0x00410000 /* IO BTE Length Status 0 */

Definition at line 202 of file shubio.h.

#define IIO_IBLS1   0x00420000 /* IO BTE Length Status 1 */

Definition at line 208 of file shubio.h.

#define IIO_IBLS_0   IIO_IBLS0

Definition at line 2838 of file shubio.h.

#define IIO_IBLS_1   IIO_IBLS1

Definition at line 2839 of file shubio.h.

#define IIO_IBNA0   0x00410020 /* IO BTE Notification Address 0 */

Definition at line 206 of file shubio.h.

#define IIO_IBNA1   0x00420020 /* IO BTE Notification Address 1 */

Definition at line 212 of file shubio.h.

#define IIO_IBNA_0   IIO_IBNA0

Definition at line 2844 of file shubio.h.

#define IIO_IBNA_1   IIO_IBNA1

Definition at line 2845 of file shubio.h.

#define IIO_IBSA0   0x00410008 /* IO BTE Source Address 0 */

Definition at line 203 of file shubio.h.

#define IIO_IBSA1   0x00420008 /* IO BTE Source Address 1 */

Definition at line 209 of file shubio.h.

#define IIO_IBSA_0   IIO_IBSA0

Definition at line 2840 of file shubio.h.

#define IIO_IBSA_1   IIO_IBSA1

Definition at line 2841 of file shubio.h.

#define IIO_ICCR   0x004003B0 /* IO CRB Control Register */

Definition at line 102 of file shubio.h.

#define IIO_ICCR_CMD_EJECT
Value:
0x400 /* Contents of entry written to memory
* via a WB
*/

Definition at line 3140 of file shubio.h.

#define IIO_ICCR_CMD_FLUSH   0x800

Definition at line 3141 of file shubio.h.

#define IIO_ICCR_CMD_MASK   0xFF

Definition at line 3135 of file shubio.h.

#define IIO_ICCR_CMD_NOP   0x0 /* No Op */

Definition at line 3137 of file shubio.h.

#define IIO_ICCR_CMD_SHFT   7

Definition at line 3136 of file shubio.h.

#define IIO_ICCR_CMD_TIMEOUT   0x200 /* Make CRB timeout & mark invalid */

Definition at line 3139 of file shubio.h.

#define IIO_ICCR_CMD_WAKE   0x100 /* Reactivate CRB entry and process */

Definition at line 3138 of file shubio.h.

#define IIO_ICCR_PENDING   0x10000

Definition at line 3134 of file shubio.h.

#define IIO_ICDR   0x00400390 /* IO CRB Entry Deallocation Register */

Definition at line 98 of file shubio.h.

#define IIO_ICDR_PND   (1 << 4)

Definition at line 3072 of file shubio.h.

#define IIO_ICMR   0x004003A8 /* IO CRB Management Register */

Definition at line 101 of file shubio.h.

#define IIO_ICMR_C_CNT_MASK   (0xf << IIO_ICMR_C_CNT_SHFT)

Definition at line 3057 of file shubio.h.

#define IIO_ICMR_C_CNT_SHFT   4

Definition at line 3056 of file shubio.h.

#define IIO_ICMR_CLR_RPPD   (1UL << 13)

Definition at line 3060 of file shubio.h.

#define IIO_ICMR_CLR_RQPD   (1UL << 12)

Definition at line 3061 of file shubio.h.

#define IIO_ICMR_CRB_VLD_MASK   (0x7fffUL << IIO_ICMR_CRB_VLD_SHFT)

Definition at line 3051 of file shubio.h.

#define IIO_ICMR_CRB_VLD_SHFT   20

Definition at line 3050 of file shubio.h.

#define IIO_ICMR_FC_CNT_MASK   (0xf << IIO_ICMR_FC_CNT_SHFT)

Definition at line 3054 of file shubio.h.

#define IIO_ICMR_FC_CNT_SHFT   16

Definition at line 3053 of file shubio.h.

#define IIO_ICMR_PRECISE   (1UL << 52)

Definition at line 3059 of file shubio.h.

#define IIO_ICRB0_A   0x00400400 /* IO CRB Entry 0_A */

Definition at line 106 of file shubio.h.

#define IIO_ICRB0_B   0x00400408 /* IO CRB Entry 0_B */

Definition at line 107 of file shubio.h.

#define IIO_ICRB0_C   0x00400410 /* IO CRB Entry 0_C */

Definition at line 108 of file shubio.h.

#define IIO_ICRB0_D   0x00400418 /* IO CRB Entry 0_D */

Definition at line 109 of file shubio.h.

#define IIO_ICRB0_E   0x00400420 /* IO CRB Entry 0_E */

Definition at line 110 of file shubio.h.

#define IIO_ICRB1_A   0x00400430 /* IO CRB Entry 1_A */

Definition at line 112 of file shubio.h.

#define IIO_ICRB1_B   0x00400438 /* IO CRB Entry 1_B */

Definition at line 113 of file shubio.h.

#define IIO_ICRB1_C   0x00400440 /* IO CRB Entry 1_C */

Definition at line 114 of file shubio.h.

#define IIO_ICRB1_D   0x00400448 /* IO CRB Entry 1_D */

Definition at line 115 of file shubio.h.

#define IIO_ICRB1_E   0x00400450 /* IO CRB Entry 1_E */

Definition at line 116 of file shubio.h.

#define IIO_ICRB2_A   0x00400460 /* IO CRB Entry 2_A */

Definition at line 118 of file shubio.h.

#define IIO_ICRB2_B   0x00400468 /* IO CRB Entry 2_B */

Definition at line 119 of file shubio.h.

#define IIO_ICRB2_C   0x00400470 /* IO CRB Entry 2_C */

Definition at line 120 of file shubio.h.

#define IIO_ICRB2_D   0x00400478 /* IO CRB Entry 2_D */

Definition at line 121 of file shubio.h.

#define IIO_ICRB2_E   0x00400480 /* IO CRB Entry 2_E */

Definition at line 122 of file shubio.h.

#define IIO_ICRB3_A   0x00400490 /* IO CRB Entry 3_A */

Definition at line 124 of file shubio.h.

#define IIO_ICRB3_B   0x00400498 /* IO CRB Entry 3_B */

Definition at line 125 of file shubio.h.

#define IIO_ICRB3_C   0x004004a0 /* IO CRB Entry 3_C */

Definition at line 126 of file shubio.h.

#define IIO_ICRB3_D   0x004004a8 /* IO CRB Entry 3_D */

Definition at line 127 of file shubio.h.

#define IIO_ICRB3_E   0x004004b0 /* IO CRB Entry 3_E */

Definition at line 128 of file shubio.h.

#define IIO_ICRB4_A   0x004004c0 /* IO CRB Entry 4_A */

Definition at line 130 of file shubio.h.

#define IIO_ICRB4_B   0x004004c8 /* IO CRB Entry 4_B */

Definition at line 131 of file shubio.h.

#define IIO_ICRB4_C   0x004004d0 /* IO CRB Entry 4_C */

Definition at line 132 of file shubio.h.

#define IIO_ICRB4_D   0x004004d8 /* IO CRB Entry 4_D */

Definition at line 133 of file shubio.h.

#define IIO_ICRB4_E   0x004004e0 /* IO CRB Entry 4_E */

Definition at line 134 of file shubio.h.

#define IIO_ICRB5_A   0x004004f0 /* IO CRB Entry 5_A */

Definition at line 136 of file shubio.h.

#define IIO_ICRB5_B   0x004004f8 /* IO CRB Entry 5_B */

Definition at line 137 of file shubio.h.

#define IIO_ICRB5_C   0x00400500 /* IO CRB Entry 5_C */

Definition at line 138 of file shubio.h.

#define IIO_ICRB5_D   0x00400508 /* IO CRB Entry 5_D */

Definition at line 139 of file shubio.h.

#define IIO_ICRB5_E   0x00400510 /* IO CRB Entry 5_E */

Definition at line 140 of file shubio.h.

#define IIO_ICRB6_A   0x00400520 /* IO CRB Entry 6_A */

Definition at line 142 of file shubio.h.

#define IIO_ICRB6_B   0x00400528 /* IO CRB Entry 6_B */

Definition at line 143 of file shubio.h.

#define IIO_ICRB6_C   0x00400530 /* IO CRB Entry 6_C */

Definition at line 144 of file shubio.h.

#define IIO_ICRB6_D   0x00400538 /* IO CRB Entry 6_D */

Definition at line 145 of file shubio.h.

#define IIO_ICRB6_E   0x00400540 /* IO CRB Entry 6_E */

Definition at line 146 of file shubio.h.

#define IIO_ICRB7_A   0x00400550 /* IO CRB Entry 7_A */

Definition at line 148 of file shubio.h.

#define IIO_ICRB7_B   0x00400558 /* IO CRB Entry 7_B */

Definition at line 149 of file shubio.h.

#define IIO_ICRB7_C   0x00400560 /* IO CRB Entry 7_C */

Definition at line 150 of file shubio.h.

#define IIO_ICRB7_D   0x00400568 /* IO CRB Entry 7_D */

Definition at line 151 of file shubio.h.

#define IIO_ICRB7_E   0x00400570 /* IO CRB Entry 7_E */

Definition at line 152 of file shubio.h.

#define IIO_ICRB8_A   0x00400580 /* IO CRB Entry 8_A */

Definition at line 154 of file shubio.h.

#define IIO_ICRB8_B   0x00400588 /* IO CRB Entry 8_B */

Definition at line 155 of file shubio.h.

#define IIO_ICRB8_C   0x00400590 /* IO CRB Entry 8_C */

Definition at line 156 of file shubio.h.

#define IIO_ICRB8_D   0x00400598 /* IO CRB Entry 8_D */

Definition at line 157 of file shubio.h.

#define IIO_ICRB8_E   0x004005a0 /* IO CRB Entry 8_E */

Definition at line 158 of file shubio.h.

#define IIO_ICRB9_A   0x004005b0 /* IO CRB Entry 9_A */

Definition at line 160 of file shubio.h.

#define IIO_ICRB9_B   0x004005b8 /* IO CRB Entry 9_B */

Definition at line 161 of file shubio.h.

#define IIO_ICRB9_C   0x004005c0 /* IO CRB Entry 9_C */

Definition at line 162 of file shubio.h.

#define IIO_ICRB9_D   0x004005c8 /* IO CRB Entry 9_D */

Definition at line 163 of file shubio.h.

#define IIO_ICRB9_E   0x004005d0 /* IO CRB Entry 9_E */

Definition at line 164 of file shubio.h.

#define IIO_ICRB_0   IIO_ICRB0_A

Definition at line 2970 of file shubio.h.

#define IIO_ICRB_A (   _x)    ((u64)(IIO_ICRB_0 + (6 * IIO_ICRB_OFFSET * (_x))))

Definition at line 2976 of file shubio.h.

#define IIO_ICRB_ADDR_SHFT   2 /* Shift to get proper address */

Definition at line 2971 of file shubio.h.

#define IIO_ICRB_B (   _x)    ((u64)((char *)IIO_ICRB_A(_x) + 1*IIO_ICRB_OFFSET))

Definition at line 2977 of file shubio.h.

#define IIO_ICRB_C (   _x)    ((u64)((char *)IIO_ICRB_A(_x) + 2*IIO_ICRB_OFFSET))

Definition at line 2978 of file shubio.h.

#define IIO_ICRB_D (   _x)    ((u64)((char *)IIO_ICRB_A(_x) + 3*IIO_ICRB_OFFSET))

Definition at line 2979 of file shubio.h.

#define IIO_ICRB_E (   _x)    ((u64)((char *)IIO_ICRB_A(_x) + 4*IIO_ICRB_OFFSET))

Definition at line 2980 of file shubio.h.

#define IIO_ICRB_ECODE_AERR   3 /* Access error caused by IIO access */

Definition at line 2990 of file shubio.h.

#define IIO_ICRB_ECODE_DERR   0 /* Directory error due to IIO access */

Definition at line 2987 of file shubio.h.

#define IIO_ICRB_ECODE_PERR   1 /* Poison error on IO access */

Definition at line 2988 of file shubio.h.

#define IIO_ICRB_ECODE_PRERR   5 /* Error on partial read */

Definition at line 2992 of file shubio.h.

#define IIO_ICRB_ECODE_PWERR   4 /* Error on partial write */

Definition at line 2991 of file shubio.h.

#define IIO_ICRB_ECODE_TOUT   6 /* CRB timeout before deallocating */

Definition at line 2993 of file shubio.h.

#define IIO_ICRB_ECODE_WERR
Value:
2 /* Write error by IIO access
* e.g. WINV to a Read only line. */

Definition at line 2989 of file shubio.h.

#define IIO_ICRB_ECODE_XTERR   7 /* Incoming xtalk pkt had error bit */

Definition at line 2994 of file shubio.h.

#define IIO_ICRB_IMSGT_BTE   1 /* Incoming message from BTE */

Definition at line 3000 of file shubio.h.

#define IIO_ICRB_IMSGT_CRB   3 /* Incoming message from CRB ??? */

Definition at line 3002 of file shubio.h.

#define IIO_ICRB_IMSGT_SN1NET   2 /* Incoming message from SN1 net */

Definition at line 3001 of file shubio.h.

#define IIO_ICRB_IMSGT_XTALK   0 /* Incoming Meessage from Xtalk */

Definition at line 2999 of file shubio.h.

#define IIO_ICRB_INIT_BTE0   0x1 /* Message originated in BTE 0 */

Definition at line 3008 of file shubio.h.

#define IIO_ICRB_INIT_BTE1   0x5 /* MEssage originated in BTE 1 */

Definition at line 3011 of file shubio.h.

#define IIO_ICRB_INIT_CRB   0x3 /* Message originated in CRB ? */

Definition at line 3010 of file shubio.h.

#define IIO_ICRB_INIT_SN1NET   0x2 /* Message originated in SN1net */

Definition at line 3009 of file shubio.h.

#define IIO_ICRB_INIT_XTALK   0 /* Message originated in xtalk */

Definition at line 3007 of file shubio.h.

#define IIO_ICRB_OFFSET   8

Definition at line 2969 of file shubio.h.

#define IIO_ICRBA_A   0x004005e0 /* IO CRB Entry A_A */

Definition at line 166 of file shubio.h.

#define IIO_ICRBA_B   0x004005e8 /* IO CRB Entry A_B */

Definition at line 167 of file shubio.h.

#define IIO_ICRBA_C   0x004005f0 /* IO CRB Entry A_C */

Definition at line 168 of file shubio.h.

#define IIO_ICRBA_D   0x004005f8 /* IO CRB Entry A_D */

Definition at line 169 of file shubio.h.

#define IIO_ICRBA_E   0x00400600 /* IO CRB Entry A_E */

Definition at line 170 of file shubio.h.

#define IIO_ICRBB_A   0x00400610 /* IO CRB Entry B_A */

Definition at line 172 of file shubio.h.

#define IIO_ICRBB_B   0x00400618 /* IO CRB Entry B_B */

Definition at line 173 of file shubio.h.

#define IIO_ICRBB_C   0x00400620 /* IO CRB Entry B_C */

Definition at line 174 of file shubio.h.

#define IIO_ICRBB_D   0x00400628 /* IO CRB Entry B_D */

Definition at line 175 of file shubio.h.

#define IIO_ICRBB_E   0x00400630 /* IO CRB Entry B_E */

Definition at line 176 of file shubio.h.

#define IIO_ICRBC_A   0x00400640 /* IO CRB Entry C_A */

Definition at line 178 of file shubio.h.

#define IIO_ICRBC_B   0x00400648 /* IO CRB Entry C_B */

Definition at line 179 of file shubio.h.

#define IIO_ICRBC_C   0x00400650 /* IO CRB Entry C_C */

Definition at line 180 of file shubio.h.

#define IIO_ICRBC_D   0x00400658 /* IO CRB Entry C_D */

Definition at line 181 of file shubio.h.

#define IIO_ICRBC_E   0x00400660 /* IO CRB Entry C_E */

Definition at line 182 of file shubio.h.

#define IIO_ICRBD_A   0x00400670 /* IO CRB Entry D_A */

Definition at line 184 of file shubio.h.

#define IIO_ICRBD_B   0x00400678 /* IO CRB Entry D_B */

Definition at line 185 of file shubio.h.

#define IIO_ICRBD_C   0x00400680 /* IO CRB Entry D_C */

Definition at line 186 of file shubio.h.

#define IIO_ICRBD_D   0x00400688 /* IO CRB Entry D_D */

Definition at line 187 of file shubio.h.

#define IIO_ICRBD_E   0x00400690 /* IO CRB Entry D_E */

Definition at line 188 of file shubio.h.

#define IIO_ICRBE_A   0x004006a0 /* IO CRB Entry E_A */

Definition at line 190 of file shubio.h.

#define IIO_ICRBE_B   0x004006a8 /* IO CRB Entry E_B */

Definition at line 191 of file shubio.h.

#define IIO_ICRBE_C   0x004006b0 /* IO CRB Entry E_C */

Definition at line 192 of file shubio.h.

#define IIO_ICRBE_D   0x004006b8 /* IO CRB Entry E_D */

Definition at line 193 of file shubio.h.

#define IIO_ICRBE_E   0x004006c0 /* IO CRB Entry E_E */

Definition at line 194 of file shubio.h.

#define IIO_ICSMH   0x00400710 /* IO CRB Spurious Message High */

Definition at line 198 of file shubio.h.

#define IIO_ICSML   0x00400700 /* IO CRB Spurious Message Low */

Definition at line 196 of file shubio.h.

#define IIO_ICSMM   0x00400708 /* IO CRB Spurious Message Middle */

Definition at line 197 of file shubio.h.

#define IIO_ICTO   0x004003B8 /* IO CRB Timeout */

Definition at line 103 of file shubio.h.

#define IIO_ICTP   0x004003C0 /* IO CRB Timeout Prescalar */

Definition at line 104 of file shubio.h.

#define IIO_IDBSS   0x00400718 /* IO Debug Submenu Select */

Definition at line 200 of file shubio.h.

#define IIO_IECLR   0x004001F8 /* IO Error Clear Register */

Definition at line 57 of file shubio.h.

#define IIO_IFDR   0x00400398 /* IO IOQ FIFO Depth Register */

Definition at line 99 of file shubio.h.

#define IIO_IGFX0   0x00400140 /* IO Graphics Node-Widget Map 0 */

Definition at line 30 of file shubio.h.

#define IIO_IGFX1   0x00400148 /* IO Graphics Node-Widget Map 1 */

Definition at line 31 of file shubio.h.

#define IIO_IGFX_0   IIO_IGFX0

Definition at line 2834 of file shubio.h.

#define IIO_IGFX_1   IIO_IGFX1

Definition at line 2835 of file shubio.h.

#define IIO_IGFX_INIT (   widget,
  pi,
  node,
  cpu 
)
#define IIO_IGFX_N_NUM_BITS   8 /* size of node num field */

Definition at line 2907 of file shubio.h.

#define IIO_IGFX_N_NUM_MASK   ((1<<IIO_IGFX_N_NUM_BITS)-1)

Definition at line 2908 of file shubio.h.

#define IIO_IGFX_N_NUM_SHIFT   5

Definition at line 2909 of file shubio.h.

#define IIO_IGFX_P_NUM_BITS   1 /* size of processor num field */

Definition at line 2910 of file shubio.h.

#define IIO_IGFX_P_NUM_MASK   ((1<<IIO_IGFX_P_NUM_BITS)-1)

Definition at line 2911 of file shubio.h.

#define IIO_IGFX_P_NUM_SHIFT   16

Definition at line 2912 of file shubio.h.

#define IIO_IGFX_PI_NUM_BITS   1 /* size of PI num field */

Definition at line 2904 of file shubio.h.

#define IIO_IGFX_PI_NUM_MASK   ((1<<IIO_IGFX_PI_NUM_BITS)-1)

Definition at line 2905 of file shubio.h.

#define IIO_IGFX_PI_NUM_SHIFT   4

Definition at line 2906 of file shubio.h.

#define IIO_IGFX_W_NUM_BITS   4 /* size of widget num field */

Definition at line 2901 of file shubio.h.

#define IIO_IGFX_W_NUM_MASK   ((1<<IIO_IGFX_W_NUM_BITS)-1)

Definition at line 2902 of file shubio.h.

#define IIO_IGFX_W_NUM_SHIFT   0

Definition at line 2903 of file shubio.h.

#define IIO_IIAP   0x004003A0 /* IO IIQ Arbitration Parameters */

Definition at line 100 of file shubio.h.

#define IIO_IIDEM   0x00400120 /* IO Inbound Device Error Mask */

Definition at line 25 of file shubio.h.

#define IIO_IIDEM_WIDGETDEV_MASK (   w,
  d 
)    ((u64)(1ULL << (8 * ((w) - 8) + (d))))

Definition at line 3275 of file shubio.h.

#define IIO_IIDSR   0x00400138 /* IO Interrupt Destination */

Definition at line 28 of file shubio.h.

#define IIO_IIDSR_ENB_MASK   0x01000000

Definition at line 3281 of file shubio.h.

#define IIO_IIDSR_ENB_SHIFT   24

Definition at line 3280 of file shubio.h.

#define IIO_IIDSR_LVL_MASK   0x000000ff

Definition at line 3287 of file shubio.h.

#define IIO_IIDSR_LVL_SHIFT   0

Definition at line 3286 of file shubio.h.

#define IIO_IIDSR_NODE_MASK   0x000ff700

Definition at line 3283 of file shubio.h.

#define IIO_IIDSR_NODE_SHIFT   9

Definition at line 3282 of file shubio.h.

#define IIO_IIDSR_PI_ID_MASK   0x00000100

Definition at line 3285 of file shubio.h.

#define IIO_IIDSR_PI_ID_SHIFT   8

Definition at line 3284 of file shubio.h.

#define IIO_IIDSR_SENT_MASK   0x30000000

Definition at line 3279 of file shubio.h.

#define IIO_IIDSR_SENT_SHIFT   28

Definition at line 3278 of file shubio.h.

#define IIO_IIEPH1   0x00400220 /* IO Incoming Error Packet Header, Part 1 */

Definition at line 65 of file shubio.h.

#define IIO_IIEPH2   0x00400228 /* IO Incoming Error Packet Header, Part 2 */

Definition at line 66 of file shubio.h.

#define IIO_IIWA   0x00400118 /* IO Inbound Widget Access */

Definition at line 24 of file shubio.h.

#define IIO_IIWA_WIDGET (   _w)    ((u64)(1ULL << _w))

Definition at line 3267 of file shubio.h.

#define IIO_ILAPO   0x00400108 /* IO Local Access Protection Override */

Definition at line 22 of file shubio.h.

#define IIO_ILAPR   0x00400100 /* IO Local Access Protection Register */

Definition at line 21 of file shubio.h.

#define IIO_ILCSR   0x00400128 /* IO LLP Control and Status Register */

Definition at line 26 of file shubio.h.

#define IIO_ILCT   0x00400218 /* IO LLP Channel Test */

Definition at line 63 of file shubio.h.

#define IIO_ILLR   0x00400130 /* IO LLP Log Register */

Definition at line 27 of file shubio.h.

#define IIO_IMEM   0x004001E8 /* IO Miscellaneous Error Mask */

Definition at line 55 of file shubio.h.

#define IIO_IMEM_B0ESD   (1UL << 4) /* BTE 0 shut down due to error */

Definition at line 2945 of file shubio.h.

#define IIO_IMEM_B1ESD   (1UL << 8) /* BTE 1 Shut down due to error */

Definition at line 2946 of file shubio.h.

#define IIO_IMEM_W0ESD   0x1UL /* Widget 0 shut down due to error */

Definition at line 2944 of file shubio.h.

#define IIO_INDEV_ERR_MASK   IIO_IIDEM /* Inbound device error mask */

Definition at line 2828 of file shubio.h.

#define IIO_INWIDGET_ACCESS   IIO_IIWA /* Inbound widget access */

Definition at line 2827 of file shubio.h.

#define IIO_IO_ERR_CLR   IIO_IECLR /* IO error clear */

Definition at line 2833 of file shubio.h.

#define IIO_IOPRB (   _x)
Value:
(IIO_IOPRB_0 + ( ( (_x) < HUB_WIDGET_ID_MIN ? \
(_x) : \
(_x) - (HUB_WIDGET_ID_MIN-1)) << 3) )

Definition at line 2896 of file shubio.h.

#define IIO_IOPRB_0   IIO_IPRB0

Definition at line 2848 of file shubio.h.

#define IIO_IOWA   0x00400110 /* IO Outbound Widget Access */

Definition at line 23 of file shubio.h.

#define IIO_IOWA_WIDGET (   _w)    ((u64)(1ULL << _w))

Definition at line 3269 of file shubio.h.

#define IIO_IPCA   0x00400300 /* IO PRB Counter Adjust */

Definition at line 77 of file shubio.h.

#define IIO_IPCR   0x00430000 /* IO Performance Control */

Definition at line 215 of file shubio.h.

#define IIO_IPDR   0x00400388 /* IO PIO Deallocation Register */

Definition at line 97 of file shubio.h.

#define IIO_IPDR_PND   (1 << 4)

Definition at line 3067 of file shubio.h.

#define IIO_IPPR   0x00430008 /* IO Performance Profiling */

Definition at line 216 of file shubio.h.

#define IIO_IPRB0   0x00400198 /* IO PRB Entry 0 */

Definition at line 44 of file shubio.h.

#define IIO_IPRB8   0x004001A0 /* IO PRB Entry 8 */

Definition at line 45 of file shubio.h.

#define IIO_IPRB9   0x004001A8 /* IO PRB Entry 9 */

Definition at line 46 of file shubio.h.

#define IIO_IPRBA   0x004001B0 /* IO PRB Entry A */

Definition at line 47 of file shubio.h.

#define IIO_IPRBB   0x004001B8 /* IO PRB Entry B */

Definition at line 48 of file shubio.h.

#define IIO_IPRBC   0x004001C0 /* IO PRB Entry C */

Definition at line 49 of file shubio.h.

#define IIO_IPRBD   0x004001C8 /* IO PRB Entry D */

Definition at line 50 of file shubio.h.

#define IIO_IPRBE   0x004001D0 /* IO PRB Entry E */

Definition at line 51 of file shubio.h.

#define IIO_IPRBF   0x004001D8 /* IO PRB Entry F */

Definition at line 52 of file shubio.h.

#define IIO_IPRTE0_A   0x00400308 /* IO PIO Read Address Table Entry 0, Part A */

Definition at line 79 of file shubio.h.

#define IIO_IPRTE0_B   0x00400348 /* IO PIO Read Address Table Entry 0, Part B */

Definition at line 88 of file shubio.h.

#define IIO_IPRTE1_A   0x00400310 /* IO PIO Read Address Table Entry 1, Part A */

Definition at line 80 of file shubio.h.

#define IIO_IPRTE1_B   0x00400350 /* IO PIO Read Address Table Entry 1, Part B */

Definition at line 89 of file shubio.h.

#define IIO_IPRTE2_A   0x00400318 /* IO PIO Read Address Table Entry 2, Part A */

Definition at line 81 of file shubio.h.

#define IIO_IPRTE2_B   0x00400358 /* IO PIO Read Address Table Entry 2, Part B */

Definition at line 90 of file shubio.h.

#define IIO_IPRTE3_A   0x00400320 /* IO PIO Read Address Table Entry 3, Part A */

Definition at line 82 of file shubio.h.

#define IIO_IPRTE3_B   0x00400360 /* IO PIO Read Address Table Entry 3, Part B */

Definition at line 91 of file shubio.h.

#define IIO_IPRTE4_A   0x00400328 /* IO PIO Read Address Table Entry 4, Part A */

Definition at line 83 of file shubio.h.

#define IIO_IPRTE4_B   0x00400368 /* IO PIO Read Address Table Entry 4, Part B */

Definition at line 92 of file shubio.h.

#define IIO_IPRTE5_A   0x00400330 /* IO PIO Read Address Table Entry 5, Part A */

Definition at line 84 of file shubio.h.

#define IIO_IPRTE5_B   0x00400370 /* IO PIO Read Address Table Entry 5, Part B */

Definition at line 93 of file shubio.h.

#define IIO_IPRTE6_A   0x00400338 /* IO PIO Read Address Table Entry 6, Part A */

Definition at line 85 of file shubio.h.

#define IIO_IPRTE6_B   0x00400378 /* IO PIO Read Address Table Entry 6, Part B */

Definition at line 94 of file shubio.h.

#define IIO_IPRTE7_A   0x00400340 /* IO PIO Read Address Table Entry 7, Part A */

Definition at line 86 of file shubio.h.

#define IIO_IPRTE7_B   0x00400380 /* IO PIO Read Address Table Entry 7, Part B */

Definition at line 95 of file shubio.h.

#define IIO_ISCR0   0x00400150 /* IO Scratch Register 0 */

Definition at line 33 of file shubio.h.

#define IIO_ISCR1   0x00400158 /* IO Scratch Register 1 */

Definition at line 34 of file shubio.h.

#define IIO_ISLAPO   0x00400238 /* IO SXB Local Access Protection Override */

Definition at line 69 of file shubio.h.

#define IIO_ISLAPR   0x00400230 /* IO SXB Local Access Protection Regster */

Definition at line 68 of file shubio.h.

#define IIO_ITTE1   0x00400160 /* IO Translation Table Entry 1 */

Definition at line 36 of file shubio.h.

#define IIO_ITTE2   0x00400168 /* IO Translation Table Entry 2 */

Definition at line 37 of file shubio.h.

#define IIO_ITTE3   0x00400170 /* IO Translation Table Entry 3 */

Definition at line 38 of file shubio.h.

#define IIO_ITTE4   0x00400178 /* IO Translation Table Entry 4 */

Definition at line 39 of file shubio.h.

#define IIO_ITTE5   0x00400180 /* IO Translation Table Entry 5 */

Definition at line 40 of file shubio.h.

#define IIO_ITTE6   0x00400188 /* IO Translation Table Entry 6 */

Definition at line 41 of file shubio.h.

#define IIO_ITTE7   0x00400190 /* IO Translation Table Entry 7 */

Definition at line 42 of file shubio.h.

#define IIO_IWC   0x00400250 /* IO Wrapper Control Register */

Definition at line 73 of file shubio.h.

#define IIO_IWEIM   0x00400260 /* IO Wrapper Error Interrupt Masking Register */

Definition at line 75 of file shubio.h.

#define IIO_IWEL   0x00400248 /* IO Wrapper Error Log Register */

Definition at line 72 of file shubio.h.

#define IIO_IWI   0x00400240 /* IO Wrapper Interrupt Register */

Definition at line 71 of file shubio.h.

#define IIO_IWS   0x00400258 /* IO Wrapper Status Register */

Definition at line 74 of file shubio.h.

#define IIO_IXCC   0x004001E0 /* IO Crosstalk Credit Count Timeout */

Definition at line 54 of file shubio.h.

#define IIO_IXSM   0x00400208 /* IO Crosstalk Spurious Message */

Definition at line 60 of file shubio.h.

#define IIO_IXSS   0x00400210 /* IO Crosstalk Spurious Sideband */

Definition at line 61 of file shubio.h.

#define IIO_IXTT   0x004001F0 /* IO Crosstalk Timeout Threshold */

Definition at line 56 of file shubio.h.

#define IIO_LLP_CB_MAX   0xffff /* in ILLR CB_CNT, Max Check Bit errors */

Definition at line 2862 of file shubio.h.

#define IIO_LLP_CSR   IIO_ILCSR /* LLP control and status */

Definition at line 2829 of file shubio.h.

#define IIO_LLP_CSR_IS_UP   0x00002000

Definition at line 2858 of file shubio.h.

#define IIO_LLP_CSR_LLP_STAT_MASK   0x00003000

Definition at line 2859 of file shubio.h.

#define IIO_LLP_CSR_LLP_STAT_SHFT   12

Definition at line 2860 of file shubio.h.

#define IIO_LLP_LOG   IIO_ILLR /* LLP log */

Definition at line 2830 of file shubio.h.

#define IIO_LLP_SN_MAX   0xffff /* in ILLR SN_CNT, Max Sequence Number errors */

Definition at line 2863 of file shubio.h.

#define IIO_NUM_CRBS   15 /* Number of CRBs */

Definition at line 2967 of file shubio.h.

#define IIO_NUM_IPRBS   9

Definition at line 2856 of file shubio.h.

#define IIO_NUM_ITTES   7

Definition at line 2939 of file shubio.h.

#define IIO_NUM_ITTES   7 /* ITTEs numbered 0..6 */

Definition at line 2939 of file shubio.h.

#define IIO_NUM_PC_CRBS   4 /* Number of partial cache CRBs */

Definition at line 2968 of file shubio.h.

#define IIO_NUM_PRTES   8 /* Total number of PRB table entries */

Definition at line 2852 of file shubio.h.

#define IIO_OUTWIDGET_ACCESS   IIO_IOWA /* Outbound widget access */

Definition at line 2826 of file shubio.h.

#define IIO_PRB_ERROR   (1LL << 48)

Definition at line 3035 of file shubio.h.

#define IIO_PRB_MULTI_ERR   (1LL << 63)

Definition at line 3031 of file shubio.h.

#define IIO_PRB_RD_TO   (1LL << 49)

Definition at line 3034 of file shubio.h.

#define IIO_PRB_SPUR_RD   (1LL << 51)

Definition at line 3032 of file shubio.h.

#define IIO_PRB_SPUR_WR   (1LL << 50)

Definition at line 3033 of file shubio.h.

#define IIO_PROTECT   IIO_ILAPR /* IO interface protection */

Definition at line 2824 of file shubio.h.

#define IIO_PROTECT_OVRRD   IIO_ILAPO /* IO protect override */

Definition at line 2825 of file shubio.h.

#define IIO_PROTECT_OVRRD_KEY   0x53474972756c6573ull /* "SGIrules" */

Definition at line 2866 of file shubio.h.

#define IIO_PRTE_A (   _x)    (IIO_IPRTE0_A + (8 * (_x)))

Definition at line 2850 of file shubio.h.

#define IIO_PRTE_B (   _x)    (IIO_IPRTE0_B + (8 * (_x)))

Definition at line 2851 of file shubio.h.

#define IIO_SCRATCH_BIT0_0   0x0000000000000001UL

Definition at line 2924 of file shubio.h.

#define IIO_SCRATCH_BIT0_1   0x0000000000000002UL

Definition at line 2925 of file shubio.h.

#define IIO_SCRATCH_BIT0_2   0x0000000000000004UL

Definition at line 2926 of file shubio.h.

#define IIO_SCRATCH_BIT0_3   0x0000000000000008UL

Definition at line 2927 of file shubio.h.

#define IIO_SCRATCH_BIT0_4   0x0000000000000010UL

Definition at line 2928 of file shubio.h.

#define IIO_SCRATCH_BIT0_5   0x0000000000000020UL

Definition at line 2929 of file shubio.h.

#define IIO_SCRATCH_BIT0_6   0x0000000000000040UL

Definition at line 2930 of file shubio.h.

#define IIO_SCRATCH_BIT0_7   0x0000000000000080UL

Definition at line 2931 of file shubio.h.

#define IIO_SCRATCH_BIT0_8   0x0000000000000100UL

Definition at line 2932 of file shubio.h.

#define IIO_SCRATCH_BIT0_9   0x0000000000000200UL

Definition at line 2933 of file shubio.h.

#define IIO_SCRATCH_BIT0_A   0x0000000000000400UL

Definition at line 2934 of file shubio.h.

#define IIO_SCRATCH_BIT1_0   0x0000000000000001UL

Definition at line 2936 of file shubio.h.

#define IIO_SCRATCH_BIT1_1   0x0000000000000002UL

Definition at line 2937 of file shubio.h.

#define IIO_SCRATCH_MASK   0xffffffffffffffffUL

Definition at line 2922 of file shubio.h.

#define IIO_SCRATCH_REG0   IIO_ISCR0

Definition at line 2920 of file shubio.h.

#define IIO_SCRATCH_REG1   IIO_ISCR1

Definition at line 2921 of file shubio.h.

#define IIO_WCR   0x00400020 /* Crosstalk Widget Control Register */

Definition at line 20 of file shubio.h.

#define IIO_WID   0x00400000 /* Crosstalk Widget Identification */

Definition at line 16 of file shubio.h.

#define IIO_WIDGET   IIO_WID /* Widget identification */

Definition at line 2821 of file shubio.h.

#define IIO_WIDGET_CTRL   IIO_WCR /* Widget control register */

Definition at line 2823 of file shubio.h.

#define IIO_WIDGET_STAT   IIO_WSTAT /* Widget status register */

Definition at line 2822 of file shubio.h.

#define IIO_WIDPRTE_A (   x)    IIO_PRTE_A(((x) - 8)) /* widget ID to its PRTE num */

Definition at line 2853 of file shubio.h.

#define IIO_WIDPRTE_B (   x)    IIO_PRTE_B(((x) - 8)) /* widget ID to its PRTE num */

Definition at line 2854 of file shubio.h.

#define IIO_WSTAT   0x00400008 /* Crosstalk Widget Status */

Definition at line 19 of file shubio.h.

#define IIO_WSTAT_ECRAZY   (1ULL << 32) /* Hub gone crazy */

Definition at line 3255 of file shubio.h.

#define IIO_WSTAT_TXRETRY   (1ULL << 9) /* Hub Tx Retry timeout */

Definition at line 3256 of file shubio.h.

#define IIO_WSTAT_TXRETRY_CNT (   w)
Value:
IIO_WSTAT_TXRETRY_MASK)

Definition at line 3259 of file shubio.h.

#define IIO_WSTAT_TXRETRY_MASK   0x7F /* should be 0xFF?? */

Definition at line 3257 of file shubio.h.

#define IIO_WSTAT_TXRETRY_SHFT   16

Definition at line 3258 of file shubio.h.

#define IIO_XTALKCC_TOUT   IIO_IXCC /* Xtalk credit count timeout */

Definition at line 2831 of file shubio.h.

#define IIO_XTALKTT_TOUT   IIO_IXTT /* Xtalk tail timeout */

Definition at line 2832 of file shubio.h.

#define ILCSR_WARM_RESET   0x100

Definition at line 2960 of file shubio.h.

#define IO_PERF_SETS   32

Definition at line 3264 of file shubio.h.

#define iprb_anakctr   ii_iprb0_fld_s.i_na

Definition at line 3250 of file shubio.h.

#define iprb_bnakctr   ii_iprb0_fld_s.i_nb

Definition at line 3249 of file shubio.h.

#define iprb_error   ii_iprb0_fld_s.i_error

Definition at line 3246 of file shubio.h.

#define iprb_ff   ii_iprb0_fld_s.i_f

Definition at line 3247 of file shubio.h.

#define iprb_mode   ii_iprb0_fld_s.i_m

Definition at line 3248 of file shubio.h.

#define iprb_mult_err   ii_iprb0_fld_s.i_mult_err

Definition at line 3241 of file shubio.h.

#define iprb_ovflow   ii_iprb0_fld_s.i_of_cnt

Definition at line 3245 of file shubio.h.

#define iprb_rd_to   ii_iprb0_fld_s.i_rd_to

Definition at line 3244 of file shubio.h.

#define iprb_regval   ii_iprb0_regval

Definition at line 3240 of file shubio.h.

#define iprb_spur_rd   ii_iprb0_fld_s.i_spur_rd

Definition at line 3242 of file shubio.h.

#define iprb_spur_wr   ii_iprb0_fld_s.i_spur_wr

Definition at line 3243 of file shubio.h.

#define iprb_t   ii_iprb0_u_t

Definition at line 3239 of file shubio.h.

#define iprb_xtalkctr   ii_iprb0_fld_s.i_c

Definition at line 3251 of file shubio.h.

#define iwcr_dir_con   wcr_fields_s.wcr_dir_con

Definition at line 3315 of file shubio.h.

#define IXTT_RRSP_PS_MASK   (0x7FFFFFULL << IXTT_RRSP_PS_SHFT)

Definition at line 3293 of file shubio.h.

#define IXTT_RRSP_PS_SHFT   32 /* read responsed TO prescalar */

Definition at line 3292 of file shubio.h.

#define IXTT_RRSP_TO_MASK   (0x1FULL << IXTT_RRSP_TO_SHFT)

Definition at line 3291 of file shubio.h.

#define IXTT_RRSP_TO_SHFT   55 /* read response timeout */

Definition at line 3290 of file shubio.h.

#define IXTT_TAIL_TO_MASK   (0x3FFFFFFULL << IXTT_TAIL_TO_SHFT)

Definition at line 3295 of file shubio.h.

#define IXTT_TAIL_TO_SHFT   0 /* tail timeout counter threshold */

Definition at line 3294 of file shubio.h.

#define LNK_STAT_WORKING   0x2 /* LLP is working */

Definition at line 3253 of file shubio.h.

#define MAX_HUBS_PER_XBOW   2

Definition at line 3236 of file shubio.h.

#define SWIN0_BIGWIN   HUB_NUM_BIG_WINDOW

Definition at line 2958 of file shubio.h.

#define TNUM_TO_WIDGET_DEV (   _tnum)    (_tnum & 0x7)

Definition at line 2982 of file shubio.h.

Typedef Documentation

typedef union hubii_wcr_u hubii_wcr_t

Definition at line 3172 of file shubio.h.

Definition at line 3180 of file shubio.h.

Definition at line 3203 of file shubio.h.

Definition at line 3214 of file shubio.h.

Definition at line 3223 of file shubio.h.

typedef union ii_ibcr_u ii_ibcr_u_t
typedef union ii_ibct0_u ii_ibct0_u_t
typedef union ii_ibct1_u ii_ibct1_u_t
typedef union ii_ibda0_u ii_ibda0_u_t
typedef union ii_ibda1_u ii_ibda1_u_t
typedef union ii_ibia0_u ii_ibia0_u_t
typedef union ii_ibia1_u ii_ibia1_u_t
typedef union ii_ibls0_u ii_ibls0_u_t
typedef union ii_ibls1_u ii_ibls1_u_t
typedef union ii_ibna0_u ii_ibna0_u_t
typedef union ii_ibna1_u ii_ibna1_u_t
typedef union ii_ibsa0_u ii_ibsa0_u_t
typedef union ii_ibsa1_u ii_ibsa1_u_t
typedef union ii_iccr_u ii_iccr_u_t
typedef union ii_icdr_u ii_icdr_u_t
typedef union ii_icmr_u ii_icmr_u_t
typedef union ii_icsmh_u ii_icsmh_u_t
typedef union ii_icsml_u ii_icsml_u_t
typedef union ii_icsmm_u ii_icsmm_u_t
typedef union ii_icto_u ii_icto_u_t
typedef union ii_ictp_u ii_ictp_u_t
typedef union ii_idbss_u ii_idbss_u_t
typedef union ii_ieclr_u ii_ieclr_u_t
typedef union ii_ifdr_u ii_ifdr_u_t
typedef union ii_igfx0_u ii_igfx0_u_t
typedef union ii_igfx1_u ii_igfx1_u_t
typedef union ii_iiap_u ii_iiap_u_t
typedef union ii_iidem_u ii_iidem_u_t
typedef union ii_iidsr_u ii_iidsr_u_t
typedef union ii_iieph1_u ii_iieph1_u_t
typedef union ii_iieph2_u ii_iieph2_u_t
typedef union ii_iiwa_u ii_iiwa_u_t
typedef union ii_ilapo_u ii_ilapo_u_t
typedef union ii_ilapr_u ii_ilapr_u_t
typedef union ii_ilcsr_u ii_ilcsr_u_t
typedef union ii_ilct_u ii_ilct_u_t
typedef union ii_illr_u ii_illr_u_t
typedef union ii_imem_u ii_imem_u_t
typedef union ii_iowa_u ii_iowa_u_t
typedef union ii_ipca_u ii_ipca_u_t
typedef union ii_ipcr_u ii_ipcr_u_t
typedef union ii_ipdr_u ii_ipdr_u_t
typedef union ii_ippr_u ii_ippr_u_t
typedef union ii_iprb0_u ii_iprb0_u_t
typedef union ii_iprb8_u ii_iprb8_u_t
typedef union ii_iprb9_u ii_iprb9_u_t
typedef union ii_iprba_u ii_iprba_u_t
typedef union ii_iprbb_u ii_iprbb_u_t
typedef union ii_iprbc_u ii_iprbc_u_t
typedef union ii_iprbd_u ii_iprbd_u_t
typedef union ii_iprbe_u ii_iprbe_u_t
typedef union ii_iprbf_u ii_iprbf_u_t
typedef union ii_iscr0_u ii_iscr0_u_t
typedef union ii_iscr1_u ii_iscr1_u_t
typedef union ii_islapo_u ii_islapo_u_t
typedef union ii_islapr_u ii_islapr_u_t
typedef union ii_itte1_u ii_itte1_u_t
typedef union ii_itte2_u ii_itte2_u_t
typedef union ii_itte3_u ii_itte3_u_t
typedef union ii_itte4_u ii_itte4_u_t
typedef union ii_itte5_u ii_itte5_u_t
typedef union ii_itte6_u ii_itte6_u_t
typedef union ii_itte7_u ii_itte7_u_t
typedef union ii_iwc_u ii_iwc_u_t
typedef union ii_iweim_u ii_iweim_u_t
typedef union ii_iwel_u ii_iwel_u_t
typedef union ii_iwi_u ii_iwi_u_t
typedef union ii_iws_u ii_iws_u_t
typedef union ii_ixcc_u ii_ixcc_u_t
typedef union ii_ixsm_u ii_ixsm_u_t
typedef union ii_ixss_u ii_ixss_u_t
typedef union ii_ixtt_u ii_ixtt_u_t
typedef union ii_wcr_u ii_wcr_u_t
typedef union ii_wid_u ii_wid_u_t
typedef union ii_wstat_u ii_wstat_u_t
typedef union io_perf_cnt io_perf_cnt_t
typedef union io_perf_sel io_perf_sel_t
typedef union iprte_a iprte_a_t