Lines Matching defs:udc
217 struct bcm63xx_udc *udc; member
242 struct bcm63xx_udc *udc; member
355 static inline u32 usbd_readl(struct bcm63xx_udc *udc, u32 off) in usbd_readl()
360 static inline void usbd_writel(struct bcm63xx_udc *udc, u32 val, u32 off) in usbd_writel()
365 static inline u32 usb_dma_readl(struct bcm63xx_udc *udc, u32 off) in usb_dma_readl()
370 static inline void usb_dma_writel(struct bcm63xx_udc *udc, u32 val, u32 off) in usb_dma_writel()
375 static inline u32 usb_dmac_readl(struct bcm63xx_udc *udc, u32 off, int chan) in usb_dmac_readl()
381 static inline void usb_dmac_writel(struct bcm63xx_udc *udc, u32 val, u32 off, in usb_dmac_writel()
388 static inline u32 usb_dmas_readl(struct bcm63xx_udc *udc, u32 off, int chan) in usb_dmas_readl()
394 static inline void usb_dmas_writel(struct bcm63xx_udc *udc, u32 val, u32 off, in usb_dmas_writel()
401 static inline void set_clocks(struct bcm63xx_udc *udc, bool is_enabled) in set_clocks()
426 static void bcm63xx_ep_dma_select(struct bcm63xx_udc *udc, int idx) in bcm63xx_ep_dma_select()
444 static void bcm63xx_set_stall(struct bcm63xx_udc *udc, struct bcm63xx_ep *bep, in bcm63xx_set_stall()
462 static void bcm63xx_fifo_setup(struct bcm63xx_udc *udc) in bcm63xx_fifo_setup()
502 static void bcm63xx_fifo_reset_ep(struct bcm63xx_udc *udc, int ep_num) in bcm63xx_fifo_reset_ep()
518 static void bcm63xx_fifo_reset(struct bcm63xx_udc *udc) in bcm63xx_fifo_reset()
530 static void bcm63xx_ep_init(struct bcm63xx_udc *udc) in bcm63xx_ep_init()
553 static void bcm63xx_ep_setup(struct bcm63xx_udc *udc) in bcm63xx_ep_setup()
595 static void iudma_write(struct bcm63xx_udc *udc, struct iudma_ch *iudma, in iudma_write()
671 static int iudma_read(struct bcm63xx_udc *udc, struct iudma_ch *iudma) in iudma_read()
705 static void iudma_reset_channel(struct bcm63xx_udc *udc, struct iudma_ch *iudma) in iudma_reset_channel()
761 static int iudma_init_channel(struct bcm63xx_udc *udc, unsigned int ch_idx) in iudma_init_channel()
801 static int iudma_init(struct bcm63xx_udc *udc) in iudma_init()
824 static void iudma_uninit(struct bcm63xx_udc *udc) in iudma_uninit()
845 static void bcm63xx_set_ctrl_irqs(struct bcm63xx_udc *udc, bool enable_irqs) in bcm63xx_set_ctrl_irqs()
871 static void bcm63xx_select_phy_mode(struct bcm63xx_udc *udc, bool is_device) in bcm63xx_select_phy_mode()
911 static void bcm63xx_select_pullup(struct bcm63xx_udc *udc, bool is_on) in bcm63xx_select_pullup()
930 static void bcm63xx_uninit_udc_hw(struct bcm63xx_udc *udc) in bcm63xx_uninit_udc_hw()
944 static int bcm63xx_init_udc_hw(struct bcm63xx_udc *udc) in bcm63xx_init_udc_hw()
1037 struct bcm63xx_udc *udc = bep->udc; in bcm63xx_ep_enable() local
1076 struct bcm63xx_udc *udc = bep->udc; in bcm63xx_ep_disable() local
1157 struct bcm63xx_udc *udc = bep->udc; in bcm63xx_udc_queue() local
1209 struct bcm63xx_udc *udc = bep->udc; in bcm63xx_udc_dequeue() local
1257 struct bcm63xx_udc *udc = bep->udc; in bcm63xx_udc_set_halt() local
1277 struct bcm63xx_udc *udc = bep->udc; in bcm63xx_udc_set_wedge() local
1311 static int bcm63xx_ep0_setup_callback(struct bcm63xx_udc *udc, in bcm63xx_ep0_setup_callback()
1334 static int bcm63xx_ep0_spoof_set_cfg(struct bcm63xx_udc *udc) in bcm63xx_ep0_spoof_set_cfg()
1358 static int bcm63xx_ep0_spoof_set_iface(struct bcm63xx_udc *udc) in bcm63xx_ep0_spoof_set_iface()
1384 static void bcm63xx_ep0_map_write(struct bcm63xx_udc *udc, int ch_idx, in bcm63xx_ep0_map_write()
1405 static void bcm63xx_ep0_complete(struct bcm63xx_udc *udc, in bcm63xx_ep0_complete()
1424 static void bcm63xx_ep0_nuke_reply(struct bcm63xx_udc *udc, int is_tx) in bcm63xx_ep0_nuke_reply()
1442 static int bcm63xx_ep0_read_complete(struct bcm63xx_udc *udc) in bcm63xx_ep0_read_complete()
1461 static void bcm63xx_ep0_internal_request(struct bcm63xx_udc *udc, int ch_idx, in bcm63xx_ep0_internal_request()
1481 static enum bcm63xx_ep0_state bcm63xx_ep0_do_setup(struct bcm63xx_udc *udc) in bcm63xx_ep0_do_setup()
1534 static int bcm63xx_ep0_do_idle(struct bcm63xx_udc *udc) in bcm63xx_ep0_do_idle()
1581 static int bcm63xx_ep0_one_round(struct bcm63xx_udc *udc) in bcm63xx_ep0_one_round()
1735 struct bcm63xx_udc *udc = container_of(w, struct bcm63xx_udc, ep0_wq); in bcm63xx_ep0_process() local
1752 struct bcm63xx_udc *udc = gadget_to_udc(gadget); in bcm63xx_udc_get_frame() local
1767 struct bcm63xx_udc *udc = gadget_to_udc(gadget); in bcm63xx_udc_pullup() local
1815 struct bcm63xx_udc *udc = gadget_to_udc(gadget); in bcm63xx_udc_start() local
1851 struct bcm63xx_udc *udc = gadget_to_udc(gadget); in bcm63xx_udc_stop() local
1894 static void bcm63xx_update_cfg_iface(struct bcm63xx_udc *udc) in bcm63xx_update_cfg_iface()
1912 static int bcm63xx_update_link_speed(struct bcm63xx_udc *udc) in bcm63xx_update_link_speed()
1952 static void bcm63xx_update_wedge(struct bcm63xx_udc *udc, bool new_status) in bcm63xx_update_wedge()
1973 struct bcm63xx_udc *udc = dev_id; in bcm63xx_udc_ctrl_isr() local
2045 struct bcm63xx_udc *udc = iudma->udc; in bcm63xx_udc_data_isr() local
2130 struct bcm63xx_udc *udc = s->private; in bcm63xx_usbd_dbg_show() local
2169 struct bcm63xx_udc *udc = s->private; in bcm63xx_iudma_dbg_show() local
2245 static void bcm63xx_udc_init_debugfs(struct bcm63xx_udc *udc) in bcm63xx_udc_init_debugfs()
2265 static void bcm63xx_udc_cleanup_debugfs(struct bcm63xx_udc *udc) in bcm63xx_udc_cleanup_debugfs()
2285 struct bcm63xx_udc *udc; in bcm63xx_udc_probe() local
2366 struct bcm63xx_udc *udc = platform_get_drvdata(pdev); in bcm63xx_udc_remove() local