Lines Matching defs:uhci
85 #define UHCI_PTR_BITS(uhci) cpu_to_hc32((uhci), 0x000F) argument
86 #define UHCI_PTR_TERM(uhci) cpu_to_hc32((uhci), 0x0001) argument
87 #define UHCI_PTR_QH(uhci) cpu_to_hc32((uhci), 0x0002) argument
88 #define UHCI_PTR_DEPTH(uhci) cpu_to_hc32((uhci), 0x0004) argument
89 #define UHCI_PTR_BREADTH(uhci) cpu_to_hc32((uhci), 0x0000) argument
193 #define LINK_TO_QH(uhci, qh) (UHCI_PTR_QH((uhci)) | \ argument
227 #define td_token(uhci, td) hc32_to_cpu((uhci), (td)->token) argument
278 #define td_status(uhci, td) hc32_to_cpu((uhci), \ argument
281 #define LINK_TO_TD(uhci, td) (cpu_to_hc32((uhci), (td)->dma_handle)) argument
465 static inline struct usb_hcd *uhci_to_hcd(struct uhci_hcd *uhci) in uhci_to_hcd()
497 static inline bool uhci_is_aspeed(const struct uhci_hcd *uhci) in uhci_is_aspeed()
510 static inline u32 uhci_readl(const struct uhci_hcd *uhci, int reg) in uhci_readl()
515 static inline void uhci_writel(const struct uhci_hcd *uhci, u32 val, int reg) in uhci_writel()
520 static inline u16 uhci_readw(const struct uhci_hcd *uhci, int reg) in uhci_readw()
525 static inline void uhci_writew(const struct uhci_hcd *uhci, u16 val, int reg) in uhci_writew()
530 static inline u8 uhci_readb(const struct uhci_hcd *uhci, int reg) in uhci_readb()
535 static inline void uhci_writeb(const struct uhci_hcd *uhci, u8 val, int reg) in uhci_writeb()
587 static inline u32 uhci_readl(const struct uhci_hcd *uhci, int reg) in uhci_readl()
601 static inline void uhci_writel(const struct uhci_hcd *uhci, u32 val, int reg) in uhci_writel()
615 static inline u16 uhci_readw(const struct uhci_hcd *uhci, int reg) in uhci_readw()
629 static inline void uhci_writew(const struct uhci_hcd *uhci, u16 val, int reg) in uhci_writew()
643 static inline u8 uhci_readb(const struct uhci_hcd *uhci, int reg) in uhci_readb()
657 static inline void uhci_writeb(const struct uhci_hcd *uhci, u8 val, int reg) in uhci_writeb()
682 static inline __hc32 cpu_to_hc32(const struct uhci_hcd *uhci, const u32 x) in cpu_to_hc32()
690 static inline u32 hc32_to_cpu(const struct uhci_hcd *uhci, const __hc32 x) in hc32_to_cpu()
699 static inline __hc32 cpu_to_hc32(const struct uhci_hcd *uhci, const u32 x) in cpu_to_hc32()
705 static inline u32 hc32_to_cpu(const struct uhci_hcd *uhci, const __hc32 x) in hc32_to_cpu()