Home
last modified time | relevance | path

Searched refs:fsl_chan (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/dma/
H A Dfsl-edma-common.c66 if (!fsl_chan->edesc) in fsl_edma_tx_chan_handler()
93 if (!edma_readl(fsl_chan->edma, fsl_chan->mux_addr)) in fsl_edma3_enable_request()
94 edma_writel(fsl_chan->edma, fsl_chan->srcid, fsl_chan->mux_addr); in fsl_edma3_enable_request()
130 edma_writel(fsl_chan->edma, 0, fsl_chan->mux_addr); in fsl_edma3_disable_request()
408 if (fsl_chan->edesc && cookie == fsl_chan->edesc->vdesc.tx.cookie) in fsl_edma_tx_status()
594 fsl_chan->attr = in fsl_edma_prep_dma_cyclic()
599 fsl_chan->attr = in fsl_edma_prep_dma_cyclic()
666 fsl_chan->attr = in fsl_edma_prep_slave_sg()
671 fsl_chan->attr = in fsl_edma_prep_slave_sg()
771 fsl_edma_set_tcd_regs(fsl_chan, fsl_chan->edesc->tcd[0].vtcd); in fsl_edma_xfer_desc()
[all …]
H A Dfsl-edma-main.c103 struct fsl_edma_chan *fsl_chan; in fsl_edma_xlate() local
120 fsl_edma_chan_mux(fsl_chan, fsl_chan->slave_id, in fsl_edma_xlate()
239 if (fsl_chan->txirq < 0) { in fsl_edma3_irq_init()
246 fsl_chan->chan_name, fsl_chan); in fsl_edma3_irq_init()
417 fsl_chan->pd_dev = pd_chan; in fsl_edma3_attach_pd()
535 snprintf(fsl_chan->chan_name, sizeof(fsl_chan->chan_name), "%s-CH%02d", in fsl_edma_probe()
538 fsl_chan->edma = fsl_edma; in fsl_edma_probe()
540 fsl_chan->slave_id = 0; in fsl_edma_probe()
541 fsl_chan->idle = true; in fsl_edma_probe()
559 fsl_chan->pdev = pdev; in fsl_edma_probe()
[all …]
H A Dfsl-qdma.c473 comp_temp->qchan = fsl_chan; in fsl_qdma_request_enqueue_desc()
1001 vdesc = vchan_next_desc(&fsl_chan->vchan); in fsl_qdma_enqueue_desc()
1017 fsl_chan->status = DMA_IN_PROGRESS; in fsl_qdma_enqueue_desc()
1041 spin_lock(&fsl_chan->vchan.lock); in fsl_qdma_issue_pending()
1042 if (vchan_issue_pending(&fsl_chan->vchan)) in fsl_qdma_issue_pending()
1043 fsl_qdma_enqueue_desc(fsl_chan); in fsl_qdma_issue_pending()
1044 spin_unlock(&fsl_chan->vchan.lock); in fsl_qdma_issue_pending()
1052 vchan_synchronize(&fsl_chan->vchan); in fsl_qdma_synchronize()
1124 struct fsl_qdma_chan *fsl_chan; in fsl_qdma_probe() local
1153 len = sizeof(*fsl_chan) * chans; in fsl_qdma_probe()
[all …]
H A Dfsldma.h183 void (*toggle_ext_pause)(struct fsldma_chan *fsl_chan, int enable);
184 void (*toggle_ext_start)(struct fsldma_chan *fsl_chan, int enable);
185 void (*set_src_loop_size)(struct fsldma_chan *fsl_chan, int size);
186 void (*set_dst_loop_size)(struct fsldma_chan *fsl_chan, int size);
187 void (*set_request_count)(struct fsldma_chan *fsl_chan, int size);
256 #define DMA_TO_CPU(fsl_chan, d, width) \ argument
257 (((fsl_chan)->feature & FSL_DMA_BIG_ENDIAN) ? \
260 #define CPU_TO_DMA(fsl_chan, c, width) \ argument
261 (((fsl_chan)->feature & FSL_DMA_BIG_ENDIAN) ? \
H A Dfsl-edma-common.h308 static inline u32 fsl_edma_drvflags(struct fsl_edma_chan *fsl_chan) in fsl_edma_drvflags() argument
310 return fsl_chan->edma->drvdata->flags; in fsl_edma_drvflags()
318 static inline void fsl_edma_err_chan_handler(struct fsl_edma_chan *fsl_chan) in fsl_edma_err_chan_handler() argument
320 fsl_chan->status = DMA_ERROR; in fsl_edma_err_chan_handler()
321 fsl_chan->idle = true; in fsl_edma_err_chan_handler()
324 void fsl_edma_tx_chan_handler(struct fsl_edma_chan *fsl_chan);
325 void fsl_edma_disable_request(struct fsl_edma_chan *fsl_chan);
326 void fsl_edma_chan_mux(struct fsl_edma_chan *fsl_chan,
347 void fsl_edma_xfer_desc(struct fsl_edma_chan *fsl_chan);