Lines Matching refs:rst_ops
182 const struct tegra_mc_reset_ops *rst_ops; in tegra_mc_hotreset_assert() local
191 rst_ops = mc->soc->reset_ops; in tegra_mc_hotreset_assert()
192 if (!rst_ops) in tegra_mc_hotreset_assert()
196 if (rst_ops->reset_status) { in tegra_mc_hotreset_assert()
198 if (rst_ops->reset_status(mc, rst)) in tegra_mc_hotreset_assert()
202 if (rst_ops->block_dma) { in tegra_mc_hotreset_assert()
204 err = rst_ops->block_dma(mc, rst); in tegra_mc_hotreset_assert()
212 if (rst_ops->dma_idling) { in tegra_mc_hotreset_assert()
214 while (!rst_ops->dma_idling(mc, rst)) { in tegra_mc_hotreset_assert()
225 if (rst_ops->hotreset_assert) { in tegra_mc_hotreset_assert()
227 err = rst_ops->hotreset_assert(mc, rst); in tegra_mc_hotreset_assert()
242 const struct tegra_mc_reset_ops *rst_ops; in tegra_mc_hotreset_deassert() local
250 rst_ops = mc->soc->reset_ops; in tegra_mc_hotreset_deassert()
251 if (!rst_ops) in tegra_mc_hotreset_deassert()
254 if (rst_ops->hotreset_deassert) { in tegra_mc_hotreset_deassert()
256 err = rst_ops->hotreset_deassert(mc, rst); in tegra_mc_hotreset_deassert()
264 if (rst_ops->unblock_dma) { in tegra_mc_hotreset_deassert()
266 err = rst_ops->unblock_dma(mc, rst); in tegra_mc_hotreset_deassert()
281 const struct tegra_mc_reset_ops *rst_ops; in tegra_mc_hotreset_status() local
288 rst_ops = mc->soc->reset_ops; in tegra_mc_hotreset_status()
289 if (!rst_ops) in tegra_mc_hotreset_status()
292 return rst_ops->reset_status(mc, rst); in tegra_mc_hotreset_status()