Searched refs:sleep_val (Results 1 – 3 of 3) sorted by relevance
705 int sleep_val = 1000 / freq; in mma9551_sleep() local707 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()
1373 int sleep_val; in kxcjk1013_runtime_resume() local1379 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()
1738 int sleep_val; in bmc150_accel_runtime_resume() local1749 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()