Lines Matching refs:tegra_adma_chan

128 struct tegra_adma_chan {  struct
166 struct tegra_adma_chan channels[] __counted_by(nr_channels); argument
179 static inline void tdma_ch_write(struct tegra_adma_chan *tdc, u32 reg, u32 val) in tdma_ch_write()
184 static inline u32 tdma_ch_read(struct tegra_adma_chan *tdc, u32 reg) in tdma_ch_read()
189 static inline struct tegra_adma_chan *to_tegra_adma_chan(struct dma_chan *dc) in to_tegra_adma_chan()
191 return container_of(dc, struct tegra_adma_chan, vc.chan); in to_tegra_adma_chan()
200 static inline struct device *tdc2dev(struct tegra_adma_chan *tdc) in tdc2dev()
213 struct tegra_adma_chan *tdc = to_tegra_adma_chan(dc); in tegra_adma_slave_config()
246 static int tegra_adma_request_alloc(struct tegra_adma_chan *tdc, in tegra_adma_request_alloc()
287 static void tegra_adma_request_free(struct tegra_adma_chan *tdc) in tegra_adma_request_free()
312 static u32 tegra_adma_irq_status(struct tegra_adma_chan *tdc) in tegra_adma_irq_status()
319 static u32 tegra_adma_irq_clear(struct tegra_adma_chan *tdc) in tegra_adma_irq_clear()
329 static void tegra_adma_stop(struct tegra_adma_chan *tdc) in tegra_adma_stop()
350 static void tegra_adma_start(struct tegra_adma_chan *tdc) in tegra_adma_start()
385 static unsigned int tegra_adma_get_residue(struct tegra_adma_chan *tdc) in tegra_adma_get_residue()
408 struct tegra_adma_chan *tdc = dev_id; in tegra_adma_isr()
428 struct tegra_adma_chan *tdc = to_tegra_adma_chan(dc); in tegra_adma_issue_pending()
441 static bool tegra_adma_is_paused(struct tegra_adma_chan *tdc) in tegra_adma_is_paused()
453 struct tegra_adma_chan *tdc = to_tegra_adma_chan(dc); in tegra_adma_pause()
475 struct tegra_adma_chan *tdc = to_tegra_adma_chan(dc); in tegra_adma_resume()
488 struct tegra_adma_chan *tdc = to_tegra_adma_chan(dc); in tegra_adma_terminate_all()
509 struct tegra_adma_chan *tdc = to_tegra_adma_chan(dc); in tegra_adma_tx_status()
555 static int tegra_adma_set_xfer_params(struct tegra_adma_chan *tdc, in tegra_adma_set_xfer_params()
633 struct tegra_adma_chan *tdc = to_tegra_adma_chan(dc); in tegra_adma_prep_dma_cyclic()
669 struct tegra_adma_chan *tdc = to_tegra_adma_chan(dc); in tegra_adma_alloc_chan_resources()
692 struct tegra_adma_chan *tdc = to_tegra_adma_chan(dc); in tegra_adma_free_chan_resources()
708 struct tegra_adma_chan *tdc; in tegra_dma_of_xlate()
736 struct tegra_adma_chan *tdc; in tegra_adma_runtime_suspend()
772 struct tegra_adma_chan *tdc; in tegra_adma_runtime_resume()
897 struct tegra_adma_chan *tdc = &tdma->channels[i]; in tegra_adma_probe()