/**************************************************************************** **************************************************************************** *** *** This header was automatically generated from a Linux kernel header *** of the same name, to make information necessary for userspace to *** call into the kernel available to libc. It contains only constants, *** structures, and macros generated from the original header, and thus, *** contains no copyrightable information. *** *** To edit the content of this header, modify the corresponding *** source file (e.g. under external/kernel-headers/original/) then *** run bionic/libc/kernel/tools/update_all.py *** *** Any manual change here will be lost the next time this script will *** be run. You've been warned! *** **************************************************************************** ****************************************************************************/ #ifndef _ASM_SGI_SN_SN0_HUBIO_H #define _ASM_SGI_SN_SN0_HUBIO_H #define IIO_WIDGET IIO_WID #define IIO_WIDGET_STAT IIO_WSTAT /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define IIO_WIDGET_CTRL IIO_WCR #define IIO_WIDGET_TOUT IIO_WRTO #define IIO_WIDGET_FLUSH IIO_WTFR #define IIO_PROTECT IIO_ILAPR /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define IIO_PROTECT_OVRRD IIO_ILAPO #define IIO_OUTWIDGET_ACCESS IIO_IOWA #define IIO_INWIDGET_ACCESS IIO_IIWA #define IIO_INDEV_ERR_MASK IIO_IIDEM /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define IIO_LLP_CSR IIO_ILCSR #define IIO_LLP_LOG IIO_ILLR #define IIO_XTALKCC_TOUT IIO_IXCC #define IIO_XTALKTT_TOUT IIO_IXTT /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define IIO_IO_ERR_CLR IIO_IECLR #define IIO_BTE_CRB_CNT IIO_IBCN #define IIO_LLP_CSR_IS_UP 0x00002000 #define IIO_LLP_CSR_LLP_STAT_MASK 0x00003000 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define IIO_LLP_CSR_LLP_STAT_SHFT 12 #define IIO_PROTECT_OVRRD_KEY 0x53474972756c6573ull #define IIO_BTE_STAT_0 IIO_IBLS_0 #define IIO_BTE_SRC_0 IIO_IBSA_0 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define IIO_BTE_DEST_0 IIO_IBDA_0 #define IIO_BTE_CTRL_0 IIO_IBCT_0 #define IIO_BTE_NOTIFY_0 IIO_IBNA_0 #define IIO_BTE_INT_0 IIO_IBIA_0 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define IIO_BTE_OFF_0 0 #define IIO_BTE_OFF_1 IIO_IBLS_1 - IIO_IBLS_0 #define BTEOFF_STAT 0 #define BTEOFF_SRC (IIO_BTE_SRC_0 - IIO_BTE_STAT_0) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #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) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define IIO_BASE 0x400000 #define IIO_BASE_BTE0 0x410000 #define IIO_BASE_BTE1 0x420000 #define IIO_BASE_PERF 0x430000 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define IIO_PERF_CNT 0x430008 #define IO_PERF_SETS 32 #define IIO_WID 0x400000 #define IIO_WSTAT 0x400008 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define IIO_WCR 0x400020 #define IIO_WSTAT_ECRAZY (1ULL << 32) #define IIO_WSTAT_TXRETRY (1ULL << 9) #define IIO_WSTAT_TXRETRY_MASK (0x7F) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define IIO_WSTAT_TXRETRY_SHFT (16) #define IIO_WSTAT_TXRETRY_CNT(w) (((w) >> IIO_WSTAT_TXRETRY_SHFT) & IIO_WSTAT_TXRETRY_MASK) #define IIO_ILAPR 0x400100 #define IIO_ILAPO 0x400108 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define IIO_IOWA 0x400110 #define IIO_IIWA 0x400118 #define IIO_IIDEM 0x400120 #define IIO_ILCSR 0x400128 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define IIO_ILLR 0x400130 #define IIO_IIDSR 0x400138 #define IIO_IIBUSERR 0x1400208 #define IIO_IIDSR_SENT_SHIFT 28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define IIO_IIDSR_SENT_MASK 0x10000000 #define IIO_IIDSR_ENB_SHIFT 24 #define IIO_IIDSR_ENB_MASK 0x01000000 #define IIO_IIDSR_NODE_SHIFT 8 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define IIO_IIDSR_NODE_MASK 0x0000ff00 #define IIO_IIDSR_LVL_SHIFT 0 #define IIO_IIDSR_LVL_MASK 0x0000003f #define IIO_IGFX_0 0x400140 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define IIO_IGFX_1 0x400148 #define IIO_IGFX_W_NUM_BITS 4 #define IIO_IGFX_W_NUM_MASK ((1<