Lines Matching +full:0 +full:xfff
47 #define OHCI_PAGE_SIZE 0x1000
48 #define OHCI_PAGE(x) ((x) &~ 0xfff)
49 #define OHCI_PAGE_OFFSET(x) ((x) & 0xfff)
50 #define OHCI_PAGE_MASK(x) ((x) & 0xfff)
52 #if ((USB_PAGE_SIZE < OHCI_ED_ALIGN) || (OHCI_ED_ALIGN == 0) || \
53 (USB_PAGE_SIZE < OHCI_TD_ALIGN) || (OHCI_TD_ALIGN == 0) || \
54 (USB_PAGE_SIZE < OHCI_ITD_ALIGN) || (OHCI_ITD_ALIGN == 0) || \
55 (USB_PAGE_SIZE < OHCI_PAGE_SIZE) || (OHCI_PAGE_SIZE == 0))
76 #define OHCI_ED_GET_FA(s) ((s) & 0x7f)
77 #define OHCI_ED_ADDRMASK 0x0000007f
79 #define OHCI_ED_GET_EN(s) (((s) >> 7) & 0xf)
81 #define OHCI_ED_DIR_MASK 0x00001800
82 #define OHCI_ED_DIR_TD 0x00000000
83 #define OHCI_ED_DIR_OUT 0x00000800
84 #define OHCI_ED_DIR_IN 0x00001000
85 #define OHCI_ED_SPEED 0x00002000
86 #define OHCI_ED_SKIP 0x00004000
87 #define OHCI_ED_FORMAT_GEN 0x00000000
88 #define OHCI_ED_FORMAT_ISO 0x00008000
89 #define OHCI_ED_GET_MAXP(s) (((s) >> 16) & 0x07ff)
91 #define OHCI_ED_MAXPMASK (0x7ff << 16)
94 #define OHCI_HALTED 0x00000001
95 #define OHCI_TOGGLECARRY 0x00000002
96 #define OHCI_HEADMASK 0xfffffffc
112 #define OHCI_TD_R 0x00040000 /* Buffer Rounding */
113 #define OHCI_TD_DP_MASK 0x00180000 /* Direction / PID */
114 #define OHCI_TD_SETUP 0x00000000
115 #define OHCI_TD_OUT 0x00080000
116 #define OHCI_TD_IN 0x00100000
119 #define OHCI_TD_NOINTR 0x00e00000
120 #define OHCI_TD_INTR_MASK 0x00e00000
121 #define OHCI_TD_TOGGLE_CARRY 0x00000000
122 #define OHCI_TD_TOGGLE_0 0x02000000
123 #define OHCI_TD_TOGGLE_1 0x03000000
124 #define OHCI_TD_TOGGLE_MASK 0x03000000
128 #define OHCI_TD_NOCC 0xf0000000
131 #define OHCI_TD_NEXT_END 0
147 #define OHCI_ITD_GET_SF(x) ((x) & 0x0000ffff)
148 #define OHCI_ITD_SET_SF(x) ((x) & 0xffff)
151 #define OHCI_ITD_NOINTR 0x00e00000
155 #define OHCI_ITD_NOCC 0xf0000000
157 volatile uint32_t itd_bp0; /* Buffer Page 0 */
162 #define OHCI_ITD_PAGE_SELECT 0x00001000
163 #define OHCI_ITD_MK_OFFS(len) (0xe000 | ((len) & 0x1fff))
164 #define OHCI_ITD_PSW_LENGTH(x) ((x) & 0xfff) /* Transfer length */
177 #define OHCI_CC_NO_ERROR 0