Lines Matching refs:rst_ops
117 const struct tegra_mc_reset_ops *rst_ops; in tegra_mc_hotreset_assert() local
126 rst_ops = mc->soc->reset_ops; in tegra_mc_hotreset_assert()
127 if (!rst_ops) in tegra_mc_hotreset_assert()
130 if (rst_ops->block_dma) { in tegra_mc_hotreset_assert()
132 err = rst_ops->block_dma(mc, rst); in tegra_mc_hotreset_assert()
140 if (rst_ops->dma_idling) { in tegra_mc_hotreset_assert()
142 while (!rst_ops->dma_idling(mc, rst)) { in tegra_mc_hotreset_assert()
153 if (rst_ops->hotreset_assert) { in tegra_mc_hotreset_assert()
155 err = rst_ops->hotreset_assert(mc, rst); in tegra_mc_hotreset_assert()
170 const struct tegra_mc_reset_ops *rst_ops; in tegra_mc_hotreset_deassert() local
178 rst_ops = mc->soc->reset_ops; in tegra_mc_hotreset_deassert()
179 if (!rst_ops) in tegra_mc_hotreset_deassert()
182 if (rst_ops->hotreset_deassert) { in tegra_mc_hotreset_deassert()
184 err = rst_ops->hotreset_deassert(mc, rst); in tegra_mc_hotreset_deassert()
192 if (rst_ops->unblock_dma) { in tegra_mc_hotreset_deassert()
194 err = rst_ops->unblock_dma(mc, rst); in tegra_mc_hotreset_deassert()
209 const struct tegra_mc_reset_ops *rst_ops; in tegra_mc_hotreset_status() local
216 rst_ops = mc->soc->reset_ops; in tegra_mc_hotreset_status()
217 if (!rst_ops) in tegra_mc_hotreset_status()
220 return rst_ops->reset_status(mc, rst); in tegra_mc_hotreset_status()