Lines Matching defs:imx21
70 #define DEBUG_LOG_FRAME(imx21, etd, event) \ argument
73 #define DEBUG_LOG_FRAME(imx21, etd, event) do { } while (0) argument
88 static inline void set_register_bits(struct imx21 *imx21, u32 offset, u32 mask) in set_register_bits()
94 static inline void clear_register_bits(struct imx21 *imx21, in clear_register_bits()
101 static inline void clear_toggle_bit(struct imx21 *imx21, u32 offset, u32 mask) in clear_toggle_bit()
109 static inline void set_toggle_bit(struct imx21 *imx21, u32 offset, u32 mask) in set_toggle_bit()
117 static void etd_writel(struct imx21 *imx21, int etd_num, int dword, u32 value) in etd_writel()
122 static u32 etd_readl(struct imx21 *imx21, int etd_num, int dword) in etd_readl()
140 struct imx21 *imx21 = hcd_to_imx21(hcd); in imx21_hc_get_frame() local
161 static int alloc_etd(struct imx21 *imx21) in alloc_etd()
177 static void disactivate_etd(struct imx21 *imx21, int num) in disactivate_etd()
192 static void reset_etd(struct imx21 *imx21, int num) in reset_etd()
207 static void free_etd(struct imx21 *imx21, int num) in free_etd()
227 static void setup_etd_dword0(struct imx21 *imx21, in setup_etd_dword0()
245 struct imx21 *imx21, int dmem_offset, void *src, int count) in copy_to_dmem()
267 static void activate_etd(struct imx21 *imx21, int etd_num, u8 dir) in activate_etd()
364 static int alloc_dmem(struct imx21 *imx21, unsigned int size, in alloc_dmem()
405 static void activate_queued_etd(struct imx21 *imx21, in activate_queued_etd()
423 static void free_dmem(struct imx21 *imx21, struct etd_priv *etd) in free_dmem()
461 static void free_epdmem(struct imx21 *imx21, struct usb_host_endpoint *ep) in free_epdmem()
482 static void ep_idle(struct imx21 *imx21, struct ep_priv *ep_priv) in ep_idle()
524 struct imx21 *imx21 = hcd_to_imx21(hcd); in urb_done() local
543 struct imx21 *imx21, struct etd_priv *etd, int status) in nonisoc_urb_completed_for_etd()
567 struct imx21 *imx21 = hcd_to_imx21(hcd); in schedule_isoc_etds() local
633 struct imx21 *imx21 = hcd_to_imx21(hcd); in isoc_etd_done() local
694 struct imx21 *imx21, struct usb_host_endpoint *ep) in alloc_isoc_ep()
712 static int alloc_isoc_etds(struct imx21 *imx21, struct ep_priv *ep_priv) in alloc_isoc_etds()
743 struct imx21 *imx21 = hcd_to_imx21(hcd); in imx21_hc_urb_enqueue_isoc() local
880 static void dequeue_isoc_urb(struct imx21 *imx21, in dequeue_isoc_urb()
911 static void schedule_nonisoc_etd(struct imx21 *imx21, struct urb *urb) in schedule_nonisoc_etd()
1045 struct imx21 *imx21 = hcd_to_imx21(hcd); in nonisoc_etd_done() local
1167 struct imx21 *imx21 = hcd_to_imx21(hcd); in imx21_hc_urb_enqueue() local
1263 struct imx21 *imx21 = hcd_to_imx21(hcd); in imx21_hc_urb_dequeue() local
1313 static void process_etds(struct usb_hcd *hcd, struct imx21 *imx21, int sof) in process_etds()
1412 struct imx21 *imx21 = hcd_to_imx21(hcd); in imx21_irq() local
1431 struct imx21 *imx21 = hcd_to_imx21(hcd); in imx21_hc_endpoint_disable() local
1476 struct imx21 *imx21 = hcd_to_imx21(hcd); in get_hub_descriptor() local
1495 struct imx21 *imx21 = hcd_to_imx21(hcd); in imx21_hc_hub_status_data() local
1531 struct imx21 *imx21 = hcd_to_imx21(hcd); in imx21_hc_hub_control() local
1669 struct imx21 *imx21 = hcd_to_imx21(hcd); in imx21_hc_reset() local
1698 struct imx21 *imx21 = hcd_to_imx21(hcd); in imx21_hc_start() local
1766 struct imx21 *imx21 = hcd_to_imx21(hcd); in imx21_hc_stop() local
1820 struct imx21 *imx21 = hcd_to_imx21(hcd); in imx21_remove() local
1841 struct imx21 *imx21; in imx21_probe() local