Lines Matching refs:tdc2dev
243 static inline struct device *tdc2dev(struct tegra_adma_chan *tdc) in tdc2dev() function
428 dev_err(tdc2dev(tdc), "unable to stop DMA channel\n"); in tegra_adma_stop()
457 dev_warn(tdc2dev(tdc), "unable to start DMA, no descriptor\n"); in tegra_adma_start()
570 dev_err(tdc2dev(tdc), "unable to pause DMA channel\n"); in tegra_adma_pause()
695 dev_err(tdc2dev(tdc), "DMA direction is not supported\n"); in tegra_adma_set_xfer_params()
744 dev_err(tdc2dev(tdc), "invalid buffer/period len\n"); in tegra_adma_prep_dma_cyclic()
749 dev_err(tdc2dev(tdc), "buf_len not a multiple of period_len\n"); in tegra_adma_prep_dma_cyclic()
754 dev_err(tdc2dev(tdc), "invalid buffer alignment\n"); in tegra_adma_prep_dma_cyclic()
781 dev_err(tdc2dev(tdc), "failed to get interrupt for %s\n", in tegra_adma_alloc_chan_resources()
786 ret = pm_runtime_resume_and_get(tdc2dev(tdc)); in tegra_adma_alloc_chan_resources()
805 pm_runtime_put(tdc2dev(tdc)); in tegra_adma_free_chan_resources()