Lines Matching refs:musb
78 struct musb *musb = controller->private_data; in dma_controller_stop() local
83 dev_err(musb->controller, in dma_controller_stop()
149 struct musb *musb = controller->private_data; in configure_channel() local
154 musb_dbg(musb, "%p, pkt_sz %d, addr %pad, len %d, mode %d", in configure_channel()
187 struct musb *musb = controller->private_data; in dma_channel_program() local
189 musb_dbg(musb, "ep%d-%s pkt_sz %d, dma_addr %pad length %d, mode %d", in dma_channel_program()
206 if ((musb->hwvers >= MUSB_HWVERS_1800) && (dma_addr % 4)) in dma_channel_program()
224 struct musb *musb = musb_channel->controller->private_data; in dma_channel_abort() local
232 offset = musb->io.ep_offset(musb_channel->epnum, in dma_channel_abort()
245 offset = musb->io.ep_offset(musb_channel->epnum, in dma_channel_abort()
269 struct musb *musb = controller->private_data; in dma_controller_irq() local
285 spin_lock_irqsave(&musb->lock, flags); in dma_controller_irq()
290 musb_dbg(musb, "spurious DMA irq"); in dma_controller_irq()
304 musb_dbg(musb, "int_hsdma = 0x%x", int_hsdma); in dma_controller_irq()
329 musb_dbg(musb, "ch %p, 0x%x -> 0x%x (%zu / %d) %s", in dma_controller_irq()
345 int offset = musb->io.ep_offset(epnum, in dma_controller_irq()
366 musb_dma_completion(musb, musb_channel->epnum, in dma_controller_irq()
374 spin_unlock_irqrestore(&musb->lock, flags); in dma_controller_irq()
394 dma_controller_alloc(struct musb *musb, void __iomem *base) in dma_controller_alloc() argument
403 controller->private_data = musb; in dma_controller_alloc()
414 musbhs_dma_controller_create(struct musb *musb, void __iomem *base) in musbhs_dma_controller_create() argument
417 struct device *dev = musb->controller; in musbhs_dma_controller_create()
426 controller = dma_controller_alloc(musb, base); in musbhs_dma_controller_create()
431 dev_name(musb->controller), controller)) { in musbhs_dma_controller_create()
445 musbhs_dma_controller_create_noirq(struct musb *musb, void __iomem *base) in musbhs_dma_controller_create_noirq() argument
449 controller = dma_controller_alloc(musb, base); in musbhs_dma_controller_create_noirq()