Lines Matching refs:pch_dma_desc

91 struct pch_dma_desc {  struct
146 struct pch_dma_desc *to_pd_desc(struct dma_async_tx_descriptor *txd) in to_pd_desc()
148 return container_of(txd, struct pch_dma_desc, txd); in to_pd_desc()
172 struct pch_dma_desc *pdc_first_active(struct pch_dma_chan *pd_chan) in pdc_first_active()
175 struct pch_dma_desc, desc_node); in pdc_first_active()
179 struct pch_dma_desc *pdc_first_queued(struct pch_dma_chan *pd_chan) in pdc_first_queued()
182 struct pch_dma_desc, desc_node); in pdc_first_queued()
327 static void pdc_dostart(struct pch_dma_chan *pd_chan, struct pch_dma_desc* desc) in pdc_dostart()
357 struct pch_dma_desc *desc) in pdc_chain_complete()
372 struct pch_dma_desc *desc, *_d; in pdc_complete_all()
389 struct pch_dma_desc *bad_desc; in pdc_handle_error()
419 struct pch_dma_desc *desc = to_pd_desc(txd); in pd_tx_submit()
437 static struct pch_dma_desc *pdc_alloc_desc(struct dma_chan *chan, gfp_t flags) in pdc_alloc_desc()
439 struct pch_dma_desc *desc = NULL; in pdc_alloc_desc()
445 memset(desc, 0, sizeof(struct pch_dma_desc)); in pdc_alloc_desc()
456 static struct pch_dma_desc *pdc_desc_get(struct pch_dma_chan *pd_chan) in pdc_desc_get()
458 struct pch_dma_desc *desc, *_d; in pdc_desc_get()
459 struct pch_dma_desc *ret = NULL; in pdc_desc_get()
491 struct pch_dma_desc *desc) in pdc_desc_put()
504 struct pch_dma_desc *desc; in pd_alloc_chan_resources()
543 struct pch_dma_desc *desc, *_d; in pd_free_chan_resources()
585 struct pch_dma_desc *first = NULL; in pd_prep_slave_sg()
586 struct pch_dma_desc *prev = NULL; in pd_prep_slave_sg()
587 struct pch_dma_desc *desc = NULL; in pd_prep_slave_sg()
667 struct pch_dma_desc *desc, *_d; in pd_device_terminate_all()
888 sizeof(struct pch_dma_desc), 4, 0); in pch_dma_probe()