Lines Matching defs:res
325 int res = 0;
330 res = -1;
334 if (!res && !atomic_read(&itv->capturing) &&
341 res = -2;
347 if (res != -2 && read_dec(0x100) != read_dec(0x104)) {
353 res = -1;
360 res = -1;
365 if (res && !atomic_read(&itv->capturing) &&
369 res = ivtv_firmware_restart(itv);
375 if (!res) {
377 res = -EAGAIN;
381 } else if (res) {
382 res = -EIO;
385 return res;