Lines Matching refs:tdc2dev
199 static inline struct device *tdc2dev(struct tegra_adma_chan *tdc) in tdc2dev() function
341 dev_err(tdc2dev(tdc), "unable to stop DMA channel\n"); in tegra_adma_stop()
363 dev_warn(tdc2dev(tdc), "unable to start DMA, no descriptor\n"); in tegra_adma_start()
465 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()
636 dev_err(tdc2dev(tdc), "invalid buffer/period len\n"); in tegra_adma_prep_dma_cyclic()
641 dev_err(tdc2dev(tdc), "buf_len not a multiple of period_len\n"); in tegra_adma_prep_dma_cyclic()
646 dev_err(tdc2dev(tdc), "invalid buffer alignment\n"); in tegra_adma_prep_dma_cyclic()
673 dev_err(tdc2dev(tdc), "failed to get interrupt for %s\n", in tegra_adma_alloc_chan_resources()
678 ret = pm_runtime_resume_and_get(tdc2dev(tdc)); in tegra_adma_alloc_chan_resources()
697 pm_runtime_put(tdc2dev(tdc)); in tegra_adma_free_chan_resources()