Lines Matching defs:x
66 #define PORTSC_PSPD(x) (((x) >> 26) & 0x3) argument
107 #define ehci_readl(x) be32_to_cpu(__raw_readl(x)) argument
110 #define ehci_readl(x) readl(x) argument
115 #define hc32_to_cpu(x) be32_to_cpu((x)) argument
116 #define cpu_to_hc32(x) cpu_to_be32((x)) argument
118 #define hc32_to_cpu(x) le32_to_cpu((x)) argument
119 #define cpu_to_hc32(x) cpu_to_le32((x)) argument
139 #define EHCI_PS_IS_LOWSPEED(x) (((x) & EHCI_PS_LS) == (1 << 10)) argument
158 #define QT_TOKEN_DT(x) (((x) & 0x1) << 31) /* Data Toggle */ argument
159 #define QT_TOKEN_GET_DT(x) (((x) >> 31) & 0x1) argument
160 #define QT_TOKEN_TOTALBYTES(x) (((x) & 0x7fff) << 16) /* Total Bytes to Transfer */ argument
161 #define QT_TOKEN_GET_TOTALBYTES(x) (((x) >> 16) & 0x7fff) argument
162 #define QT_TOKEN_IOC(x) (((x) & 0x1) << 15) /* Interrupt On Complete */ argument
163 #define QT_TOKEN_CPAGE(x) (((x) & 0x7) << 12) /* Current Page */ argument
164 #define QT_TOKEN_CERR(x) (((x) & 0x3) << 10) /* Error Counter */ argument
165 #define QT_TOKEN_PID(x) (((x) & 0x3) << 8) /* PID Code */ argument
169 #define QT_TOKEN_STATUS(x) (((x) & 0xff) << 0) /* Status */ argument
170 #define QT_TOKEN_GET_STATUS(x) (((x) >> 0) & 0xff) argument
197 #define QH_ENDPT1_RL(x) (((x) & 0xf) << 28) /* NAK Count Reload */ argument
198 #define QH_ENDPT1_C(x) (((x) & 0x1) << 27) /* Control Endpoint Flag */ argument
199 #define QH_ENDPT1_MAXPKTLEN(x) (((x) & 0x7ff) << 16) /* Maximum Packet Length */ argument
200 #define QH_ENDPT1_H(x) (((x) & 0x1) << 15) /* Head of Reclamation List Flag */ argument
201 #define QH_ENDPT1_DTC(x) (((x) & 0x1) << 14) /* Data Toggle Control */ argument
204 #define QH_ENDPT1_EPS(x) (((x) & 0x3) << 12) /* Endpoint Speed */ argument
208 #define QH_ENDPT1_ENDPT(x) (((x) & 0xf) << 8) /* Endpoint Number */ argument
209 #define QH_ENDPT1_I(x) (((x) & 0x1) << 7) /* Inactivate on Next Transaction */ argument
210 #define QH_ENDPT1_DEVADDR(x) (((x) & 0x7f) << 0) /* Device Address */ argument
212 #define QH_ENDPT2_MULT(x) (((x) & 0x3) << 30) /* High-Bandwidth Pipe Multiplier */ argument
213 #define QH_ENDPT2_PORTNUM(x) (((x) & 0x7f) << 23) /* Port Number */ argument
214 #define QH_ENDPT2_HUBADDR(x) (((x) & 0x7f) << 16) /* Hub Address */ argument
215 #define QH_ENDPT2_UFCMASK(x) (((x) & 0xff) << 8) /* Split Completion Mask */ argument
216 #define QH_ENDPT2_UFSMASK(x) (((x) & 0xff) << 0) /* Interrupt Schedule Mask */ argument