Lines Matching refs:ret
107 int ret; in ir_test() local
111 ret = uclass_get_device(UCLASS_RC, 0, &dev); in ir_test()
112 if (ret) { in ir_test()
113 ut_err("ir: failed to get device, ret=%d\n", ret); in ir_test()
160 int ret, evt; in do_test_key() local
162 ret = uclass_get(UCLASS_KEY, &uc); in do_test_key()
163 if (ret) in do_test_key()
164 return ret; in do_test_key()
199 int ret; in do_test_adc() local
202 ret = adc_channel_single_shot("saradc", chn, &val); in do_test_adc()
203 if (ret) in do_test_adc()
204 ret = adc_channel_single_shot("adc", chn, &val); in do_test_adc()
205 if (ret) in do_test_adc()
206 ut_err("adc: failed to get channel%d value, ret=%d\n", chn, ret); in do_test_adc()
210 return ret; in do_test_adc()