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()
468 dev_err(tdc2dev(tdc), "unable to pause DMA channel\n"); in tegra_adma_pause()
591 dev_err(tdc2dev(tdc), "DMA direction is not supported\n"); in tegra_adma_set_xfer_params()
617 dev_err(tdc2dev(tdc), "invalid buffer/period len\n"); in tegra_adma_prep_dma_cyclic()
622 dev_err(tdc2dev(tdc), "buf_len not a multiple of period_len\n"); in tegra_adma_prep_dma_cyclic()
627 dev_err(tdc2dev(tdc), "invalid buffer alignment\n"); in tegra_adma_prep_dma_cyclic()
654 dev_err(tdc2dev(tdc), "failed to get interrupt for %s\n", in tegra_adma_alloc_chan_resources()
659 ret = pm_runtime_get_sync(tdc2dev(tdc)); in tegra_adma_alloc_chan_resources()
678 pm_runtime_put(tdc2dev(tdc)); in tegra_adma_free_chan_resources()