Home
last modified time | relevance | path

Searched refs:wdt_chip (Results 1 – 7 of 7) sorted by relevance

/optee_os/core/include/drivers/
H A Dwdt.h15 struct wdt_chip { struct
36 TEE_Result (*init)(struct wdt_chip *chip, unsigned long *min_timeout, argument
38 void (*start)(struct wdt_chip *chip);
39 void (*stop)(struct wdt_chip *chip);
40 void (*ping)(struct wdt_chip *chip);
41 TEE_Result (*set_timeout)(struct wdt_chip *chip, unsigned long timeout);
42 TEE_Result (*get_timeleft)(struct wdt_chip *chip, bool *is_started,
47 extern struct wdt_chip *wdt_chip;
50 TEE_Result watchdog_register(struct wdt_chip *chip);
55 if (!wdt_chip) in watchdog_init()
[all …]
H A Dsp805_wdt.h32 typedef void (*sp805_itr_handler_func_t)(struct wdt_chip *chip);
36 struct wdt_chip chip;
/optee_os/core/drivers/wdt/
H A Dwatchdog.c8 struct wdt_chip *wdt_chip; variable
10 TEE_Result watchdog_register(struct wdt_chip *chip) in watchdog_register()
15 wdt_chip = chip; in watchdog_register()
/optee_os/core/drivers/
H A Dsp805_wdt.c15 static vaddr_t chip_to_base(struct wdt_chip *chip) in chip_to_base()
23 static TEE_Result sp805_setload(struct wdt_chip *chip, unsigned long timeout) in sp805_setload()
46 static void sp805_config(struct wdt_chip *chip, bool enable) in sp805_config()
66 static void sp805_ping(struct wdt_chip *chip) in sp805_ping()
71 static void sp805_enable(struct wdt_chip *chip) in sp805_enable()
76 static void sp805_disable(struct wdt_chip *chip) in sp805_disable()
90 struct wdt_chip *chip = h->data; in wdt_itr_cb()
H A Dstm32_iwdg.c116 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()
[all …]
H A Datmel_wdt.c107 struct wdt_chip chip;
123 static TEE_Result atmel_wdt_settimeout(struct wdt_chip *chip, in atmel_wdt_settimeout()
143 static void atmel_wdt_ping(struct wdt_chip *chip) in atmel_wdt_ping()
156 static void atmel_wdt_enable(struct wdt_chip *chip) in atmel_wdt_enable()
170 static void atmel_wdt_disable(struct wdt_chip *chip) in atmel_wdt_disable()
210 static TEE_Result atmel_wdt_init(struct wdt_chip *chip __unused, in atmel_wdt_init()
/optee_os/core/pta/bcm/
H A Dwdt.c28 static void wd_isr_handler(struct wdt_chip *chip __unused) in wd_isr_handler()