/openbmc/openbmc/meta-ampere/meta-jade/recipes-ampere/platform/ampere-platform-init/ |
H A D | ampere_platform_init.sh | 12 bootstatus=$(cat /sys/class/watchdog/watchdog0/bootstatus) 13 if [ "$bootstatus" == '32' ]; then
|
/openbmc/linux/drivers/watchdog/ |
H A D | simatic-ipc-wdt.c | 125 unsigned int bootstatus = 0; in wd_setup() local 132 bootstatus |= WDIOF_CARDRESET; in wd_setup() 139 return bootstatus; in wd_setup() 208 wdd_data.bootstatus = wd_setup(plat->devmode); in simatic_ipc_wdt_probe() 209 if (wdd_data.bootstatus) in simatic_ipc_wdt_probe()
|
H A D | menf21bmc_wdt.c | 47 data->wdt.bootstatus |= WDIOF_CARDRESET; in menf21bmc_wdt_set_bootstatus() 49 data->wdt.bootstatus |= WDIOF_EXTERN1; in menf21bmc_wdt_set_bootstatus() 51 data->wdt.bootstatus |= WDIOF_EXTERN2; in menf21bmc_wdt_set_bootstatus() 53 data->wdt.bootstatus |= WDIOF_POWERUNDER; in menf21bmc_wdt_set_bootstatus()
|
H A D | mena21_wdt.c | 181 a21_wdt.bootstatus |= WDIOF_EXTERN1; in a21_wdt_probe() 183 a21_wdt.bootstatus |= WDIOF_CARDRESET; in a21_wdt_probe() 185 a21_wdt.bootstatus |= WDIOF_POWERUNDER; in a21_wdt_probe() 187 a21_wdt.bootstatus |= WDIOF_EXTERN2; in a21_wdt_probe()
|
H A D | pika_wdt.c | 54 int bootstatus; member 188 return put_user(pikawdt_private.bootstatus, p); in pikawdt_ioctl() 270 pikawdt_private.bootstatus = WDIOF_CARDRESET; in pikawdt_init()
|
H A D | pm8916_wdt.c | 197 wdt->wdev.bootstatus |= WDIOF_CARDRESET; in pm8916_wdt_probe() 199 wdt->wdev.bootstatus |= WDIOF_POWERUNDER; in pm8916_wdt_probe() 201 wdt->wdev.bootstatus |= WDIOF_OVERHEAT; in pm8916_wdt_probe()
|
H A D | rn5t618_wdt.c | 171 wdt->wdt_dev.bootstatus = WDIOF_POWERUNDER; in rn5t618_wdt_probe() 173 wdt->wdt_dev.bootstatus = WDIOF_CARDRESET; in rn5t618_wdt_probe()
|
H A D | ep93xx_wdt.c | 106 wdd->bootstatus = (val & 0x01) ? WDIOF_CARDRESET : 0; in ep93xx_wdt_probe()
|
H A D | watchdog_dev.c | 339 status = wdd->bootstatus & (WDIOF_CARDRESET | in watchdog_get_status() 493 return sysfs_emit(buf, "%u\n", wdd->bootstatus); in bootstatus_show() 495 static DEVICE_ATTR_RO(bootstatus); 782 err = put_user(wdd->bootstatus, p); in watchdog_ioctl()
|
H A D | ixp4xx_wdt.c | 176 iwdt->wdd.bootstatus = WDIOF_CARDRESET; in ixp4xx_wdt_probe()
|
H A D | diag288_wdt.c | 183 .bootstatus = 0,
|
H A D | pnx4008_wdt.c | 197 pnx4008_wdd.bootstatus = (readl(WDTIM_RES(wdt_base)) & WDOG_RESET) ? in pnx4008_wdt_probe()
|
H A D | pic32-dmt.c | 195 wdd->bootstatus = pic32_dmt_bootstatus(dmt) ? WDIOF_CARDRESET : 0; in pic32_dmt_probe()
|
H A D | pic32-wdt.c | 202 wdd->bootstatus = pic32_wdt_bootstatus(wdt) ? WDIOF_CARDRESET : 0; in pic32_wdt_drv_probe()
|
H A D | rt2880_wdt.c | 171 wdt->bootstatus = rt288x_wdt_bootcause(); in rt288x_wdt_probe()
|
H A D | via_wdt.c | 212 wdt_dev.bootstatus |= WDIOF_CARDRESET; in wdt_probe()
|
H A D | mt7621_wdt.c | 173 mt7621_wdt->bootstatus = mt7621_wdt_bootcause(drvdata); in mt7621_wdt_probe()
|
H A D | mpc8xxx_wdt.c | 167 ddata->wdd.bootstatus = status ? WDIOF_CARDRESET : 0; in mpc8xxx_wdt_probe()
|
H A D | imgpdc_wdt.c | 243 pdc_wdt->wdt_dev.bootstatus |= WDIOF_CARDRESET; in pdc_wdt_probe()
|
H A D | lantiq_wdt.c | 239 wdt->bootstatus = ret; in ltq_wdt_probe()
|
/openbmc/openbmc/meta-ampere/meta-mitchell/recipes-ampere/platform/ampere-platform-init/ |
H A D | ampere_platform_init.sh | 78 bootstatus=$(cat /sys/class/watchdog/watchdog0/bootstatus) 79 if [ "$bootstatus" == '32' ]; then
|
/openbmc/openbmc/meta-ampere/meta-jefferson/recipes-ampere/platform/ampere-platform-init/ |
H A D | ampere_platform_init.sh | 50 bootstatus=$(cat /sys/class/watchdog/watchdog0/bootstatus) 51 if [ "$bootstatus" == '32' ]; then
|
/openbmc/docs/designs/ |
H A D | bmc-reboot-cause-update.md | 44 …r set the corresponding flag based on the reboot cause to /sys/class/watchdog/watchdog0/bootstatus] 75 - When a BMC reset occured, but the flag in the bootstatus remains unchanged by 81 | phosphor-state-manager | bootstatus value | watchdog driver |
|
/openbmc/linux/include/linux/ |
H A D | watchdog.h | 101 unsigned int bootstatus; member
|
/openbmc/linux/Documentation/watchdog/ |
H A D | convert_drivers_to_kernel_api.rst | 45 Needs the bootstatus member properly set. Make sure it is 0 if you 159 have their own record-keeping for things like bootstatus and timeout using
|