Searched refs:mtk_wdt (Results 1 – 3 of 3) sorted by relevance
158 struct mtk_wdt_dev *mtk_wdt = platform_get_drvdata(pdev); in toprgu_register_reset_controller() local160 spin_lock_init(&mtk_wdt->lock); in toprgu_register_reset_controller()162 mtk_wdt->rcdev.owner = THIS_MODULE; in toprgu_register_reset_controller()163 mtk_wdt->rcdev.nr_resets = rst_num; in toprgu_register_reset_controller()164 mtk_wdt->rcdev.ops = &toprgu_reset_ops; in toprgu_register_reset_controller()165 mtk_wdt->rcdev.of_node = pdev->dev.of_node; in toprgu_register_reset_controller()166 ret = devm_reset_controller_register(&pdev->dev, &mtk_wdt->rcdev); in toprgu_register_reset_controller()176 struct mtk_wdt_dev *mtk_wdt = watchdog_get_drvdata(wdt_dev); in mtk_wdt_restart() local179 wdt_base = mtk_wdt->wdt_base; in mtk_wdt_restart()191 struct mtk_wdt_dev *mtk_wdt = watchdog_get_drvdata(wdt_dev); in mtk_wdt_ping() local[all …]
81 obj-$(CONFIG_MEDIATEK_WATCHDOG) += mtk_wdt.o
833 module will be called mtk_wdt.