Lines Matching refs:timeout
311 unsigned long timeout; in omap_i2c_reset() local
325 timeout = jiffies + OMAP_I2C_TIMEOUT; in omap_i2c_reset()
329 if (time_after(jiffies, timeout)) { in omap_i2c_reset()
503 unsigned long timeout; in omap_i2c_wait_for_bb() local
505 timeout = jiffies + OMAP_I2C_TIMEOUT; in omap_i2c_wait_for_bb()
507 if (time_after(jiffies, timeout)) in omap_i2c_wait_for_bb()
546 unsigned long timeout; in omap_i2c_wait_for_bb_valid() local
553 timeout = jiffies + OMAP_I2C_TIMEOUT; in omap_i2c_wait_for_bb_valid()
588 if (time_after(jiffies, timeout)) { in omap_i2c_wait_for_bb_valid()
663 unsigned long timeout; in omap_i2c_xfer_msg() local
743 timeout = wait_for_completion_timeout(&omap->cmd_complete, in omap_i2c_xfer_msg()
751 timeout = !ret; in omap_i2c_xfer_msg()
754 if (timeout == 0) { in omap_i2c_xfer_msg()
963 unsigned long timeout = 10000; in errata_omap3_i462() local
989 } while (--timeout); in errata_omap3_i462()
991 if (!timeout) { in errata_omap3_i462()