Lines Matching refs:ret
158 int seq, ret; in stdio_probe_device() local
164 ret = uclass_get_device_by_seq(id, seq, &dev); in stdio_probe_device()
165 if (ret == -ENODEV) in stdio_probe_device()
166 ret = uclass_first_device_err(id, &dev); in stdio_probe_device()
167 if (ret) { in stdio_probe_device()
170 return ret; in stdio_probe_device()
332 int ret; in stdio_add_devices() local
344 ret = uclass_get(UCLASS_KEYBOARD, &uc); in stdio_add_devices()
345 if (ret) in stdio_add_devices()
346 return ret; in stdio_add_devices()
350 ret = device_probe(dev); in stdio_add_devices()
351 if (ret) in stdio_add_devices()