Lines Matching refs:tdc2dev
198 static inline struct device *tdc2dev(struct tegra_adma_chan *tdc) in tdc2dev() function
340 dev_err(tdc2dev(tdc), "unable to stop DMA channel\n"); in tegra_adma_stop()
362 dev_warn(tdc2dev(tdc), "unable to start DMA, no descriptor\n"); in tegra_adma_start()
464 dev_err(tdc2dev(tdc), "unable to pause DMA channel\n"); in tegra_adma_pause()
589 dev_err(tdc2dev(tdc), "DMA direction is not supported\n"); in tegra_adma_set_xfer_params()
635 dev_err(tdc2dev(tdc), "invalid buffer/period len\n"); in tegra_adma_prep_dma_cyclic()
640 dev_err(tdc2dev(tdc), "buf_len not a multiple of period_len\n"); in tegra_adma_prep_dma_cyclic()
645 dev_err(tdc2dev(tdc), "invalid buffer alignment\n"); in tegra_adma_prep_dma_cyclic()
672 dev_err(tdc2dev(tdc), "failed to get interrupt for %s\n", in tegra_adma_alloc_chan_resources()
677 ret = pm_runtime_resume_and_get(tdc2dev(tdc)); in tegra_adma_alloc_chan_resources()
696 pm_runtime_put(tdc2dev(tdc)); in tegra_adma_free_chan_resources()