Lines Matching refs:wdt_chip
116 struct wdt_chip wdt_chip; member
276 static struct stm32_iwdg_device *wdt_chip_to_iwdg(struct wdt_chip *chip) in wdt_chip_to_iwdg()
278 return container_of(chip, struct stm32_iwdg_device, wdt_chip); in wdt_chip_to_iwdg()
281 static TEE_Result iwdg_wdt_init(struct wdt_chip *chip, in iwdg_wdt_init()
298 static void iwdg_wdt_start(struct wdt_chip *chip) in iwdg_wdt_start()
314 static void iwdg_wdt_stop(struct wdt_chip *chip) in iwdg_wdt_stop()
330 static void iwdg_wdt_refresh(struct wdt_chip *chip) in iwdg_wdt_refresh()
372 static TEE_Result iwdg_wdt_set_timeout(struct wdt_chip *chip, in iwdg_wdt_set_timeout()
390 static TEE_Result iwdg_wdt_get_timeleft(struct wdt_chip *chip, bool *is_started, in iwdg_wdt_get_timeleft()
567 res = iwdg_wdt_set_timeout(&iwdg->wdt_chip, iwdg->timeout); in stm32_iwdg_probe()
572 iwdg_wdt_refresh(&iwdg->wdt_chip); in stm32_iwdg_probe()
574 iwdg->wdt_chip.ops = &stm32_iwdg_ops; in stm32_iwdg_probe()
578 res = watchdog_register(&iwdg->wdt_chip); in stm32_iwdg_probe()