Searched refs:uchan (Results 1 – 3 of 3) 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 …]
304 struct nvkm_uchan *uchan = nvkm_uchan(object); in nvkm_uchan_dtor() local306 nvkm_chan_del(&uchan->chan); in nvkm_uchan_dtor()307 return uchan; in nvkm_uchan_dtor()338 struct nvkm_uchan *uchan; in nvkm_uchan_new() local378 if (!(uchan = kzalloc(sizeof(*uchan), GFP_KERNEL))) { in nvkm_uchan_new()383 nvkm_object_ctor(&nvkm_uchan, oclass, &uchan->object); in nvkm_uchan_new()384 *pobject = &uchan->object; in nvkm_uchan_new()388 args->v0.length, userd, args->v0.ouserd, &uchan->chan); in nvkm_uchan_new()392 chan = uchan->chan; in nvkm_uchan_new()
32 nvkm-y += nvkm/engine/fifo/uchan.o