Lines Matching refs:rst
280 const struct tegra_mc_reset *rst) in tegra20_mc_hotreset_assert() argument
287 value = mc_readl(mc, rst->reset); in tegra20_mc_hotreset_assert()
288 mc_writel(mc, value & ~BIT(rst->bit), rst->reset); in tegra20_mc_hotreset_assert()
296 const struct tegra_mc_reset *rst) in tegra20_mc_hotreset_deassert() argument
303 value = mc_readl(mc, rst->reset); in tegra20_mc_hotreset_deassert()
304 mc_writel(mc, value | BIT(rst->bit), rst->reset); in tegra20_mc_hotreset_deassert()
312 const struct tegra_mc_reset *rst) in tegra20_mc_block_dma() argument
319 value = mc_readl(mc, rst->control) & ~BIT(rst->bit); in tegra20_mc_block_dma()
320 mc_writel(mc, value, rst->control); in tegra20_mc_block_dma()
328 const struct tegra_mc_reset *rst) in tegra20_mc_dma_idling() argument
330 return mc_readl(mc, rst->status) == 0; in tegra20_mc_dma_idling()
334 const struct tegra_mc_reset *rst) in tegra20_mc_reset_status() argument
336 return (mc_readl(mc, rst->reset) & BIT(rst->bit)) == 0; in tegra20_mc_reset_status()
340 const struct tegra_mc_reset *rst) in tegra20_mc_unblock_dma() argument
347 value = mc_readl(mc, rst->control) | BIT(rst->bit); in tegra20_mc_unblock_dma()
348 mc_writel(mc, value, rst->control); in tegra20_mc_unblock_dma()