Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/i2c/busses/
Di2c-cadence.c755 unsigned long time_left, msg_timeout; in cdns_i2c_process_msg() local
781 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()
/Linux-v6.6/Documentation/ABI/testing/
Dsysfs-class-vduse26 What: /sys/class/vduse/<device-name>/msg_timeout
/Linux-v6.6/drivers/vdpa/vdpa_user/
Dvduse_dev.c93 u32 msg_timeout; member
230 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()