Lines Matching refs:rst_ops
211 const struct tegra_mc_reset_ops *rst_ops; in tegra_mc_hotreset_assert() local
220 rst_ops = mc->soc->reset_ops; in tegra_mc_hotreset_assert()
221 if (!rst_ops) in tegra_mc_hotreset_assert()
225 if (rst_ops->reset_status) { in tegra_mc_hotreset_assert()
227 if (rst_ops->reset_status(mc, rst)) in tegra_mc_hotreset_assert()
231 if (rst_ops->block_dma) { in tegra_mc_hotreset_assert()
233 err = rst_ops->block_dma(mc, rst); in tegra_mc_hotreset_assert()
241 if (rst_ops->dma_idling) { in tegra_mc_hotreset_assert()
243 while (!rst_ops->dma_idling(mc, rst)) { in tegra_mc_hotreset_assert()
254 if (rst_ops->hotreset_assert) { in tegra_mc_hotreset_assert()
256 err = rst_ops->hotreset_assert(mc, rst); in tegra_mc_hotreset_assert()
271 const struct tegra_mc_reset_ops *rst_ops; in tegra_mc_hotreset_deassert() local
279 rst_ops = mc->soc->reset_ops; in tegra_mc_hotreset_deassert()
280 if (!rst_ops) in tegra_mc_hotreset_deassert()
283 if (rst_ops->hotreset_deassert) { in tegra_mc_hotreset_deassert()
285 err = rst_ops->hotreset_deassert(mc, rst); in tegra_mc_hotreset_deassert()
293 if (rst_ops->unblock_dma) { in tegra_mc_hotreset_deassert()
295 err = rst_ops->unblock_dma(mc, rst); in tegra_mc_hotreset_deassert()
310 const struct tegra_mc_reset_ops *rst_ops; in tegra_mc_hotreset_status() local
317 rst_ops = mc->soc->reset_ops; in tegra_mc_hotreset_status()
318 if (!rst_ops) in tegra_mc_hotreset_status()
321 return rst_ops->reset_status(mc, rst); in tegra_mc_hotreset_status()