Lines Matching refs:ret
46 int ret, in_size;
59 ret = wdt_command(SCU_WATCHDOG_START, (u32 *)&ipc_wd_start, in_size);
60 if (ret) {
62 dev_crit(dev, "error starting watchdog: %d\n", ret);
65 return ret;
70 int ret;
72 ret = wdt_command(SCU_WATCHDOG_KEEPALIVE, NULL, 0);
73 if (ret) {
75 dev_crit(dev, "Error executing keepalive: 0x%x\n", ret);
78 return ret;
83 int ret;
85 ret = wdt_command(SCU_WATCHDOG_STOP, NULL, 0);
86 if (ret) {
88 dev_crit(dev, "Error stopping watchdog: 0x%x\n", ret);
91 return ret;
118 int ret;
126 ret = pdata->probe(pdev);
127 if (ret)
128 return ret;
144 ret = devm_request_irq(&pdev->dev, pdata->irq, mid_wdt_irq,
147 if (ret) {
150 return ret;
153 ret = watchdog_register_device(wdt_dev);
154 if (ret) {
156 return ret;