Lines Matching refs:wm8350

39 	struct wm8350 *wm8350 = watchdog_get_drvdata(wdt_dev);  in wm8350_wdt_set_timeout()  local
50 wm8350_reg_unlock(wm8350); in wm8350_wdt_set_timeout()
52 reg = wm8350_reg_read(wm8350, WM8350_SYSTEM_CONTROL_2); in wm8350_wdt_set_timeout()
55 ret = wm8350_reg_write(wm8350, WM8350_SYSTEM_CONTROL_2, reg); in wm8350_wdt_set_timeout()
57 wm8350_reg_lock(wm8350); in wm8350_wdt_set_timeout()
66 struct wm8350 *wm8350 = watchdog_get_drvdata(wdt_dev); in wm8350_wdt_start() local
71 wm8350_reg_unlock(wm8350); in wm8350_wdt_start()
73 reg = wm8350_reg_read(wm8350, WM8350_SYSTEM_CONTROL_2); in wm8350_wdt_start()
76 ret = wm8350_reg_write(wm8350, WM8350_SYSTEM_CONTROL_2, reg); in wm8350_wdt_start()
78 wm8350_reg_lock(wm8350); in wm8350_wdt_start()
86 struct wm8350 *wm8350 = watchdog_get_drvdata(wdt_dev); in wm8350_wdt_stop() local
91 wm8350_reg_unlock(wm8350); in wm8350_wdt_stop()
93 reg = wm8350_reg_read(wm8350, WM8350_SYSTEM_CONTROL_2); in wm8350_wdt_stop()
95 ret = wm8350_reg_write(wm8350, WM8350_SYSTEM_CONTROL_2, reg); in wm8350_wdt_stop()
97 wm8350_reg_lock(wm8350); in wm8350_wdt_stop()
105 struct wm8350 *wm8350 = watchdog_get_drvdata(wdt_dev); in wm8350_wdt_ping() local
111 reg = wm8350_reg_read(wm8350, WM8350_SYSTEM_CONTROL_2); in wm8350_wdt_ping()
112 ret = wm8350_reg_write(wm8350, WM8350_SYSTEM_CONTROL_2, reg); in wm8350_wdt_ping()
142 struct wm8350 *wm8350 = platform_get_drvdata(pdev); in wm8350_wdt_probe() local
144 if (!wm8350) { in wm8350_wdt_probe()
150 watchdog_set_drvdata(&wm8350_wdt, wm8350); in wm8350_wdt_probe()