Home
last modified time | relevance | path

Searched refs:uchan (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.4/drivers/dma/sh/
Dusb-dmac.c343 static void usb_dmac_soft_reset(struct usb_dmac_chan *uchan) in usb_dmac_soft_reset() argument
345 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() local
386 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() local
405 spin_lock_irqsave(&uchan->vc.lock, flags); in usb_dmac_free_chan_resources()
[all …]