Lines Matching defs:ret
111 int ret;
120 ret = scmi_sys_pwr_state_set(
123 if (ret != SCMI_E_SUCCESS) {
125 ret);
161 ret = scmi_pwr_state_set(scmi_handles[channel_id],
164 if (ret != SCMI_E_SUCCESS) {
166 ret);
179 int ret;
203 ret = scmi_pwr_state_set(scmi_handles[channel_id],
205 if (ret != SCMI_E_QUEUED && ret != SCMI_E_SUCCESS) {
207 ret);
219 int ret;
233 ret = scmi_pwr_state_set(scmi_handles[channel_id],
235 if (ret != SCMI_E_QUEUED && ret != SCMI_E_SUCCESS) {
237 ret);
248 int ret;
264 ret = scmi_pwr_state_get(scmi_handles[channel_id],
267 if (ret != SCMI_E_SUCCESS) {
269 ret);
303 int ret;
315 ret = psci_stop_other_cores(0, css_raise_pwr_down_interrupt);
316 if (ret != PSCI_E_SUCCESS) {
331 ret = scmi_sys_pwr_state_set(scmi_handles[default_scmi_channel_id],
335 if (ret != SCMI_E_SUCCESS) {
337 state, ret);
368 int ret;
370 ret = scmi_proto_version(ch, SCMI_AP_CORE_PROTO_ID, &version);
371 if (ret != SCMI_E_SUCCESS) {
420 int ret;
426 ret = scmi_proto_msg_attr(scmi_handle, SCMI_PWR_DMN_PROTO_ID,
428 if (ret != SCMI_E_SUCCESS) {
437 ret = scmi_proto_msg_attr(scmi_handle, SCMI_PWR_DMN_PROTO_ID,
439 if (ret != SCMI_E_SUCCESS)
443 ret = scmi_proto_msg_attr(scmi_handle, SCMI_SYS_PWR_PROTO_ID,
445 if (ret != SCMI_E_SUCCESS) {
486 int ret, i;
491 ret = scmi_ap_core_set_reset_addr(scmi_handles[i], address,
493 if (ret != SCMI_E_SUCCESS) {
494 ERROR("CSS: Failed to program reset address: %d\n", ret);