Lines Matching defs:ehci

275 static inline struct usb_hcd *ehci_to_hcd (struct ehci_hcd *ehci)  in ehci_to_hcd()
286 #define QTD_NEXT(ehci, dma) cpu_to_hc32(ehci, (u32)dma) argument
315 #define ACTIVE_BIT(ehci) cpu_to_hc32(ehci, QTD_STS_ACTIVE) argument
316 #define HALT_BIT(ehci) cpu_to_hc32(ehci, QTD_STS_HALT) argument
317 #define STATUS_BIT(ehci) cpu_to_hc32(ehci, QTD_STS_STS) argument
330 #define QTD_MASK(ehci) cpu_to_hc32 (ehci, ~0x1f) argument
337 #define Q_NEXT_TYPE(ehci,dma) ((dma) & cpu_to_hc32(ehci, 3 << 1)) argument
353 #define QH_NEXT(ehci,dma) (cpu_to_hc32(ehci, (((u32)dma)&~0x01f)|Q_TYPE_QH)) argument
356 #define EHCI_LIST_END(ehci) cpu_to_hc32(ehci, 1) /* "null pointer" to hw */ argument
520 #define ITD_ACTIVE(ehci) cpu_to_hc32(ehci, EHCI_ISOC_ACTIVE) argument
565 #define SITD_ACTIVE(ehci) cpu_to_hc32(ehci, SITD_STS_ACTIVE) argument
635 #define ehci_prepare_ports_for_controller_suspend(ehci, do_wakeup) \ argument
638 #define ehci_prepare_ports_for_controller_resume(ehci) \ argument
656 ehci_port_speed(struct ehci_hcd *ehci, unsigned int portsc) in ehci_port_speed()
676 #define ehci_port_speed(ehci, portsc) USB_PORT_STAT_HIGH_SPEED argument
732 static inline unsigned int ehci_readl(const struct ehci_hcd *ehci, in ehci_readl()
756 static inline void ehci_writel(const struct ehci_hcd *ehci, in ehci_writel()
777 static inline void set_ohci_hcfs(struct ehci_hcd *ehci, int operational) in set_ohci_hcfs()
791 static inline void set_ohci_hcfs(struct ehci_hcd *ehci, int operational) in set_ohci_hcfs()
808 static inline __hc32 cpu_to_hc32 (const struct ehci_hcd *ehci, const u32 x) in cpu_to_hc32()
816 static inline u32 hc32_to_cpu (const struct ehci_hcd *ehci, const __hc32 x) in hc32_to_cpu()
823 static inline u32 hc32_to_cpup (const struct ehci_hcd *ehci, const __hc32 *x) in hc32_to_cpup()
833 static inline __hc32 cpu_to_hc32 (const struct ehci_hcd *ehci, const u32 x) in cpu_to_hc32()
839 static inline u32 hc32_to_cpu (const struct ehci_hcd *ehci, const __hc32 x) in hc32_to_cpu()
844 static inline u32 hc32_to_cpup (const struct ehci_hcd *ehci, const __hc32 *x) in hc32_to_cpup()
853 #define ehci_dbg(ehci, fmt, args...) \ argument
855 #define ehci_err(ehci, fmt, args...) \ argument
857 #define ehci_info(ehci, fmt, args...) \ argument
859 #define ehci_warn(ehci, fmt, args...) \ argument