Lines Matching refs:musb
56 struct musb *musb = hw_ep->musb; in ux500_dma_callback() local
59 dev_dbg(musb->controller, "DMA rx transfer done on hw_ep=%d\n", in ux500_dma_callback()
62 spin_lock_irqsave(&musb->lock, flags); in ux500_dma_callback()
65 musb_dma_completion(musb, hw_ep->epnum, ux500_channel->is_tx); in ux500_dma_callback()
66 spin_unlock_irqrestore(&musb->lock, flags); in ux500_dma_callback()
82 struct musb *musb = ux500_channel->controller->private_data; in ux500_configure_channel() local
83 dma_addr_t usb_fifo_addr = (musb->io.fifo_offset(hw_ep->epnum) + in ux500_configure_channel()
86 dev_dbg(musb->controller, in ux500_configure_channel()
134 struct musb *musb = controller->private_data; in ux500_dma_channel_allocate() local
157 dev_dbg(musb->controller, "hw_ep=%d, is_tx=0x%x, channel=%d\n", in ux500_dma_channel_allocate()
166 struct musb *musb = ux500_channel->controller->private_data; in ux500_dma_channel_release() local
168 dev_dbg(musb->controller, "channel=%d\n", ux500_channel->ch_num); in ux500_dma_channel_release()
211 struct musb *musb = controller->private_data; in ux500_dma_channel_abort() local
212 void __iomem *epio = musb->endpoints[ux500_channel->hw_ep->epnum].regs; in ux500_dma_channel_abort()
215 dev_dbg(musb->controller, "channel=%d, is_tx=%d\n", in ux500_dma_channel_abort()
269 struct musb *musb = controller->private_data; in ux500_dma_controller_start() local
270 struct device *dev = musb->controller; in ux500_dma_controller_start()
284 dev_err(musb->controller, "No platform data\n"); in ux500_dma_controller_start()
358 ux500_dma_controller_create(struct musb *musb, void __iomem *base) in ux500_dma_controller_create() argument
361 struct platform_device *pdev = to_platform_device(musb->controller); in ux500_dma_controller_create()
369 controller->private_data = musb; in ux500_dma_controller_create()
374 dev_err(musb->controller, "no memory resource defined\n"); in ux500_dma_controller_create()