Lines Matching refs:mxs_dma_desc
46 static unsigned int mxs_dma_cmd_address(struct mxs_dma_desc *desc) in mxs_dma_cmd_address()
48 return desc->address + offsetof(struct mxs_dma_desc, cmd); in mxs_dma_cmd_address()
85 void mxs_dma_flush_desc(struct mxs_dma_desc *desc) in mxs_dma_flush_desc()
91 size = roundup(sizeof(struct mxs_dma_desc), MXS_DMA_ALIGNMENT); in mxs_dma_flush_desc()
96 inline void mxs_dma_flush_desc(struct mxs_dma_desc *desc) {} in mxs_dma_flush_desc()
114 struct mxs_dma_desc *pdesc; in mxs_dma_enable()
128 pdesc = list_first_entry(&pchan->active, struct mxs_dma_desc, node); in mxs_dma_enable()
142 struct mxs_dma_desc, node); in mxs_dma_enable()
338 struct mxs_dma_desc *mxs_dma_desc_alloc(void) in mxs_dma_desc_alloc()
340 struct mxs_dma_desc *pdesc; in mxs_dma_desc_alloc()
343 size = roundup(sizeof(struct mxs_dma_desc), MXS_DMA_ALIGNMENT); in mxs_dma_desc_alloc()
358 void mxs_dma_desc_free(struct mxs_dma_desc *pdesc) in mxs_dma_desc_free()
405 int mxs_dma_desc_append(int channel, struct mxs_dma_desc *pdesc) in mxs_dma_desc_append()
408 struct mxs_dma_desc *last; in mxs_dma_desc_append()
421 last = list_entry(pchan->active.prev, struct mxs_dma_desc, in mxs_dma_desc_append()
458 struct mxs_dma_desc *pdesc; in mxs_dma_finish()
478 pdesc = list_entry(p, struct mxs_dma_desc, node); in mxs_dma_finish()
552 void mxs_dma_circ_start(int chan, struct mxs_dma_desc *pdesc) in mxs_dma_circ_start()