wddev 56 drivers/hwmon/sch56xx-common.c struct watchdog_device wddev; wddev 245 drivers/hwmon/sch56xx-common.c static int watchdog_set_timeout(struct watchdog_device *wddev, wddev 248 drivers/hwmon/sch56xx-common.c struct sch56xx_watchdog_data *data = watchdog_get_drvdata(wddev); wddev 284 drivers/hwmon/sch56xx-common.c wddev->timeout = data->watchdog_preset * resolution; wddev 289 drivers/hwmon/sch56xx-common.c static int watchdog_start(struct watchdog_device *wddev) wddev 291 drivers/hwmon/sch56xx-common.c struct sch56xx_watchdog_data *data = watchdog_get_drvdata(wddev); wddev 341 drivers/hwmon/sch56xx-common.c static int watchdog_trigger(struct watchdog_device *wddev) wddev 343 drivers/hwmon/sch56xx-common.c struct sch56xx_watchdog_data *data = watchdog_get_drvdata(wddev); wddev 355 drivers/hwmon/sch56xx-common.c static int watchdog_stop(struct watchdog_device *wddev) wddev 357 drivers/hwmon/sch56xx-common.c struct sch56xx_watchdog_data *data = watchdog_get_drvdata(wddev); wddev 418 drivers/hwmon/sch56xx-common.c data->wddev.info = &data->wdinfo; wddev 419 drivers/hwmon/sch56xx-common.c data->wddev.ops = &watchdog_ops; wddev 420 drivers/hwmon/sch56xx-common.c data->wddev.parent = parent; wddev 421 drivers/hwmon/sch56xx-common.c data->wddev.timeout = 60; wddev 422 drivers/hwmon/sch56xx-common.c data->wddev.min_timeout = 1; wddev 423 drivers/hwmon/sch56xx-common.c data->wddev.max_timeout = 255 * 60; wddev 425 drivers/hwmon/sch56xx-common.c set_bit(WDOG_NO_WAY_OUT, &data->wddev.status); wddev 427 drivers/hwmon/sch56xx-common.c set_bit(WDOG_ACTIVE, &data->wddev.status); wddev 440 drivers/hwmon/sch56xx-common.c watchdog_set_drvdata(&data->wddev, data); wddev 441 drivers/hwmon/sch56xx-common.c err = watchdog_register_device(&data->wddev); wddev 454 drivers/hwmon/sch56xx-common.c watchdog_unregister_device(&data->wddev); wddev 88 drivers/watchdog/iTCO_wdt.c struct watchdog_device wddev; wddev 548 drivers/watchdog/iTCO_wdt.c p->wddev.info = &ident, wddev 549 drivers/watchdog/iTCO_wdt.c p->wddev.ops = &iTCO_wdt_ops, wddev 550 drivers/watchdog/iTCO_wdt.c p->wddev.bootstatus = 0; wddev 551 drivers/watchdog/iTCO_wdt.c p->wddev.timeout = WATCHDOG_TIMEOUT; wddev 552 drivers/watchdog/iTCO_wdt.c watchdog_set_nowayout(&p->wddev, nowayout); wddev 553 drivers/watchdog/iTCO_wdt.c p->wddev.parent = dev; wddev 555 drivers/watchdog/iTCO_wdt.c watchdog_set_drvdata(&p->wddev, p); wddev 559 drivers/watchdog/iTCO_wdt.c iTCO_wdt_stop(&p->wddev); wddev 563 drivers/watchdog/iTCO_wdt.c if (iTCO_wdt_set_timeout(&p->wddev, heartbeat)) { wddev 564 drivers/watchdog/iTCO_wdt.c iTCO_wdt_set_timeout(&p->wddev, WATCHDOG_TIMEOUT); wddev 569 drivers/watchdog/iTCO_wdt.c watchdog_stop_on_reboot(&p->wddev); wddev 570 drivers/watchdog/iTCO_wdt.c watchdog_stop_on_unregister(&p->wddev); wddev 571 drivers/watchdog/iTCO_wdt.c ret = devm_watchdog_register_device(dev, &p->wddev); wddev 605 drivers/watchdog/iTCO_wdt.c if (watchdog_active(&p->wddev) && need_suspend()) { wddev 606 drivers/watchdog/iTCO_wdt.c ret = iTCO_wdt_stop(&p->wddev); wddev 618 drivers/watchdog/iTCO_wdt.c iTCO_wdt_start(&p->wddev);