Home
last modified time | relevance | path

Searched refs:bootstatus (Results 1 – 25 of 43) sorted by relevance

12

/openbmc/openbmc/meta-ampere/meta-jade/recipes-ampere/platform/ampere-platform-init/
H A Dampere_platform_init.sh12 bootstatus=$(cat /sys/class/watchdog/watchdog0/bootstatus)
13 if [ "$bootstatus" == '32' ]; then
/openbmc/openbmc/meta-ampere/meta-mitchell/recipes-ampere/platform/ampere-platform-init/
H A Dampere_platform_init.sh54 bootstatus=$(cat /sys/class/watchdog/watchdog0/bootstatus)
55 if [ "$bootstatus" == '32' ]; then
/openbmc/linux/drivers/watchdog/
H A Dsimatic-ipc-wdt.c125 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 Dmenf21bmc_wdt.c47 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 Dmena21_wdt.c181 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 Dpika_wdt.c54 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 Dpm8916_wdt.c197 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 Drn5t618_wdt.c171 wdt->wdt_dev.bootstatus = WDIOF_POWERUNDER; in rn5t618_wdt_probe()
173 wdt->wdt_dev.bootstatus = WDIOF_CARDRESET; in rn5t618_wdt_probe()
H A Dep93xx_wdt.c106 wdd->bootstatus = (val & 0x01) ? WDIOF_CARDRESET : 0; in ep93xx_wdt_probe()
H A Dwatchdog_dev.c339 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 Dixp4xx_wdt.c176 iwdt->wdd.bootstatus = WDIOF_CARDRESET; in ixp4xx_wdt_probe()
H A Ddiag288_wdt.c183 .bootstatus = 0,
H A Dpnx4008_wdt.c197 pnx4008_wdd.bootstatus = (readl(WDTIM_RES(wdt_base)) & WDOG_RESET) ? in pnx4008_wdt_probe()
H A Dpic32-dmt.c195 wdd->bootstatus = pic32_dmt_bootstatus(dmt) ? WDIOF_CARDRESET : 0; in pic32_dmt_probe()
H A Dvia_wdt.c212 wdt_dev.bootstatus |= WDIOF_CARDRESET; in wdt_probe()
H A Dpic32-wdt.c202 wdd->bootstatus = pic32_wdt_bootstatus(wdt) ? WDIOF_CARDRESET : 0; in pic32_wdt_drv_probe()
H A Drt2880_wdt.c171 wdt->bootstatus = rt288x_wdt_bootcause(); in rt288x_wdt_probe()
H A Dmt7621_wdt.c173 mt7621_wdt->bootstatus = mt7621_wdt_bootcause(drvdata); in mt7621_wdt_probe()
H A Dmpc8xxx_wdt.c167 ddata->wdd.bootstatus = status ? WDIOF_CARDRESET : 0; in mpc8xxx_wdt_probe()
H A Dimgpdc_wdt.c243 pdc_wdt->wdt_dev.bootstatus |= WDIOF_CARDRESET; in pdc_wdt_probe()
H A Dlantiq_wdt.c239 wdt->bootstatus = ret; in ltq_wdt_probe()
H A Di6300esb.c279 edev->wdd.bootstatus = WDIOF_CARDRESET; in esb_initdevice()
H A Dsbsa_gwdt.c305 wdd->bootstatus |= WDIOF_CARDRESET; in sbsa_gwdt_probe()
/openbmc/linux/include/linux/
H A Dwatchdog.h101 unsigned int bootstatus; member
/openbmc/linux/Documentation/watchdog/
H A Dconvert_drivers_to_kernel_api.rst45 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

12