Lines Matching refs:tdc2dev
201 static inline struct device *tdc2dev(struct tegra_adma_chan *tdc) in tdc2dev() function
343 dev_err(tdc2dev(tdc), "unable to stop DMA channel\n"); in tegra_adma_stop()
365 dev_warn(tdc2dev(tdc), "unable to start DMA, no descriptor\n"); in tegra_adma_start()
467 dev_err(tdc2dev(tdc), "unable to pause DMA channel\n"); in tegra_adma_pause()
590 dev_err(tdc2dev(tdc), "DMA direction is not supported\n"); in tegra_adma_set_xfer_params()
616 dev_err(tdc2dev(tdc), "invalid buffer/period len\n"); in tegra_adma_prep_dma_cyclic()
621 dev_err(tdc2dev(tdc), "buf_len not a multiple of period_len\n"); in tegra_adma_prep_dma_cyclic()
626 dev_err(tdc2dev(tdc), "invalid buffer alignment\n"); in tegra_adma_prep_dma_cyclic()
653 dev_err(tdc2dev(tdc), "failed to get interrupt for %s\n", in tegra_adma_alloc_chan_resources()
658 ret = pm_runtime_resume_and_get(tdc2dev(tdc)); in tegra_adma_alloc_chan_resources()
677 pm_runtime_put(tdc2dev(tdc)); in tegra_adma_free_chan_resources()