Lines Matching refs:rst_ops
179 const struct tegra_mc_reset_ops *rst_ops; in tegra_mc_hotreset_assert() local
188 rst_ops = mc->soc->reset_ops; in tegra_mc_hotreset_assert()
189 if (!rst_ops) in tegra_mc_hotreset_assert()
193 if (rst_ops->reset_status) { in tegra_mc_hotreset_assert()
195 if (rst_ops->reset_status(mc, rst)) in tegra_mc_hotreset_assert()
199 if (rst_ops->block_dma) { in tegra_mc_hotreset_assert()
201 err = rst_ops->block_dma(mc, rst); in tegra_mc_hotreset_assert()
209 if (rst_ops->dma_idling) { in tegra_mc_hotreset_assert()
211 while (!rst_ops->dma_idling(mc, rst)) { in tegra_mc_hotreset_assert()
222 if (rst_ops->hotreset_assert) { in tegra_mc_hotreset_assert()
224 err = rst_ops->hotreset_assert(mc, rst); in tegra_mc_hotreset_assert()
239 const struct tegra_mc_reset_ops *rst_ops; in tegra_mc_hotreset_deassert() local
247 rst_ops = mc->soc->reset_ops; in tegra_mc_hotreset_deassert()
248 if (!rst_ops) in tegra_mc_hotreset_deassert()
251 if (rst_ops->hotreset_deassert) { in tegra_mc_hotreset_deassert()
253 err = rst_ops->hotreset_deassert(mc, rst); in tegra_mc_hotreset_deassert()
261 if (rst_ops->unblock_dma) { in tegra_mc_hotreset_deassert()
263 err = rst_ops->unblock_dma(mc, rst); in tegra_mc_hotreset_deassert()
278 const struct tegra_mc_reset_ops *rst_ops; in tegra_mc_hotreset_status() local
285 rst_ops = mc->soc->reset_ops; in tegra_mc_hotreset_status()
286 if (!rst_ops) in tegra_mc_hotreset_status()
289 return rst_ops->reset_status(mc, rst); in tegra_mc_hotreset_status()