Lines Matching refs:armada_37xx_watchdog
76 struct armada_37xx_watchdog { struct
85 static u64 get_counter_value(struct armada_37xx_watchdog *dev, int id) in get_counter_value() argument
99 static void set_counter_value(struct armada_37xx_watchdog *dev, int id, u64 val) in set_counter_value()
105 static void counter_enable(struct armada_37xx_watchdog *dev, int id) in counter_enable()
114 static void counter_disable(struct armada_37xx_watchdog *dev, int id) in counter_disable()
123 static void init_counter(struct armada_37xx_watchdog *dev, int id, u32 mode, in init_counter()
147 struct armada_37xx_watchdog *dev = watchdog_get_drvdata(wdt); in armada_37xx_wdt_ping()
158 struct armada_37xx_watchdog *dev = watchdog_get_drvdata(wdt); in armada_37xx_wdt_get_timeleft()
170 struct armada_37xx_watchdog *dev = watchdog_get_drvdata(wdt); in armada_37xx_wdt_set_timeout()
187 static bool armada_37xx_wdt_is_running(struct armada_37xx_watchdog *dev) in armada_37xx_wdt_is_running()
201 struct armada_37xx_watchdog *dev = watchdog_get_drvdata(wdt); in armada_37xx_wdt_start()
226 struct armada_37xx_watchdog *dev = watchdog_get_drvdata(wdt); in armada_37xx_wdt_stop()
256 struct armada_37xx_watchdog *dev; in armada_37xx_wdt_probe()
261 dev = devm_kzalloc(&pdev->dev, sizeof(struct armada_37xx_watchdog), in armada_37xx_wdt_probe()