Searched refs:msg_timeout (Results 1 – 3 of 3) sorted by relevance
755 unsigned long time_left, msg_timeout; in cdns_i2c_process_msg() local781 msg_timeout = msecs_to_jiffies((1000 * msg->len * BITS_PER_BYTE) / id->i2c_clk); in cdns_i2c_process_msg()783 msg_timeout += msecs_to_jiffies(500); in cdns_i2c_process_msg()785 if (msg_timeout < adap->timeout) in cdns_i2c_process_msg()786 msg_timeout = adap->timeout; in cdns_i2c_process_msg()789 time_left = wait_for_completion_timeout(&id->xfer_done, msg_timeout); in cdns_i2c_process_msg()
26 What: /sys/class/vduse/<device-name>/msg_timeout
93 u32 msg_timeout; member230 if (dev->msg_timeout) in vduse_dev_msg_sync()232 (long)dev->msg_timeout * HZ); in vduse_dev_msg_sync()1709 return sysfs_emit(buf, "%u\n", dev->msg_timeout); in msg_timeout_show()1719 ret = kstrtouint(buf, 10, &dev->msg_timeout); in msg_timeout_store()1726 static DEVICE_ATTR_RW(msg_timeout);1807 dev->msg_timeout = VDUSE_MSG_DEFAULT_TIMEOUT; in vduse_create_dev()