Lines Matching refs:rk808
18 struct rk808 *rk808; member
34 struct rk808 *rk808 = rk808_clkout->rk808; in rk808_clkout2_enable() local
36 return regmap_update_bits(rk808->regmap, RK808_CLK32OUT_REG, in rk808_clkout2_enable()
55 struct rk808 *rk808 = rk808_clkout->rk808; in rk808_clkout2_is_prepared() local
58 int ret = regmap_read(rk808->regmap, RK808_CLK32OUT_REG, &val); in rk808_clkout2_is_prepared()
96 struct rk808 *rk808 = rk808_clkout->rk808; in rk817_clkout2_enable() local
98 return regmap_update_bits(rk808->regmap, RK817_SYS_CFG(1), in rk817_clkout2_enable()
118 struct rk808 *rk808 = rk808_clkout->rk808; in rk817_clkout2_is_prepared() local
121 int ret = regmap_read(rk808->regmap, RK817_SYS_CFG(1), &val); in rk817_clkout2_is_prepared()
155 struct rk808 *rk808 = dev_get_drvdata(pdev->dev.parent); in rk808_clkout_probe() local
156 struct i2c_client *client = rk808->i2c; in rk808_clkout_probe()
167 rk808_clkout->rk808 = rk808; in rk808_clkout_probe()
184 init.ops = rkpmic_get_ops(rk808->variant); in rk808_clkout_probe()