Lines Matching refs:rtc_regmap
93 struct regmap *rtc_regmap; member
356 ret = regmap_update_bits(info->rtc_regmap, in max77686_rtc_update()
382 ret = regmap_bulk_read(info->rtc_regmap, in max77686_rtc_read_time()
409 ret = regmap_bulk_write(info->rtc_regmap, in max77686_rtc_set_time()
438 ret = regmap_bulk_read(info->rtc_regmap, map[REG_ALARM1_SEC], in max77686_rtc_read_alarm()
457 ret = regmap_read(info->rtc_regmap, map[REG_RTC_AE1], &val); in max77686_rtc_read_alarm()
518 ret = regmap_write(info->rtc_regmap, map[REG_RTC_AE1], 0); in max77686_rtc_stop_alarm()
520 ret = regmap_bulk_read(info->rtc_regmap, map[REG_ALARM1_SEC], in max77686_rtc_stop_alarm()
532 ret = regmap_bulk_write(info->rtc_regmap, map[REG_ALARM1_SEC], in max77686_rtc_stop_alarm()
561 ret = regmap_write(info->rtc_regmap, map[REG_RTC_AE1], in max77686_rtc_start_alarm()
564 ret = regmap_bulk_read(info->rtc_regmap, map[REG_ALARM1_SEC], in max77686_rtc_start_alarm()
584 ret = regmap_bulk_write(info->rtc_regmap, map[REG_ALARM1_SEC], in max77686_rtc_start_alarm()
614 ret = regmap_bulk_write(info->rtc_regmap, in max77686_rtc_set_alarm()
678 ret = regmap_bulk_write(info->rtc_regmap, in max77686_rtc_init_reg()
713 info->rtc_regmap = info->regmap; in max77686_init_rtc_regmap()
724 info->rtc_regmap = devm_regmap_init_i2c(info->rtc, in max77686_init_rtc_regmap()
726 if (IS_ERR(info->rtc_regmap)) { in max77686_init_rtc_regmap()
727 ret = PTR_ERR(info->rtc_regmap); in max77686_init_rtc_regmap()
733 ret = regmap_add_irq_chip(info->rtc_regmap, info->rtc_irq, in max77686_init_rtc_regmap()