Lines Matching refs:rets
103 int ret, rets[3]; in pseries_eeh_get_pe_config_addr() local
110 ret = rtas_call(ibm_get_config_addr_info2, 4, 2, rets, in pseries_eeh_get_pe_config_addr()
113 if (ret || (rets[0] == 0)) in pseries_eeh_get_pe_config_addr()
117 ret = rtas_call(ibm_get_config_addr_info2, 4, 2, rets, in pseries_eeh_get_pe_config_addr()
126 return rets[0]; in pseries_eeh_get_pe_config_addr()
130 ret = rtas_call(ibm_get_config_addr_info, 4, 2, rets, in pseries_eeh_get_pe_config_addr()
139 return rets[0]; in pseries_eeh_get_pe_config_addr()
555 int rets[4]; in pseries_eeh_get_state() local
559 ret = rtas_call(ibm_read_slot_reset_state2, 3, 4, rets, in pseries_eeh_get_state()
564 rets[2] = 0; in pseries_eeh_get_state()
565 ret = rtas_call(ibm_read_slot_reset_state, 3, 3, rets, in pseries_eeh_get_state()
576 if (!rets[1]) in pseries_eeh_get_state()
579 switch(rets[0]) { in pseries_eeh_get_state()
596 if (rets[2]) { in pseries_eeh_get_state()
598 *delay = rets[2]; in pseries_eeh_get_state()