Lines Matching refs:rst_ops
208 const struct tegra_mc_reset_ops *rst_ops; in tegra_mc_hotreset_assert() local
217 rst_ops = mc->soc->reset_ops; in tegra_mc_hotreset_assert()
218 if (!rst_ops) in tegra_mc_hotreset_assert()
222 if (rst_ops->reset_status) { in tegra_mc_hotreset_assert()
224 if (rst_ops->reset_status(mc, rst)) in tegra_mc_hotreset_assert()
228 if (rst_ops->block_dma) { in tegra_mc_hotreset_assert()
230 err = rst_ops->block_dma(mc, rst); in tegra_mc_hotreset_assert()
238 if (rst_ops->dma_idling) { in tegra_mc_hotreset_assert()
240 while (!rst_ops->dma_idling(mc, rst)) { in tegra_mc_hotreset_assert()
251 if (rst_ops->hotreset_assert) { in tegra_mc_hotreset_assert()
253 err = rst_ops->hotreset_assert(mc, rst); in tegra_mc_hotreset_assert()
268 const struct tegra_mc_reset_ops *rst_ops; in tegra_mc_hotreset_deassert() local
276 rst_ops = mc->soc->reset_ops; in tegra_mc_hotreset_deassert()
277 if (!rst_ops) in tegra_mc_hotreset_deassert()
280 if (rst_ops->hotreset_deassert) { in tegra_mc_hotreset_deassert()
282 err = rst_ops->hotreset_deassert(mc, rst); in tegra_mc_hotreset_deassert()
290 if (rst_ops->unblock_dma) { in tegra_mc_hotreset_deassert()
292 err = rst_ops->unblock_dma(mc, rst); in tegra_mc_hotreset_deassert()
307 const struct tegra_mc_reset_ops *rst_ops; in tegra_mc_hotreset_status() local
314 rst_ops = mc->soc->reset_ops; in tegra_mc_hotreset_status()
315 if (!rst_ops) in tegra_mc_hotreset_status()
318 return rst_ops->reset_status(mc, rst); in tegra_mc_hotreset_status()