• Home
  • Raw
  • Download

Lines Matching refs:musb

44 	struct musb *musb = controller->private_data;  in dma_controller_stop()  local
49 dev_err(musb->controller, in dma_controller_stop()
115 struct musb *musb = controller->private_data; in configure_channel() local
120 musb_dbg(musb, "%p, pkt_sz %d, addr %pad, len %d, mode %d", in configure_channel()
153 struct musb *musb = controller->private_data; in dma_channel_program() local
155 musb_dbg(musb, "ep%d-%s pkt_sz %d, dma_addr %pad length %d, mode %d", in dma_channel_program()
164 if (musb->ops->adjust_channel_params) { in dma_channel_program()
165 int ret = musb->ops->adjust_channel_params(channel, in dma_channel_program()
180 if ((musb->hwvers >= MUSB_HWVERS_1800) && (dma_addr % 4)) in dma_channel_program()
198 struct musb *musb = musb_channel->controller->private_data; in dma_channel_abort() local
206 offset = musb->io.ep_offset(musb_channel->epnum, in dma_channel_abort()
219 offset = musb->io.ep_offset(musb_channel->epnum, in dma_channel_abort()
243 struct musb *musb = controller->private_data; in dma_controller_irq() local
259 spin_lock_irqsave(&musb->lock, flags); in dma_controller_irq()
269 musb_dbg(musb, "spurious DMA irq"); in dma_controller_irq()
283 musb_dbg(musb, "int_hsdma = 0x%x", int_hsdma); in dma_controller_irq()
310 musb_dbg(musb, "ch %p, 0x%x -> 0x%x (%zu / %d) %s", in dma_controller_irq()
330 int offset = musb->io.ep_offset(epnum, in dma_controller_irq()
348 musb_dma_completion(musb, musb_channel->epnum, in dma_controller_irq()
356 spin_unlock_irqrestore(&musb->lock, flags); in dma_controller_irq()
374 struct dma_controller *musbhs_dma_controller_create(struct musb *musb, in musbhs_dma_controller_create() argument
378 struct device *dev = musb->controller; in musbhs_dma_controller_create()
392 controller->private_data = musb; in musbhs_dma_controller_create()
401 dev_name(musb->controller), &controller->controller)) { in musbhs_dma_controller_create()