Searched refs:sprd_wdt (Results 1 – 2 of 2) sorted by relevance
59 struct sprd_wdt { struct67 static inline struct sprd_wdt *to_sprd_wdt(struct watchdog_device *wdd) in to_sprd_wdt() argument69 return container_of(wdd, struct sprd_wdt, wdd); in to_sprd_wdt()84 struct sprd_wdt *wdt = (struct sprd_wdt *)dev_id; in sprd_wdt_isr()93 static u32 sprd_wdt_get_cnt_value(struct sprd_wdt *wdt) in sprd_wdt_get_cnt_value()105 static int sprd_wdt_load_value(struct sprd_wdt *wdt, u32 timeout, in sprd_wdt_load_value()144 static int sprd_wdt_enable(struct sprd_wdt *wdt) in sprd_wdt_enable()168 struct sprd_wdt *wdt = _data; in sprd_wdt_disable()180 struct sprd_wdt *wdt = to_sprd_wdt(wdd); in sprd_wdt_start()200 struct sprd_wdt *wdt = to_sprd_wdt(wdd); in sprd_wdt_stop()[all …]
93 obj-$(CONFIG_SPRD_WATCHDOG) += sprd_wdt.o