Home
last modified time | relevance | path

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

/drivers/misc/mei/
Ddma-ring.c22 struct mei_dma_dscr *dscr) in mei_dmam_dscr_alloc() argument
24 if (!dscr->size) in mei_dmam_dscr_alloc()
27 if (WARN_ON(!is_power_of_2(dscr->size))) in mei_dmam_dscr_alloc()
30 if (dscr->vaddr) in mei_dmam_dscr_alloc()
33 dscr->vaddr = dmam_alloc_coherent(dev->dev, dscr->size, &dscr->daddr, in mei_dmam_dscr_alloc()
35 if (!dscr->vaddr) in mei_dmam_dscr_alloc()
48 struct mei_dma_dscr *dscr) in mei_dmam_dscr_free() argument
50 if (!dscr->vaddr) in mei_dmam_dscr_free()
53 dmam_free_coherent(dev->dev, dscr->size, dscr->vaddr, dscr->daddr); in mei_dmam_dscr_free()
54 dscr->vaddr = NULL; in mei_dmam_dscr_free()
/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_plane.c849 struct atmel_hlcdc_dma_channel_dscr *dscr; in atmel_hlcdc_plane_alloc_dscrs() local
852 dscr = dma_pool_alloc(dc->dscrpool, GFP_KERNEL, &dscr_dma); in atmel_hlcdc_plane_alloc_dscrs()
853 if (!dscr) in atmel_hlcdc_plane_alloc_dscrs()
856 dscr->addr = 0; in atmel_hlcdc_plane_alloc_dscrs()
857 dscr->next = dscr_dma; in atmel_hlcdc_plane_alloc_dscrs()
858 dscr->self = dscr_dma; in atmel_hlcdc_plane_alloc_dscrs()
859 dscr->ctrl = ATMEL_HLCDC_LAYER_DFETCH; in atmel_hlcdc_plane_alloc_dscrs()
861 state->dscrs[i] = dscr; in atmel_hlcdc_plane_alloc_dscrs()
/drivers/dma/
Dat_hdmac_regs.h195 u32 dscr; /* chain to next lli */ member
406 lli->ctrla, lli->ctrlb, &lli->dscr); in atc_dump_lli()
475 desc->lli.dscr = 0; in set_desc_eol()
Dat_hdmac.c213 (*prev)->lli.dscr = desc->txd.phys; in atc_desc_chain()
321 u32 ctrla, dscr; in atc_get_bytes_left() local
338 if (desc_first->lli.dscr) { in atc_get_bytes_left()
389 dscr = channel_readl(atchan, DSCR); in atc_get_bytes_left()
404 if (likely(new_dscr == dscr)) in atc_get_bytes_left()
414 dscr = new_dscr; in atc_get_bytes_left()
422 if (desc_first->lli.dscr == dscr) in atc_get_bytes_left()
427 if (desc->lli.dscr == dscr) in atc_get_bytes_left()
1322 prev->lli.dscr = first->txd.phys; in atc_prep_dma_cyclic()