Lines Matching full:scu
18 struct ast2600_scu *scu; member
24 struct ast2600_scu *scu = priv->scu; in ast2600_reset_deassert() local
29 writel(BIT(reset_ctl->id - 32), &scu->sysreset_clr_ctrl2); in ast2600_reset_deassert()
31 writel(BIT(reset_ctl->id), &scu->sysreset_clr_ctrl1); in ast2600_reset_deassert()
39 struct ast2600_scu *scu = priv->scu; in ast2600_reset_assert() local
44 writel(BIT(reset_ctl->id - 32), &scu->sysreset_ctrl2); in ast2600_reset_assert()
46 writel(BIT(reset_ctl->id), &scu->sysreset_ctrl1); in ast2600_reset_assert()
65 /* find SCU base address from clock device */ in ast2600_reset_probe()
73 priv->scu = devfdt_get_addr_ptr(clk_dev); in ast2600_reset_probe()
74 if (IS_ERR(priv->scu)) { in ast2600_reset_probe()
75 debug("%s(): can't get SCU\n", __func__); in ast2600_reset_probe()
76 return PTR_ERR(priv->scu); in ast2600_reset_probe()