Searched refs:diag288 (Results 1 – 4 of 4) sorted by relevance
/openbmc/qemu/hw/watchdog/ |
H A D | wdt_diag288.c | 35 DIAG288State *diag288 = DIAG288(dev); in wdt_diag288_reset() local 37 diag288->enabled = false; in wdt_diag288_reset() 38 timer_del(diag288->timer); in wdt_diag288_reset() 43 DeviceState *diag288 = opaque; in diag288_reset() local 45 wdt_diag288_reset(diag288); in diag288_reset() 66 static int wdt_diag288_handle_timer(DIAG288State *diag288, in wdt_diag288_handle_timer() argument 71 diag288->enabled = true; in wdt_diag288_handle_timer() 74 if (!diag288->enabled) { in wdt_diag288_handle_timer() 77 timer_mod(diag288->timer, in wdt_diag288_handle_timer() 82 if (!diag288->enabled) { in wdt_diag288_handle_timer() [all …]
|
/openbmc/linux/drivers/watchdog/ |
H A D | diag288_wdt.c | 74 static int diag288(unsigned int func, unsigned int timeout, in diag288() function 105 return diag288(func, timeout, virt_to_phys(cmd_buf), len); in diag288_str() 119 ret = diag288(WDT_FUNC_INIT, dev->timeout, LPARWDT_RESTART, 0); in wdt_start() 131 return diag288(WDT_FUNC_CANCEL, 0, 0, 0); in wdt_stop() 151 ret = diag288(WDT_FUNC_CHANGE, dev->timeout, 0, 0); in wdt_ping() 209 if (diag288(WDT_FUNC_INIT, WDT_DEFAULT_TIMEOUT, in diag288_init() 216 if (diag288(WDT_FUNC_CANCEL, 0, 0, 0)) { in diag288_init()
|
H A D | Kconfig | 2050 tristate "System z diag288 Watchdog"
|
/openbmc/qemu/target/s390x/ |
H A D | diag.c | 34 DIAG288State *diag288; in handle_diag_288() local 51 diag288 = DIAG288(obj); in handle_diag_288() 52 diag288_class = DIAG288_GET_CLASS(diag288); in handle_diag_288() 53 return diag288_class->handle_timer(diag288, func, timeout); in handle_diag_288()
|