Lines Matching refs:rets
105 int ret, rets[3]; in pseries_eeh_get_pe_config_addr() local
112 ret = rtas_call(ibm_get_config_addr_info2, 4, 2, rets, in pseries_eeh_get_pe_config_addr()
115 if (ret || (rets[0] == 0)) in pseries_eeh_get_pe_config_addr()
119 ret = rtas_call(ibm_get_config_addr_info2, 4, 2, rets, in pseries_eeh_get_pe_config_addr()
128 return rets[0]; in pseries_eeh_get_pe_config_addr()
132 ret = rtas_call(ibm_get_config_addr_info, 4, 2, rets, in pseries_eeh_get_pe_config_addr()
141 return rets[0]; in pseries_eeh_get_pe_config_addr()
557 int rets[4]; in pseries_eeh_get_state() local
561 ret = rtas_call(ibm_read_slot_reset_state2, 3, 4, rets, in pseries_eeh_get_state()
566 rets[2] = 0; in pseries_eeh_get_state()
567 ret = rtas_call(ibm_read_slot_reset_state, 3, 3, rets, in pseries_eeh_get_state()
578 if (!rets[1]) in pseries_eeh_get_state()
581 switch(rets[0]) { in pseries_eeh_get_state()
598 if (rets[2]) { in pseries_eeh_get_state()
600 *delay = rets[2]; in pseries_eeh_get_state()