Lines Matching refs:rst_ops
147 const struct tegra_mc_reset_ops *rst_ops; in tegra_mc_hotreset_assert() local
156 rst_ops = mc->soc->reset_ops; in tegra_mc_hotreset_assert()
157 if (!rst_ops) in tegra_mc_hotreset_assert()
160 if (rst_ops->block_dma) { in tegra_mc_hotreset_assert()
162 err = rst_ops->block_dma(mc, rst); in tegra_mc_hotreset_assert()
170 if (rst_ops->dma_idling) { in tegra_mc_hotreset_assert()
172 while (!rst_ops->dma_idling(mc, rst)) { in tegra_mc_hotreset_assert()
183 if (rst_ops->hotreset_assert) { in tegra_mc_hotreset_assert()
185 err = rst_ops->hotreset_assert(mc, rst); in tegra_mc_hotreset_assert()
200 const struct tegra_mc_reset_ops *rst_ops; in tegra_mc_hotreset_deassert() local
208 rst_ops = mc->soc->reset_ops; in tegra_mc_hotreset_deassert()
209 if (!rst_ops) in tegra_mc_hotreset_deassert()
212 if (rst_ops->hotreset_deassert) { in tegra_mc_hotreset_deassert()
214 err = rst_ops->hotreset_deassert(mc, rst); in tegra_mc_hotreset_deassert()
222 if (rst_ops->unblock_dma) { in tegra_mc_hotreset_deassert()
224 err = rst_ops->unblock_dma(mc, rst); in tegra_mc_hotreset_deassert()
239 const struct tegra_mc_reset_ops *rst_ops; in tegra_mc_hotreset_status() local
246 rst_ops = mc->soc->reset_ops; in tegra_mc_hotreset_status()
247 if (!rst_ops) in tegra_mc_hotreset_status()
250 return rst_ops->reset_status(mc, rst); in tegra_mc_hotreset_status()