Home
last modified time | relevance | path

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

/linux/drivers/dma/sh/
H A 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 …]
/linux/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
H A Duchan.c304 struct nvkm_uchan *uchan = nvkm_uchan(object); in nvkm_uchan_dtor() local
306 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() local
378 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()
H A DKbuild32 nvkm-y += nvkm/engine/fifo/uchan.o