Searched refs:wm831x_rtc (Results 1 – 1 of 1) sorted by relevance
89 struct wm831x_rtc { struct120 struct wm831x_rtc *wm831x_rtc = dev_get_drvdata(dev); in wm831x_rtc_readtime() local121 struct wm831x *wm831x = wm831x_rtc->wm831x; in wm831x_rtc_readtime()170 struct wm831x_rtc *wm831x_rtc = dev_get_drvdata(dev); in wm831x_rtc_settime() local171 struct wm831x *wm831x = wm831x_rtc->wm831x; in wm831x_rtc_settime()232 struct wm831x_rtc *wm831x_rtc = dev_get_drvdata(dev); in wm831x_rtc_readalarm() local237 ret = wm831x_bulk_read(wm831x_rtc->wm831x, WM831X_RTC_ALARM_1, in wm831x_rtc_readalarm()248 ret = wm831x_reg_read(wm831x_rtc->wm831x, WM831X_RTC_CONTROL); in wm831x_rtc_readalarm()262 static int wm831x_rtc_stop_alarm(struct wm831x_rtc *wm831x_rtc) in wm831x_rtc_stop_alarm() argument264 wm831x_rtc->alarm_enabled = 0; in wm831x_rtc_stop_alarm()[all …]