@@ -198,7 +198,7 @@ static const struct tegra_mc_reset tegra20_mc_resets[] = {
198198 TEGRA20_MC_RESET (VI , 0x100 , 0x178 , 0x104 , 14 ),
199199};
200200
201- static int terga20_mc_hotreset_assert (struct tegra_mc * mc ,
201+ static int tegra20_mc_hotreset_assert (struct tegra_mc * mc ,
202202 const struct tegra_mc_reset * rst )
203203{
204204 unsigned long flags ;
@@ -214,7 +214,7 @@ static int terga20_mc_hotreset_assert(struct tegra_mc *mc,
214214 return 0 ;
215215}
216216
217- static int terga20_mc_hotreset_deassert (struct tegra_mc * mc ,
217+ static int tegra20_mc_hotreset_deassert (struct tegra_mc * mc ,
218218 const struct tegra_mc_reset * rst )
219219{
220220 unsigned long flags ;
@@ -230,7 +230,7 @@ static int terga20_mc_hotreset_deassert(struct tegra_mc *mc,
230230 return 0 ;
231231}
232232
233- static int terga20_mc_block_dma (struct tegra_mc * mc ,
233+ static int tegra20_mc_block_dma (struct tegra_mc * mc ,
234234 const struct tegra_mc_reset * rst )
235235{
236236 unsigned long flags ;
@@ -246,19 +246,19 @@ static int terga20_mc_block_dma(struct tegra_mc *mc,
246246 return 0 ;
247247}
248248
249- static bool terga20_mc_dma_idling (struct tegra_mc * mc ,
249+ static bool tegra20_mc_dma_idling (struct tegra_mc * mc ,
250250 const struct tegra_mc_reset * rst )
251251{
252252 return mc_readl (mc , rst -> status ) == 0 ;
253253}
254254
255- static int terga20_mc_reset_status (struct tegra_mc * mc ,
255+ static int tegra20_mc_reset_status (struct tegra_mc * mc ,
256256 const struct tegra_mc_reset * rst )
257257{
258258 return (mc_readl (mc , rst -> reset ) & BIT (rst -> bit )) == 0 ;
259259}
260260
261- static int terga20_mc_unblock_dma (struct tegra_mc * mc ,
261+ static int tegra20_mc_unblock_dma (struct tegra_mc * mc ,
262262 const struct tegra_mc_reset * rst )
263263{
264264 unsigned long flags ;
@@ -274,13 +274,13 @@ static int terga20_mc_unblock_dma(struct tegra_mc *mc,
274274 return 0 ;
275275}
276276
277- static const struct tegra_mc_reset_ops terga20_mc_reset_ops = {
278- .hotreset_assert = terga20_mc_hotreset_assert ,
279- .hotreset_deassert = terga20_mc_hotreset_deassert ,
280- .block_dma = terga20_mc_block_dma ,
281- .dma_idling = terga20_mc_dma_idling ,
282- .unblock_dma = terga20_mc_unblock_dma ,
283- .reset_status = terga20_mc_reset_status ,
277+ static const struct tegra_mc_reset_ops tegra20_mc_reset_ops = {
278+ .hotreset_assert = tegra20_mc_hotreset_assert ,
279+ .hotreset_deassert = tegra20_mc_hotreset_deassert ,
280+ .block_dma = tegra20_mc_block_dma ,
281+ .dma_idling = tegra20_mc_dma_idling ,
282+ .unblock_dma = tegra20_mc_unblock_dma ,
283+ .reset_status = tegra20_mc_reset_status ,
284284};
285285
286286const struct tegra_mc_soc tegra20_mc_soc = {
@@ -290,7 +290,7 @@ const struct tegra_mc_soc tegra20_mc_soc = {
290290 .client_id_mask = 0x3f ,
291291 .intmask = MC_INT_SECURITY_VIOLATION | MC_INT_INVALID_GART_PAGE |
292292 MC_INT_DECERR_EMEM ,
293- .reset_ops = & terga20_mc_reset_ops ,
293+ .reset_ops = & tegra20_mc_reset_ops ,
294294 .resets = tegra20_mc_resets ,
295295 .num_resets = ARRAY_SIZE (tegra20_mc_resets ),
296296};
0 commit comments