• Home
  • Raw
  • Download

Lines Matching refs:rst

46 				     const struct tegra_mc_reset *rst)  in tegra_mc_block_dma_common()  argument
53 value = mc_readl(mc, rst->control) | BIT(rst->bit); in tegra_mc_block_dma_common()
54 mc_writel(mc, value, rst->control); in tegra_mc_block_dma_common()
62 const struct tegra_mc_reset *rst) in tegra_mc_dma_idling_common() argument
64 return (mc_readl(mc, rst->status) & BIT(rst->bit)) != 0; in tegra_mc_dma_idling_common()
68 const struct tegra_mc_reset *rst) in tegra_mc_unblock_dma_common() argument
75 value = mc_readl(mc, rst->control) & ~BIT(rst->bit); in tegra_mc_unblock_dma_common()
76 mc_writel(mc, value, rst->control); in tegra_mc_unblock_dma_common()
84 const struct tegra_mc_reset *rst) in tegra_mc_reset_status_common() argument
86 return (mc_readl(mc, rst->control) & BIT(rst->bit)) != 0; in tegra_mc_reset_status_common()
118 const struct tegra_mc_reset *rst; in tegra_mc_hotreset_assert() local
122 rst = tegra_mc_reset_find(mc, id); in tegra_mc_hotreset_assert()
123 if (!rst) in tegra_mc_hotreset_assert()
132 err = rst_ops->block_dma(mc, rst); in tegra_mc_hotreset_assert()
135 rst->name, err); in tegra_mc_hotreset_assert()
142 while (!rst_ops->dma_idling(mc, rst)) { in tegra_mc_hotreset_assert()
145 rst->name); in tegra_mc_hotreset_assert()
155 err = rst_ops->hotreset_assert(mc, rst); in tegra_mc_hotreset_assert()
158 rst->name, err); in tegra_mc_hotreset_assert()
171 const struct tegra_mc_reset *rst; in tegra_mc_hotreset_deassert() local
174 rst = tegra_mc_reset_find(mc, id); in tegra_mc_hotreset_deassert()
175 if (!rst) in tegra_mc_hotreset_deassert()
184 err = rst_ops->hotreset_deassert(mc, rst); in tegra_mc_hotreset_deassert()
187 rst->name, err); in tegra_mc_hotreset_deassert()
194 err = rst_ops->unblock_dma(mc, rst); in tegra_mc_hotreset_deassert()
197 rst->name, err); in tegra_mc_hotreset_deassert()
210 const struct tegra_mc_reset *rst; in tegra_mc_hotreset_status() local
212 rst = tegra_mc_reset_find(mc, id); in tegra_mc_hotreset_status()
213 if (!rst) in tegra_mc_hotreset_status()
220 return rst_ops->reset_status(mc, rst); in tegra_mc_hotreset_status()