• Home
  • Raw
  • Download

Lines Matching refs:wm8350

42 	struct wm8350 *wm8350 = watchdog_get_drvdata(wdt_dev);  in wm8350_wdt_set_timeout()  local
53 wm8350_reg_unlock(wm8350); in wm8350_wdt_set_timeout()
55 reg = wm8350_reg_read(wm8350, WM8350_SYSTEM_CONTROL_2); in wm8350_wdt_set_timeout()
58 ret = wm8350_reg_write(wm8350, WM8350_SYSTEM_CONTROL_2, reg); in wm8350_wdt_set_timeout()
60 wm8350_reg_lock(wm8350); in wm8350_wdt_set_timeout()
69 struct wm8350 *wm8350 = watchdog_get_drvdata(wdt_dev); in wm8350_wdt_start() local
74 wm8350_reg_unlock(wm8350); in wm8350_wdt_start()
76 reg = wm8350_reg_read(wm8350, WM8350_SYSTEM_CONTROL_2); in wm8350_wdt_start()
79 ret = wm8350_reg_write(wm8350, WM8350_SYSTEM_CONTROL_2, reg); in wm8350_wdt_start()
81 wm8350_reg_lock(wm8350); in wm8350_wdt_start()
89 struct wm8350 *wm8350 = watchdog_get_drvdata(wdt_dev); in wm8350_wdt_stop() local
94 wm8350_reg_unlock(wm8350); in wm8350_wdt_stop()
96 reg = wm8350_reg_read(wm8350, WM8350_SYSTEM_CONTROL_2); in wm8350_wdt_stop()
98 ret = wm8350_reg_write(wm8350, WM8350_SYSTEM_CONTROL_2, reg); in wm8350_wdt_stop()
100 wm8350_reg_lock(wm8350); in wm8350_wdt_stop()
108 struct wm8350 *wm8350 = watchdog_get_drvdata(wdt_dev); in wm8350_wdt_ping() local
114 reg = wm8350_reg_read(wm8350, WM8350_SYSTEM_CONTROL_2); in wm8350_wdt_ping()
115 ret = wm8350_reg_write(wm8350, WM8350_SYSTEM_CONTROL_2, reg); in wm8350_wdt_ping()
145 struct wm8350 *wm8350 = platform_get_drvdata(pdev); in wm8350_wdt_probe() local
147 if (!wm8350) { in wm8350_wdt_probe()
153 watchdog_set_drvdata(&wm8350_wdt, wm8350); in wm8350_wdt_probe()