Searched refs:dev_ctrl (Results 1 – 5 of 5) sorted by relevance
115 error = rk8xx_read(sc->dev, sc->dev_ctrl.dev_ctrl_reg, &val, 1); in rk8xx_poweroff()118 val |= sc->dev_ctrl.pwr_off_mask; in rk8xx_poweroff()125 val |= sc->dev_ctrl.pwr_rst_mask; in rk8xx_poweroff()128 val |= sc->dev_ctrl.pwr_off_mask; in rk8xx_poweroff()131 error = rk8xx_write(sc->dev, sc->dev_ctrl.dev_ctrl_reg, in rk8xx_poweroff()
176 sc->dev_ctrl.dev_ctrl_reg = RK805_DEV_CTRL; in rk805_attach()177 sc->dev_ctrl.pwr_off_mask = RK805_DEV_CTRL_OFF; in rk805_attach()
251 sc->dev_ctrl.dev_ctrl_reg = RK808_DEV_CTRL; in rk808_attach()252 sc->dev_ctrl.pwr_off_mask = RK808_DEV_CTRL_OFF; in rk808_attach()
507 sc->dev_ctrl.dev_ctrl_reg = RK817_SYS_CFG3; in rk817_attach()508 sc->dev_ctrl.pwr_off_mask = RK817_SYS_CFG3_OFF; in rk817_attach()509 sc->dev_ctrl.pwr_rst_mask = RK817_SYS_CFG3_RST; in rk817_attach()
112 struct rk8xx_dev_ctrl dev_ctrl; member