Home
last modified time | relevance | path

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

/Linux-v6.6/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 …]
/Linux-v6.6/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
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()
329 struct nvkm_uchan *uchan; in nvkm_uchan_new() local
369 if (!(uchan = kzalloc(sizeof(*uchan), GFP_KERNEL))) { in nvkm_uchan_new()
374 nvkm_object_ctor(&nvkm_uchan, oclass, &uchan->object); in nvkm_uchan_new()
375 *pobject = &uchan->object; in nvkm_uchan_new()
379 args->v0.length, userd, args->v0.ouserd, &uchan->chan); in nvkm_uchan_new()
383 chan = uchan->chan; in nvkm_uchan_new()
DKbuild30 nvkm-y += nvkm/engine/fifo/uchan.o