Lines Matching refs:ret
52 int ret;
61 ret = stratix10_svc_send(chan, &msg);
62 dev_dbg(dev, "stratix10_svc_send returned status %d\n", ret);
64 return ret;
183 int ret;
194 ret = s10_svc_send_msg(priv, COMMAND_RECONFIG,
196 if (ret < 0)
199 ret = wait_for_completion_timeout(
201 if (!ret) {
203 ret = -ETIMEDOUT;
207 ret = 0;
209 ret = -ETIMEDOUT;
218 ret = PTR_ERR(kbuf);
228 return ret;
245 int ret;
261 ret = s10_svc_send_msg(priv, COMMAND_RECONFIG_DATA_SUBMIT,
263 if (ret < 0) {
265 "Error while sending data to service layer (%d)", ret);
267 return ret;
284 int ret = 0;
304 ret = s10_svc_send_msg(
307 if (ret < 0)
324 ret = 0;
330 ret = -EFAULT;
336 ret = -ETIMEDOUT;
344 return ret;
353 int ret;
360 ret = s10_svc_send_msg(priv, COMMAND_RECONFIG_STATUS, NULL, 0);
361 if (ret < 0)
364 ret = wait_for_completion_timeout(
366 if (!ret) {
369 ret = -ETIMEDOUT;
372 /* Not error or timeout, so ret is # of jiffies until timeout */
373 timeout = ret;
374 ret = 0;
381 ret = -EFAULT;
388 return ret;
408 int ret;
432 ret = -ENOMEM;
436 ret = fpga_mgr_register(mgr);
437 if (ret) {
444 return ret;
448 return ret;
484 int ret;
498 ret = of_platform_populate(fw_np, s10_of_match, NULL, NULL);
500 if (ret)
501 return ret;