Lines Matching refs:pmugrf

19 	struct rk3399_pmugrf_regs *pmugrf;  member
23 struct rk3399_pmugrf_regs *pmugrf, int pwm_id) in pinctrl_rk3399_pwm_config() argument
37 rk_clrsetreg(&pmugrf->gpio1c_iomux, in pinctrl_rk3399_pwm_config()
42 if (readl(&pmugrf->soc_con0) & (1 << 5)) in pinctrl_rk3399_pwm_config()
43 rk_clrsetreg(&pmugrf->gpio1b_iomux, in pinctrl_rk3399_pwm_config()
47 rk_clrsetreg(&pmugrf->gpio0a_iomux, in pinctrl_rk3399_pwm_config()
58 struct rk3399_pmugrf_regs *pmugrf, in pinctrl_rk3399_i2c_config() argument
63 rk_clrsetreg(&pmugrf->gpio1b_iomux, in pinctrl_rk3399_i2c_config()
66 rk_clrsetreg(&pmugrf->gpio1c_iomux, in pinctrl_rk3399_i2c_config()
98 rk_clrsetreg(&pmugrf->gpio1b_iomux, in pinctrl_rk3399_i2c_config()
101 rk_clrsetreg(&pmugrf->gpio1b_iomux, in pinctrl_rk3399_i2c_config()
125 rk_clrsetreg(&pmugrf->gpio1c_iomux, in pinctrl_rk3399_i2c_config()
128 rk_clrsetreg(&pmugrf->gpio1c_iomux, in pinctrl_rk3399_i2c_config()
152 struct rk3399_pmugrf_regs *pmugrf, in pinctrl_rk3399_spi_config() argument
183 rk_clrsetreg(&pmugrf->gpio1a_iomux, in pinctrl_rk3399_spi_config()
186 rk_clrsetreg(&pmugrf->gpio1b_iomux, in pinctrl_rk3399_spi_config()
227 struct rk3399_pmugrf_regs *pmugrf, in pinctrl_rk3399_uart_config() argument
352 pinctrl_rk3399_pwm_config(priv->grf, priv->pmugrf, func); in rk3399_pinctrl_request()
363 pinctrl_rk3399_i2c_config(priv->grf, priv->pmugrf, func); in rk3399_pinctrl_request()
371 pinctrl_rk3399_spi_config(priv->grf, priv->pmugrf, func, flags); in rk3399_pinctrl_request()
378 pinctrl_rk3399_uart_config(priv->grf, priv->pmugrf, func); in rk3399_pinctrl_request()
482 priv->pmugrf = syscon_get_first_range(ROCKCHIP_SYSCON_PMUGRF); in rk3399_pinctrl_probe()
483 debug("%s: grf=%p, pmugrf=%p\n", __func__, priv->grf, priv->pmugrf); in rk3399_pinctrl_probe()