Home
last modified time | relevance | path

Searched refs:msg_timeout (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/i2c/busses/
H A Di2c-cadence.c756 unsigned long time_left, msg_timeout; in cdns_i2c_process_msg() local
782 msg_timeout = msecs_to_jiffies((1000 * msg->len * BITS_PER_BYTE) / id->i2c_clk); in cdns_i2c_process_msg()
784 msg_timeout += msecs_to_jiffies(500); in cdns_i2c_process_msg()
786 if (msg_timeout < adap->timeout) in cdns_i2c_process_msg()
787 msg_timeout = adap->timeout; in cdns_i2c_process_msg()
790 time_left = wait_for_completion_timeout(&id->xfer_done, msg_timeout); in cdns_i2c_process_msg()
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-class-vduse26 What: /sys/class/vduse/<device-name>/msg_timeout
/openbmc/linux/drivers/vdpa/vdpa_user/
H A Dvduse_dev.c95 u32 msg_timeout; member
232 if (dev->msg_timeout) in vduse_dev_msg_sync()
234 (long)dev->msg_timeout * HZ); in vduse_dev_msg_sync()
1715 return sysfs_emit(buf, "%u\n", dev->msg_timeout); in msg_timeout_show()
1725 ret = kstrtouint(buf, 10, &dev->msg_timeout); in msg_timeout_store()
1732 static DEVICE_ATTR_RW(msg_timeout);
1813 dev->msg_timeout = VDUSE_MSG_DEFAULT_TIMEOUT; in vduse_create_dev()