Lines Matching defs:udc

221 	struct bcm63xx_udc		*udc;  member
246 struct bcm63xx_udc *udc; member
363 static inline u32 usbd_readl(struct bcm63xx_udc *udc, u32 off) in usbd_readl()
368 static inline void usbd_writel(struct bcm63xx_udc *udc, u32 val, u32 off) in usbd_writel()
373 static inline u32 usb_dma_readl(struct bcm63xx_udc *udc, u32 off) in usb_dma_readl()
378 static inline void usb_dma_writel(struct bcm63xx_udc *udc, u32 val, u32 off) in usb_dma_writel()
383 static inline u32 usb_dmac_readl(struct bcm63xx_udc *udc, u32 off, int chan) in usb_dmac_readl()
389 static inline void usb_dmac_writel(struct bcm63xx_udc *udc, u32 val, u32 off, in usb_dmac_writel()
396 static inline u32 usb_dmas_readl(struct bcm63xx_udc *udc, u32 off, int chan) in usb_dmas_readl()
402 static inline void usb_dmas_writel(struct bcm63xx_udc *udc, u32 val, u32 off, in usb_dmas_writel()
409 static inline void set_clocks(struct bcm63xx_udc *udc, bool is_enabled) in set_clocks()
434 static void bcm63xx_ep_dma_select(struct bcm63xx_udc *udc, int idx) in bcm63xx_ep_dma_select()
452 static void bcm63xx_set_stall(struct bcm63xx_udc *udc, struct bcm63xx_ep *bep, in bcm63xx_set_stall()
470 static void bcm63xx_fifo_setup(struct bcm63xx_udc *udc) in bcm63xx_fifo_setup()
510 static void bcm63xx_fifo_reset_ep(struct bcm63xx_udc *udc, int ep_num) in bcm63xx_fifo_reset_ep()
526 static void bcm63xx_fifo_reset(struct bcm63xx_udc *udc) in bcm63xx_fifo_reset()
538 static void bcm63xx_ep_init(struct bcm63xx_udc *udc) in bcm63xx_ep_init()
561 static void bcm63xx_ep_setup(struct bcm63xx_udc *udc) in bcm63xx_ep_setup()
603 static void iudma_write(struct bcm63xx_udc *udc, struct iudma_ch *iudma, in iudma_write()
679 static int iudma_read(struct bcm63xx_udc *udc, struct iudma_ch *iudma) in iudma_read()
713 static void iudma_reset_channel(struct bcm63xx_udc *udc, struct iudma_ch *iudma) in iudma_reset_channel()
769 static int iudma_init_channel(struct bcm63xx_udc *udc, unsigned int ch_idx) in iudma_init_channel()
809 static int iudma_init(struct bcm63xx_udc *udc) in iudma_init()
832 static void iudma_uninit(struct bcm63xx_udc *udc) in iudma_uninit()
853 static void bcm63xx_set_ctrl_irqs(struct bcm63xx_udc *udc, bool enable_irqs) in bcm63xx_set_ctrl_irqs()
879 static void bcm63xx_select_phy_mode(struct bcm63xx_udc *udc, bool is_device) in bcm63xx_select_phy_mode()
919 static void bcm63xx_select_pullup(struct bcm63xx_udc *udc, bool is_on) in bcm63xx_select_pullup()
938 static void bcm63xx_uninit_udc_hw(struct bcm63xx_udc *udc) in bcm63xx_uninit_udc_hw()
952 static int bcm63xx_init_udc_hw(struct bcm63xx_udc *udc) in bcm63xx_init_udc_hw()
1045 struct bcm63xx_udc *udc = bep->udc; in bcm63xx_ep_enable() local
1084 struct bcm63xx_udc *udc = bep->udc; in bcm63xx_ep_disable() local
1168 struct bcm63xx_udc *udc = bep->udc; in bcm63xx_udc_queue() local
1220 struct bcm63xx_udc *udc = bep->udc; in bcm63xx_udc_dequeue() local
1268 struct bcm63xx_udc *udc = bep->udc; in bcm63xx_udc_set_halt() local
1288 struct bcm63xx_udc *udc = bep->udc; in bcm63xx_udc_set_wedge() local
1322 static int bcm63xx_ep0_setup_callback(struct bcm63xx_udc *udc, in bcm63xx_ep0_setup_callback()
1345 static int bcm63xx_ep0_spoof_set_cfg(struct bcm63xx_udc *udc) in bcm63xx_ep0_spoof_set_cfg()
1369 static int bcm63xx_ep0_spoof_set_iface(struct bcm63xx_udc *udc) in bcm63xx_ep0_spoof_set_iface()
1395 static void bcm63xx_ep0_map_write(struct bcm63xx_udc *udc, int ch_idx, in bcm63xx_ep0_map_write()
1416 static void bcm63xx_ep0_complete(struct bcm63xx_udc *udc, in bcm63xx_ep0_complete()
1435 static void bcm63xx_ep0_nuke_reply(struct bcm63xx_udc *udc, int is_tx) in bcm63xx_ep0_nuke_reply()
1453 static int bcm63xx_ep0_read_complete(struct bcm63xx_udc *udc) in bcm63xx_ep0_read_complete()
1472 static void bcm63xx_ep0_internal_request(struct bcm63xx_udc *udc, int ch_idx, in bcm63xx_ep0_internal_request()
1492 static enum bcm63xx_ep0_state bcm63xx_ep0_do_setup(struct bcm63xx_udc *udc) in bcm63xx_ep0_do_setup()
1545 static int bcm63xx_ep0_do_idle(struct bcm63xx_udc *udc) in bcm63xx_ep0_do_idle()
1592 static int bcm63xx_ep0_one_round(struct bcm63xx_udc *udc) in bcm63xx_ep0_one_round()
1746 struct bcm63xx_udc *udc = container_of(w, struct bcm63xx_udc, ep0_wq); in bcm63xx_ep0_process() local
1763 struct bcm63xx_udc *udc = gadget_to_udc(gadget); in bcm63xx_udc_get_frame() local
1778 struct bcm63xx_udc *udc = gadget_to_udc(gadget); in bcm63xx_udc_pullup() local
1826 struct bcm63xx_udc *udc = gadget_to_udc(gadget); in bcm63xx_udc_start() local
1862 struct bcm63xx_udc *udc = gadget_to_udc(gadget); in bcm63xx_udc_stop() local
1905 static void bcm63xx_update_cfg_iface(struct bcm63xx_udc *udc) in bcm63xx_update_cfg_iface()
1923 static int bcm63xx_update_link_speed(struct bcm63xx_udc *udc) in bcm63xx_update_link_speed()
1963 static void bcm63xx_update_wedge(struct bcm63xx_udc *udc, bool new_status) in bcm63xx_update_wedge()
1984 struct bcm63xx_udc *udc = dev_id; in bcm63xx_udc_ctrl_isr() local
2056 struct bcm63xx_udc *udc = iudma->udc; in bcm63xx_udc_data_isr() local
2141 struct bcm63xx_udc *udc = s->private; in bcm63xx_usbd_dbg_show() local
2179 struct bcm63xx_udc *udc = s->private; in bcm63xx_iudma_dbg_show() local
2281 static void bcm63xx_udc_init_debugfs(struct bcm63xx_udc *udc) in bcm63xx_udc_init_debugfs()
2319 static void bcm63xx_udc_cleanup_debugfs(struct bcm63xx_udc *udc) in bcm63xx_udc_cleanup_debugfs()
2344 struct bcm63xx_udc *udc; in bcm63xx_udc_probe() local
2432 struct bcm63xx_udc *udc = platform_get_drvdata(pdev); in bcm63xx_udc_remove() local