Lines Matching refs:bcm63xx_udc

168 struct bcm63xx_udc;
201 struct bcm63xx_udc *udc;
226 struct bcm63xx_udc *udc;
279 struct bcm63xx_udc { struct
328 static inline struct bcm63xx_udc *gadget_to_udc(struct usb_gadget *g) in gadget_to_udc() argument
330 return container_of(g, struct bcm63xx_udc, gadget); in gadget_to_udc()
343 static inline u32 usbd_readl(struct bcm63xx_udc *udc, u32 off) in usbd_readl()
348 static inline void usbd_writel(struct bcm63xx_udc *udc, u32 val, u32 off) in usbd_writel()
353 static inline u32 usb_dma_readl(struct bcm63xx_udc *udc, u32 off) in usb_dma_readl()
358 static inline void usb_dma_writel(struct bcm63xx_udc *udc, u32 val, u32 off) in usb_dma_writel()
363 static inline u32 usb_dmac_readl(struct bcm63xx_udc *udc, u32 off, int chan) in usb_dmac_readl()
369 static inline void usb_dmac_writel(struct bcm63xx_udc *udc, u32 val, u32 off, in usb_dmac_writel()
376 static inline u32 usb_dmas_readl(struct bcm63xx_udc *udc, u32 off, int chan) in usb_dmas_readl()
382 static inline void usb_dmas_writel(struct bcm63xx_udc *udc, u32 val, u32 off, in usb_dmas_writel()
389 static inline void set_clocks(struct bcm63xx_udc *udc, bool is_enabled) in set_clocks()
414 static void bcm63xx_ep_dma_select(struct bcm63xx_udc *udc, int idx) in bcm63xx_ep_dma_select()
432 static void bcm63xx_set_stall(struct bcm63xx_udc *udc, struct bcm63xx_ep *bep, in bcm63xx_set_stall()
450 static void bcm63xx_fifo_setup(struct bcm63xx_udc *udc) in bcm63xx_fifo_setup()
490 static void bcm63xx_fifo_reset_ep(struct bcm63xx_udc *udc, int ep_num) in bcm63xx_fifo_reset_ep()
506 static void bcm63xx_fifo_reset(struct bcm63xx_udc *udc) in bcm63xx_fifo_reset()
518 static void bcm63xx_ep_init(struct bcm63xx_udc *udc) in bcm63xx_ep_init()
541 static void bcm63xx_ep_setup(struct bcm63xx_udc *udc) in bcm63xx_ep_setup()
583 static void iudma_write(struct bcm63xx_udc *udc, struct iudma_ch *iudma, in iudma_write()
659 static int iudma_read(struct bcm63xx_udc *udc, struct iudma_ch *iudma) in iudma_read()
693 static void iudma_reset_channel(struct bcm63xx_udc *udc, struct iudma_ch *iudma) in iudma_reset_channel()
749 static int iudma_init_channel(struct bcm63xx_udc *udc, unsigned int ch_idx) in iudma_init_channel()
789 static int iudma_init(struct bcm63xx_udc *udc) in iudma_init()
812 static void iudma_uninit(struct bcm63xx_udc *udc) in iudma_uninit()
833 static void bcm63xx_set_ctrl_irqs(struct bcm63xx_udc *udc, bool enable_irqs) in bcm63xx_set_ctrl_irqs()
859 static void bcm63xx_select_phy_mode(struct bcm63xx_udc *udc, bool is_device) in bcm63xx_select_phy_mode()
899 static void bcm63xx_select_pullup(struct bcm63xx_udc *udc, bool is_on) in bcm63xx_select_pullup()
918 static void bcm63xx_uninit_udc_hw(struct bcm63xx_udc *udc) in bcm63xx_uninit_udc_hw()
932 static int bcm63xx_init_udc_hw(struct bcm63xx_udc *udc) in bcm63xx_init_udc_hw()
1024 struct bcm63xx_udc *udc = bep->udc; in bcm63xx_ep_enable()
1063 struct bcm63xx_udc *udc = bep->udc; in bcm63xx_ep_disable()
1147 struct bcm63xx_udc *udc = bep->udc; in bcm63xx_udc_queue()
1199 struct bcm63xx_udc *udc = bep->udc; in bcm63xx_udc_dequeue()
1247 struct bcm63xx_udc *udc = bep->udc; in bcm63xx_udc_set_halt()
1267 struct bcm63xx_udc *udc = bep->udc; in bcm63xx_udc_set_wedge()
1301 static int bcm63xx_ep0_setup_callback(struct bcm63xx_udc *udc, in bcm63xx_ep0_setup_callback()
1324 static int bcm63xx_ep0_spoof_set_cfg(struct bcm63xx_udc *udc) in bcm63xx_ep0_spoof_set_cfg()
1348 static int bcm63xx_ep0_spoof_set_iface(struct bcm63xx_udc *udc) in bcm63xx_ep0_spoof_set_iface()
1374 static void bcm63xx_ep0_map_write(struct bcm63xx_udc *udc, int ch_idx, in bcm63xx_ep0_map_write()
1395 static void bcm63xx_ep0_complete(struct bcm63xx_udc *udc, in bcm63xx_ep0_complete()
1414 static void bcm63xx_ep0_nuke_reply(struct bcm63xx_udc *udc, int is_tx) in bcm63xx_ep0_nuke_reply()
1432 static int bcm63xx_ep0_read_complete(struct bcm63xx_udc *udc) in bcm63xx_ep0_read_complete()
1451 static void bcm63xx_ep0_internal_request(struct bcm63xx_udc *udc, int ch_idx, in bcm63xx_ep0_internal_request()
1471 static enum bcm63xx_ep0_state bcm63xx_ep0_do_setup(struct bcm63xx_udc *udc) in bcm63xx_ep0_do_setup()
1524 static int bcm63xx_ep0_do_idle(struct bcm63xx_udc *udc) in bcm63xx_ep0_do_idle()
1571 static int bcm63xx_ep0_one_round(struct bcm63xx_udc *udc) in bcm63xx_ep0_one_round()
1725 struct bcm63xx_udc *udc = container_of(w, struct bcm63xx_udc, ep0_wq); in bcm63xx_ep0_process()
1742 struct bcm63xx_udc *udc = gadget_to_udc(gadget); in bcm63xx_udc_get_frame()
1757 struct bcm63xx_udc *udc = gadget_to_udc(gadget); in bcm63xx_udc_pullup()
1805 struct bcm63xx_udc *udc = gadget_to_udc(gadget); in bcm63xx_udc_start()
1841 struct bcm63xx_udc *udc = gadget_to_udc(gadget); in bcm63xx_udc_stop()
1884 static void bcm63xx_update_cfg_iface(struct bcm63xx_udc *udc) in bcm63xx_update_cfg_iface()
1902 static int bcm63xx_update_link_speed(struct bcm63xx_udc *udc) in bcm63xx_update_link_speed()
1942 static void bcm63xx_update_wedge(struct bcm63xx_udc *udc, bool new_status) in bcm63xx_update_wedge()
1963 struct bcm63xx_udc *udc = dev_id; in bcm63xx_udc_ctrl_isr()
2035 struct bcm63xx_udc *udc = iudma->udc; in bcm63xx_udc_data_isr()
2120 struct bcm63xx_udc *udc = s->private; in bcm63xx_usbd_dbg_show()
2158 struct bcm63xx_udc *udc = s->private; in bcm63xx_iudma_dbg_show()
2260 static void bcm63xx_udc_init_debugfs(struct bcm63xx_udc *udc) in bcm63xx_udc_init_debugfs()
2298 static void bcm63xx_udc_cleanup_debugfs(struct bcm63xx_udc *udc) in bcm63xx_udc_cleanup_debugfs()
2323 struct bcm63xx_udc *udc; in bcm63xx_udc_probe()
2411 struct bcm63xx_udc *udc = platform_get_drvdata(pdev); in bcm63xx_udc_remove()