Lines Matching refs:ret
30 int ret; in ti_soc_init() local
34 ret = ti_sci_boot_notification(); in ti_soc_init()
35 if (ret != 0) { in ti_soc_init()
36 ERROR("%s: Failed to receive boot notification (%d)\n", __func__, ret); in ti_soc_init()
37 return ret; in ti_soc_init()
40 ret = ti_sci_get_revision(&version); in ti_soc_init()
41 if (ret != 0) { in ti_soc_init()
42 ERROR("%s: Failed to get revision (%d)\n", __func__, ret); in ti_soc_init()
43 return ret; in ti_soc_init()
51 ret = ti_sci_proc_request(PLAT_PROC_START_ID); in ti_soc_init()
52 if (ret != 0) { in ti_soc_init()
53 ERROR("Unable to request host (%d)\n", ret); in ti_soc_init()
54 return ret; in ti_soc_init()
58 ret = ti_sci_proc_set_boot_ctrl(PLAT_PROC_START_ID, 0, in ti_soc_init()
60 if (ret != 0) { in ti_soc_init()
61 ERROR("Unable to set boot control (%d)\n", ret); in ti_soc_init()
62 return ret; in ti_soc_init()