Lines Matching refs:tps

38 	struct tps65910 *tps = dev_get_drvdata(dev->parent);  in tps65910_rtc_alarm_irq_enable()  local
44 return regmap_write(tps->regmap, TPS65910_RTC_INTERRUPTS, val); in tps65910_rtc_alarm_irq_enable()
59 struct tps65910 *tps = dev_get_drvdata(dev->parent); in tps65910_rtc_read_time() local
63 ret = regmap_update_bits(tps->regmap, TPS65910_RTC_CTRL, in tps65910_rtc_read_time()
70 ret = regmap_bulk_read(tps->regmap, TPS65910_SECONDS, rtc_data, in tps65910_rtc_read_time()
90 struct tps65910 *tps = dev_get_drvdata(dev->parent); in tps65910_rtc_set_time() local
101 ret = regmap_update_bits(tps->regmap, TPS65910_RTC_CTRL, in tps65910_rtc_set_time()
109 ret = regmap_bulk_write(tps->regmap, TPS65910_SECONDS, rtc_data, in tps65910_rtc_set_time()
117 ret = regmap_update_bits(tps->regmap, TPS65910_RTC_CTRL, in tps65910_rtc_set_time()
132 struct tps65910 *tps = dev_get_drvdata(dev->parent); in tps65910_rtc_read_alarm() local
135 ret = regmap_bulk_read(tps->regmap, TPS65910_SECONDS, alarm_data, in tps65910_rtc_read_alarm()
149 ret = regmap_read(tps->regmap, TPS65910_RTC_INTERRUPTS, &int_val); in tps65910_rtc_read_alarm()
162 struct tps65910 *tps = dev_get_drvdata(dev->parent); in tps65910_rtc_set_alarm() local
177 ret = regmap_bulk_write(tps->regmap, TPS65910_ALARM_SECONDS, in tps65910_rtc_set_alarm()
194 struct tps65910 *tps = dev_get_drvdata(dev->parent); in tps65910_rtc_interrupt() local
199 ret = regmap_read(tps->regmap, TPS65910_RTC_STATUS, &rtc_reg); in tps65910_rtc_interrupt()
206 ret = regmap_write(tps->regmap, TPS65910_RTC_STATUS, rtc_reg); in tps65910_rtc_interrupt()