Home
last modified time | relevance | path

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

/drivers/soc/qcom/
Drpmh.c53 u32 sleep_val; member
137 req->sleep_val = req->wake_val = UINT_MAX; in cache_rpm_request()
141 old_sleep_val = req->sleep_val; in cache_rpm_request()
150 req->sleep_val = cmd->data; in cache_rpm_request()
154 ctrlr->dirty |= (req->sleep_val != old_sleep_val || in cache_rpm_request()
156 req->sleep_val != UINT_MAX && in cache_rpm_request()
408 return (req->sleep_val != UINT_MAX && in is_req_valid()
410 req->sleep_val != req->wake_val); in is_req_valid()
467 __func__, p->addr, p->sleep_val, p->wake_val); in rpmh_flush()
471 p->sleep_val); in rpmh_flush()
/drivers/iio/magnetometer/
Dmag3110.c56 int sleep_val; member
87 if (data->sleep_val <= 20) in mag3110_request()
88 usleep_range(data->sleep_val * 250, data->sleep_val * 500); in mag3110_request()
368 data->sleep_val = mag3110_calculate_sleep(data); in mag3110_write_raw()
369 if (data->sleep_val < 40) in mag3110_write_raw()
525 data->sleep_val = mag3110_calculate_sleep(data); in mag3110_probe()
526 if (data->sleep_val < 40) in mag3110_probe()
/drivers/iio/accel/
Dmma8452.c110 int sleep_val; member
207 if (data->sleep_val <= 20) in mma8452_drdy()
208 usleep_range(data->sleep_val * 250, in mma8452_drdy()
209 data->sleep_val * 500); in mma8452_drdy()
728 data->sleep_val = mma8452_calculate_sleep(data); in mma8452_write_raw()
1657 data->sleep_val = mma8452_calculate_sleep(data); in mma8452_probe()
1770 int ret, sleep_val; in mma8452_runtime_resume() local
1790 sleep_val = 1000 / mma8452_samp_freq[ret][0]; in mma8452_runtime_resume()
1791 if (sleep_val < 20) in mma8452_runtime_resume()
1792 usleep_range(sleep_val * 1000, 20000); in mma8452_runtime_resume()
[all …]
Dmma9551_core.c701 int sleep_val = 1000 / freq; in mma9551_sleep() local
703 if (sleep_val < 20) in mma9551_sleep()
704 usleep_range(sleep_val * 1000, 20000); in mma9551_sleep()
706 msleep_interruptible(sleep_val); in mma9551_sleep()
Dbmc150-accel-core.c1879 int sleep_val; in bmc150_accel_runtime_resume() local
1888 sleep_val = bmc150_accel_get_startup_times(data); in bmc150_accel_runtime_resume()
1889 if (sleep_val < 20) in bmc150_accel_runtime_resume()
1890 usleep_range(sleep_val * 1000, 20000); in bmc150_accel_runtime_resume()
1892 msleep_interruptible(sleep_val); in bmc150_accel_runtime_resume()
Dkxcjk-1013.c1686 int sleep_val; in kxcjk1013_runtime_resume() local
1692 sleep_val = kxcjk1013_get_startup_times(data); in kxcjk1013_runtime_resume()
1693 if (sleep_val < 20000) in kxcjk1013_runtime_resume()
1694 usleep_range(sleep_val, 20000); in kxcjk1013_runtime_resume()
1696 msleep_interruptible(sleep_val/1000); in kxcjk1013_runtime_resume()