Home
last modified time | relevance | path

Searched refs:tps_dev (Results 1 – 1 of 1) sorted by relevance

/drivers/rtc/
Drtc-tps6586x.c72 struct device *tps_dev = to_tps6586x_dev(dev); in tps6586x_rtc_read_time() local
79 ret = tps6586x_reads(tps_dev, RTC_COUNT4_DUMMYREAD, sizeof(buff), buff); in tps6586x_rtc_read_time()
99 struct device *tps_dev = to_tps6586x_dev(dev); in tps6586x_rtc_set_time() local
120 ret = tps6586x_clr_bits(tps_dev, RTC_CTRL, RTC_ENABLE); in tps6586x_rtc_set_time()
126 ret = tps6586x_writes(tps_dev, RTC_COUNT4, sizeof(buff), buff); in tps6586x_rtc_set_time()
133 ret = tps6586x_set_bits(tps_dev, RTC_CTRL, RTC_ENABLE); in tps6586x_rtc_set_time()
159 struct device *tps_dev = to_tps6586x_dev(dev); in tps6586x_rtc_set_alarm() local
183 ret = tps6586x_reads(tps_dev, RTC_COUNT4_DUMMYREAD, in tps6586x_rtc_set_alarm()
204 ret = tps6586x_writes(tps_dev, RTC_ALARM1_HI, sizeof(buff), buff); in tps6586x_rtc_set_alarm()
214 struct device *tps_dev = to_tps6586x_dev(dev); in tps6586x_rtc_read_alarm() local
[all …]