Home | History | Annotate | Download | only in dma

Lines Matching refs:mxs_dma_desc

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