Lines Matching refs:ret
242 int ret;
251 ret = wait_for((gmbus2 = I915_READ(GMBUS2 + reg_offset))
256 if (ret)
270 int ret;
281 ret = wait_for(C, 10);
285 if (!ret)
307 int ret;
310 ret = gmbus_wait_hw_status(dev_priv, GMBUS_HW_RDY,
312 if (ret)
313 return ret;
346 int ret;
355 ret = gmbus_wait_hw_status(dev_priv, GMBUS_HW_RDY,
357 if (ret)
358 return ret;
381 int ret;
394 ret = gmbus_xfer_read(dev_priv, &msgs[1], gmbus1_index);
400 return ret;
413 int ret = 0;
418 ret = i2c_bit_algo.master_xfer(adapter, msgs, num);
428 ret = gmbus_xfer_index_read(dev_priv, &msgs[i]);
431 ret = gmbus_xfer_read(dev_priv, &msgs[i], 0);
433 ret = gmbus_xfer_write(dev_priv, &msgs[i]);
436 if (ret == -ETIMEDOUT)
438 if (ret == -ENXIO)
441 ret = gmbus_wait_hw_status(dev_priv, GMBUS_HW_WAIT_PHASE,
443 if (ret == -ENXIO)
445 if (ret)
462 ret = -ETIMEDOUT;
465 ret = ret ?: i;
482 ret = -ENXIO;
486 ret = -ETIMEDOUT;
510 ret = i2c_bit_algo.master_xfer(adapter, msgs, num);
514 return ret;