Lines Matching defs:fotg210

187 static inline struct usb_hcd *fotg210_to_hcd(struct fotg210_hcd *fotg210)  in fotg210_to_hcd()
205 #define HC_LENGTH(fotg210, p) (0x00ff&((p) >> /* bits 7:0 / offset 00h */ \ argument
207 #define HC_VERSION(fotg210, p) (0xffff&((p) >> /* bits 31:16 / offset 02h */ \ argument
300 #define QTD_NEXT(fotg210, dma) cpu_to_hc32(fotg210, (u32)dma) argument
329 #define ACTIVE_BIT(fotg210) cpu_to_hc32(fotg210, QTD_STS_ACTIVE) argument
330 #define HALT_BIT(fotg210) cpu_to_hc32(fotg210, QTD_STS_HALT) argument
331 #define STATUS_BIT(fotg210) cpu_to_hc32(fotg210, QTD_STS_STS) argument
344 #define QTD_MASK(fotg210) cpu_to_hc32(fotg210, ~0x1f) argument
351 #define Q_NEXT_TYPE(fotg210, dma) ((dma) & cpu_to_hc32(fotg210, 3 << 1)) argument
367 #define QH_NEXT(fotg210, dma) \ argument
371 #define FOTG210_LIST_END(fotg210) \ argument
544 #define ITD_ACTIVE(fotg210) cpu_to_hc32(fotg210, FOTG210_ISOC_ACTIVE) argument
587 #define fotg210_prepare_ports_for_controller_suspend(fotg210, do_wakeup) \ argument
590 #define fotg210_prepare_ports_for_controller_resume(fotg210) \ argument
603 fotg210_get_speed(struct fotg210_hcd *fotg210, unsigned int portsc) in fotg210_get_speed()
611 fotg210_port_speed(struct fotg210_hcd *fotg210, unsigned int portsc) in fotg210_port_speed()
642 static inline unsigned int fotg210_readl(const struct fotg210_hcd *fotg210, in fotg210_readl()
648 static inline void fotg210_writel(const struct fotg210_hcd *fotg210, in fotg210_writel()
655 static inline __hc32 cpu_to_hc32(const struct fotg210_hcd *fotg210, const u32 x) in cpu_to_hc32()
661 static inline u32 hc32_to_cpu(const struct fotg210_hcd *fotg210, const __hc32 x) in hc32_to_cpu()
666 static inline u32 hc32_to_cpup(const struct fotg210_hcd *fotg210, in hc32_to_cpup()
674 static inline unsigned fotg210_read_frame_index(struct fotg210_hcd *fotg210) in fotg210_read_frame_index()