Searched refs:xfer_time (Results 1 – 2 of 2) sorted by relevance
1155 static int rk3x_i2c_wait_xfer_poll(struct rk3x_i2c *i2c, unsigned long xfer_time) in rk3x_i2c_wait_xfer_poll() argument1157 ktime_t timeout = ktime_add_ms(ktime_get(), xfer_time); in rk3x_i2c_wait_xfer_poll()1192 unsigned long xfer_time = 100; in rk3x_i2c_xfer_common() local1209 xfer_time += len / 64; in rk3x_i2c_xfer_common()1210 xfer_time += DIV_ROUND_CLOSEST(((len * 9) + 2) * MSEC_PER_SEC, in rk3x_i2c_xfer_common()1222 msecs_to_jiffies(xfer_time)); in rk3x_i2c_xfer_common()1224 timeout = rk3x_i2c_wait_xfer_poll(i2c, xfer_time); in rk3x_i2c_xfer_common()
1223 unsigned long time_left, xfer_time = 100; in tegra_i2c_xfer_msg() local1254 xfer_time += DIV_ROUND_CLOSEST(((xfer_size * 9) + 2) * MSEC_PER_SEC, in tegra_i2c_xfer_msg()1312 xfer_time); in tegra_i2c_xfer_msg()1343 xfer_time); in tegra_i2c_xfer_msg()