Lines Matching full:creg
56 struct rk_rtc_compat_reg *creg; member
105 ret = regmap_update_bits(rk808->regmap, rk808_rtc->creg->ctrl_reg, in rk808_rtc_readtime()
119 ret = regmap_update_bits(rk808->regmap, rk808_rtc->creg->ctrl_reg, in rk808_rtc_readtime()
127 ret = regmap_bulk_read(rk808->regmap, rk808_rtc->creg->seconds_reg, in rk808_rtc_readtime()
166 ret = regmap_update_bits(rk808->regmap, rk808_rtc->creg->ctrl_reg, in rk808_rtc_set_time()
174 ret = regmap_bulk_write(rk808->regmap, rk808_rtc->creg->seconds_reg, in rk808_rtc_set_time()
181 ret = regmap_update_bits(rk808->regmap, rk808_rtc->creg->ctrl_reg, in rk808_rtc_set_time()
200 rk808_rtc->creg->alarm_seconds_reg, in rk808_rtc_readalarm()
215 ret = regmap_read(rk808->regmap, rk808_rtc->creg->int_reg, &int_reg); in rk808_rtc_readalarm()
234 ret = regmap_update_bits(rk808->regmap, rk808_rtc->creg->int_reg, in rk808_rtc_stop_alarm()
245 ret = regmap_update_bits(rk808->regmap, rk808_rtc->creg->int_reg, in rk808_rtc_start_alarm()
276 rk808_rtc->creg->alarm_seconds_reg, in rk808_rtc_setalarm()
320 ret = regmap_write(rk808->regmap, rk808_rtc->creg->status_reg, in rk808_alarm_irq()
400 rk808_rtc->creg = &rk817_creg; in rk808_rtc_probe()
403 rk808_rtc->creg = &rk808_creg; in rk808_rtc_probe()
410 ret = regmap_update_bits(rk808->regmap, rk808_rtc->creg->ctrl_reg, in rk808_rtc_probe()
420 ret = regmap_write(rk808->regmap, rk808_rtc->creg->status_reg, in rk808_rtc_probe()