Home
last modified time | relevance | path

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

/openbmc/linux/drivers/watchdog/
H A Df71808e_wdt.c391 u8 wdt_conf = superio_inb(wd->sioaddr, in fintek_wdt_start() local
395 wdt_conf = (wdt_conf & 0xfc) | (wd->pulse_val & 0x03); in fintek_wdt_start()
397 wdt_conf |= BIT(F71808FG_FLAG_WD_PULSE); in fintek_wdt_start()
400 wdt_conf); in fintek_wdt_start()
431 static bool fintek_wdt_is_running(struct fintek_wdt *wd, u8 wdt_conf) in fintek_wdt_is_running() argument
434 && (wdt_conf & BIT(F71808FG_FLAG_WD_EN)); in fintek_wdt_is_running()
451 int wdt_conf, err = 0; in fintek_wdt_probe() local
483 wdt_conf = superio_inb(sioaddr, F71808FG_REG_WDT_CONF); in fintek_wdt_probe()
490 wdt_conf | BIT(F71808FG_FLAG_WDTMOUT_STS)); in fintek_wdt_probe()
494 if (fintek_wdt_is_running(wd, wdt_conf)) in fintek_wdt_probe()
[all …]