Go to the documentation of this file.
8 #ifndef _ASM_IA64_SN_XTALK_HUBDEV_H
9 #define _ASM_IA64_SN_XTALK_HUBDEV_H
13 #define HUB_WIDGET_ID_MAX 0xf
14 #define DEV_PER_WIDGET (2*2*8)
15 #define IIO_ITTE_WIDGET_BITS 4
16 #define IIO_ITTE_WIDGET_MASK ((1<<IIO_ITTE_WIDGET_BITS)-1)
17 #define IIO_ITTE_WIDGET_SHIFT 8
19 #define IIO_ITTE_WIDGET(itte) \
20 (((itte) >> IIO_ITTE_WIDGET_SHIFT) & IIO_ITTE_WIDGET_MASK)
25 #define SWIN0_BIGWIN HUB_NUM_BIG_WINDOW
26 #define IIO_NUM_ITTES 7
27 #define HUB_NUM_BIG_WINDOW (IIO_NUM_ITTES - 1)