Lines Matching refs:sleep_val
110 int sleep_val; member
206 if (data->sleep_val <= 20) in mma8452_drdy()
207 usleep_range(data->sleep_val * 250, in mma8452_drdy()
208 data->sleep_val * 500); in mma8452_drdy()
727 data->sleep_val = mma8452_calculate_sleep(data); in mma8452_write_raw()
1644 data->sleep_val = mma8452_calculate_sleep(data); in mma8452_probe()
1757 int ret, sleep_val; in mma8452_runtime_resume() local
1777 sleep_val = 1000 / mma8452_samp_freq[ret][0]; in mma8452_runtime_resume()
1778 if (sleep_val < 20) in mma8452_runtime_resume()
1779 usleep_range(sleep_val * 1000, 20000); in mma8452_runtime_resume()
1781 msleep_interruptible(sleep_val); in mma8452_runtime_resume()