Home
last modified time | relevance | path

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

/drivers/iio/accel/
Dmma9551_core.c705 int sleep_val = 1000 / freq; in mma9551_sleep() local
707 if (sleep_val < 20) in mma9551_sleep()
708 usleep_range(sleep_val * 1000, 20000); in mma9551_sleep()
710 msleep_interruptible(sleep_val); in mma9551_sleep()
Dkxcjk-1013.c1373 int sleep_val; in kxcjk1013_runtime_resume() local
1379 sleep_val = kxcjk1013_get_startup_times(data); in kxcjk1013_runtime_resume()
1380 if (sleep_val < 20000) in kxcjk1013_runtime_resume()
1381 usleep_range(sleep_val, 20000); in kxcjk1013_runtime_resume()
1383 msleep_interruptible(sleep_val/1000); in kxcjk1013_runtime_resume()
Dbmc150-accel-core.c1738 int sleep_val; in bmc150_accel_runtime_resume() local
1749 sleep_val = bmc150_accel_get_startup_times(data); in bmc150_accel_runtime_resume()
1750 if (sleep_val < 20) in bmc150_accel_runtime_resume()
1751 usleep_range(sleep_val * 1000, 20000); in bmc150_accel_runtime_resume()
1753 msleep_interruptible(sleep_val); in bmc150_accel_runtime_resume()