Lines Matching defs:udc
216 struct bcm63xx_udc *udc; member
241 struct bcm63xx_udc *udc; member
354 static inline u32 usbd_readl(struct bcm63xx_udc *udc, u32 off) in usbd_readl()
359 static inline void usbd_writel(struct bcm63xx_udc *udc, u32 val, u32 off) in usbd_writel()
364 static inline u32 usb_dma_readl(struct bcm63xx_udc *udc, u32 off) in usb_dma_readl()
369 static inline void usb_dma_writel(struct bcm63xx_udc *udc, u32 val, u32 off) in usb_dma_writel()
374 static inline u32 usb_dmac_readl(struct bcm63xx_udc *udc, u32 off, int chan) in usb_dmac_readl()
380 static inline void usb_dmac_writel(struct bcm63xx_udc *udc, u32 val, u32 off, in usb_dmac_writel()
387 static inline u32 usb_dmas_readl(struct bcm63xx_udc *udc, u32 off, int chan) in usb_dmas_readl()
393 static inline void usb_dmas_writel(struct bcm63xx_udc *udc, u32 val, u32 off, in usb_dmas_writel()
400 static inline void set_clocks(struct bcm63xx_udc *udc, bool is_enabled) in set_clocks()
425 static void bcm63xx_ep_dma_select(struct bcm63xx_udc *udc, int idx) in bcm63xx_ep_dma_select()
443 static void bcm63xx_set_stall(struct bcm63xx_udc *udc, struct bcm63xx_ep *bep, in bcm63xx_set_stall()
461 static void bcm63xx_fifo_setup(struct bcm63xx_udc *udc) in bcm63xx_fifo_setup()
501 static void bcm63xx_fifo_reset_ep(struct bcm63xx_udc *udc, int ep_num) in bcm63xx_fifo_reset_ep()
517 static void bcm63xx_fifo_reset(struct bcm63xx_udc *udc) in bcm63xx_fifo_reset()
529 static void bcm63xx_ep_init(struct bcm63xx_udc *udc) in bcm63xx_ep_init()
552 static void bcm63xx_ep_setup(struct bcm63xx_udc *udc) in bcm63xx_ep_setup()
594 static void iudma_write(struct bcm63xx_udc *udc, struct iudma_ch *iudma, in iudma_write()
670 static int iudma_read(struct bcm63xx_udc *udc, struct iudma_ch *iudma) in iudma_read()
704 static void iudma_reset_channel(struct bcm63xx_udc *udc, struct iudma_ch *iudma) in iudma_reset_channel()
760 static int iudma_init_channel(struct bcm63xx_udc *udc, unsigned int ch_idx) in iudma_init_channel()
800 static int iudma_init(struct bcm63xx_udc *udc) in iudma_init()
823 static void iudma_uninit(struct bcm63xx_udc *udc) in iudma_uninit()
844 static void bcm63xx_set_ctrl_irqs(struct bcm63xx_udc *udc, bool enable_irqs) in bcm63xx_set_ctrl_irqs()
870 static void bcm63xx_select_phy_mode(struct bcm63xx_udc *udc, bool is_device) in bcm63xx_select_phy_mode()
910 static void bcm63xx_select_pullup(struct bcm63xx_udc *udc, bool is_on) in bcm63xx_select_pullup()
929 static void bcm63xx_uninit_udc_hw(struct bcm63xx_udc *udc) in bcm63xx_uninit_udc_hw()
943 static int bcm63xx_init_udc_hw(struct bcm63xx_udc *udc) in bcm63xx_init_udc_hw()
1036 struct bcm63xx_udc *udc = bep->udc; in bcm63xx_ep_enable() local
1075 struct bcm63xx_udc *udc = bep->udc; in bcm63xx_ep_disable() local
1156 struct bcm63xx_udc *udc = bep->udc; in bcm63xx_udc_queue() local
1208 struct bcm63xx_udc *udc = bep->udc; in bcm63xx_udc_dequeue() local
1256 struct bcm63xx_udc *udc = bep->udc; in bcm63xx_udc_set_halt() local
1276 struct bcm63xx_udc *udc = bep->udc; in bcm63xx_udc_set_wedge() local
1310 static int bcm63xx_ep0_setup_callback(struct bcm63xx_udc *udc, in bcm63xx_ep0_setup_callback()
1333 static int bcm63xx_ep0_spoof_set_cfg(struct bcm63xx_udc *udc) in bcm63xx_ep0_spoof_set_cfg()
1357 static int bcm63xx_ep0_spoof_set_iface(struct bcm63xx_udc *udc) in bcm63xx_ep0_spoof_set_iface()
1383 static void bcm63xx_ep0_map_write(struct bcm63xx_udc *udc, int ch_idx, in bcm63xx_ep0_map_write()
1404 static void bcm63xx_ep0_complete(struct bcm63xx_udc *udc, in bcm63xx_ep0_complete()
1423 static void bcm63xx_ep0_nuke_reply(struct bcm63xx_udc *udc, int is_tx) in bcm63xx_ep0_nuke_reply()
1441 static int bcm63xx_ep0_read_complete(struct bcm63xx_udc *udc) in bcm63xx_ep0_read_complete()
1460 static void bcm63xx_ep0_internal_request(struct bcm63xx_udc *udc, int ch_idx, in bcm63xx_ep0_internal_request()
1480 static enum bcm63xx_ep0_state bcm63xx_ep0_do_setup(struct bcm63xx_udc *udc) in bcm63xx_ep0_do_setup()
1533 static int bcm63xx_ep0_do_idle(struct bcm63xx_udc *udc) in bcm63xx_ep0_do_idle()
1580 static int bcm63xx_ep0_one_round(struct bcm63xx_udc *udc) in bcm63xx_ep0_one_round()
1734 struct bcm63xx_udc *udc = container_of(w, struct bcm63xx_udc, ep0_wq); in bcm63xx_ep0_process() local
1751 struct bcm63xx_udc *udc = gadget_to_udc(gadget); in bcm63xx_udc_get_frame() local
1766 struct bcm63xx_udc *udc = gadget_to_udc(gadget); in bcm63xx_udc_pullup() local
1814 struct bcm63xx_udc *udc = gadget_to_udc(gadget); in bcm63xx_udc_start() local
1850 struct bcm63xx_udc *udc = gadget_to_udc(gadget); in bcm63xx_udc_stop() local
1893 static void bcm63xx_update_cfg_iface(struct bcm63xx_udc *udc) in bcm63xx_update_cfg_iface()
1911 static int bcm63xx_update_link_speed(struct bcm63xx_udc *udc) in bcm63xx_update_link_speed()
1951 static void bcm63xx_update_wedge(struct bcm63xx_udc *udc, bool new_status) in bcm63xx_update_wedge()
1972 struct bcm63xx_udc *udc = dev_id; in bcm63xx_udc_ctrl_isr() local
2044 struct bcm63xx_udc *udc = iudma->udc; in bcm63xx_udc_data_isr() local
2129 struct bcm63xx_udc *udc = s->private; in bcm63xx_usbd_dbg_show() local
2168 struct bcm63xx_udc *udc = s->private; in bcm63xx_iudma_dbg_show() local
2244 static void bcm63xx_udc_init_debugfs(struct bcm63xx_udc *udc) in bcm63xx_udc_init_debugfs()
2264 static void bcm63xx_udc_cleanup_debugfs(struct bcm63xx_udc *udc) in bcm63xx_udc_cleanup_debugfs()
2284 struct bcm63xx_udc *udc; in bcm63xx_udc_probe() local
2368 struct bcm63xx_udc *udc = platform_get_drvdata(pdev); in bcm63xx_udc_remove() local