Searched refs:uchan (Results 1 – 1 of 1) sorted by relevance
343 static void usb_dmac_soft_reset(struct usb_dmac_chan *uchan) in usb_dmac_soft_reset() argument345 struct dma_chan *chan = &uchan->vc.chan; in usb_dmac_soft_reset()351 if (usb_dmac_chan_is_busy(uchan)) in usb_dmac_soft_reset()383 struct usb_dmac_chan *uchan = to_usb_dmac_chan(chan); in usb_dmac_alloc_chan_resources() local386 while (uchan->descs_allocated < USB_DMAC_INITIAL_NR_DESC) { in usb_dmac_alloc_chan_resources()387 ret = usb_dmac_desc_alloc(uchan, USB_DMAC_INITIAL_NR_SG, in usb_dmac_alloc_chan_resources()390 usb_dmac_desc_free(uchan); in usb_dmac_alloc_chan_resources()393 uchan->descs_allocated++; in usb_dmac_alloc_chan_resources()401 struct usb_dmac_chan *uchan = to_usb_dmac_chan(chan); in usb_dmac_free_chan_resources() local405 spin_lock_irqsave(&uchan->vc.lock, flags); in usb_dmac_free_chan_resources()[all …]