Home
last modified time | relevance | path

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

/drivers/soc/qcom/
Drpmh.c52 u32 sleep_val; member
135 req->sleep_val = req->wake_val = UINT_MAX; in cache_rpm_request()
142 if (req->sleep_val != UINT_MAX) in cache_rpm_request()
149 req->sleep_val = cmd->data; in cache_rpm_request()
425 return (req->sleep_val != UINT_MAX && in is_req_valid()
427 req->sleep_val != req->wake_val); in is_req_valid()
480 __func__, p->addr, p->sleep_val, p->wake_val); in rpmh_flush()
483 ret = send_single(dev, RPMH_SLEEP_STATE, p->addr, p->sleep_val); in rpmh_flush()
/drivers/iio/magnetometer/
Dmag3110.c56 int sleep_val; member
81 if (data->sleep_val <= 20) in mag3110_request()
82 usleep_range(data->sleep_val * 250, data->sleep_val * 500); in mag3110_request()
362 data->sleep_val = mag3110_calculate_sleep(data); in mag3110_write_raw()
363 if (data->sleep_val < 40) in mag3110_write_raw()
529 data->sleep_val = mag3110_calculate_sleep(data); in mag3110_probe()
530 if (data->sleep_val < 40) in mag3110_probe()
/drivers/iio/accel/
Dmma8452.c110 int sleep_val; member
200 if (data->sleep_val <= 20) in mma8452_drdy()
201 usleep_range(data->sleep_val * 250, in mma8452_drdy()
202 data->sleep_val * 500); in mma8452_drdy()
723 data->sleep_val = mma8452_calculate_sleep(data); in mma8452_write_raw()
1651 data->sleep_val = mma8452_calculate_sleep(data); in mma8452_probe()
1762 int ret, sleep_val; in mma8452_runtime_resume() local
1782 sleep_val = 1000 / mma8452_samp_freq[ret][0]; in mma8452_runtime_resume()
1783 if (sleep_val < 20) in mma8452_runtime_resume()
1784 usleep_range(sleep_val * 1000, 20000); in mma8452_runtime_resume()
[all …]
Dmma9551_core.c697 int sleep_val = 1000 / freq; in mma9551_sleep() local
699 if (sleep_val < 20) in mma9551_sleep()
700 usleep_range(sleep_val * 1000, 20000); in mma9551_sleep()
702 msleep_interruptible(sleep_val); in mma9551_sleep()
Dkxcjk-1013.c1460 int sleep_val; in kxcjk1013_runtime_resume() local
1466 sleep_val = kxcjk1013_get_startup_times(data); in kxcjk1013_runtime_resume()
1467 if (sleep_val < 20000) in kxcjk1013_runtime_resume()
1468 usleep_range(sleep_val, 20000); in kxcjk1013_runtime_resume()
1470 msleep_interruptible(sleep_val/1000); in kxcjk1013_runtime_resume()
Dbmc150-accel-core.c1726 int sleep_val; in bmc150_accel_runtime_resume() local
1735 sleep_val = bmc150_accel_get_startup_times(data); in bmc150_accel_runtime_resume()
1736 if (sleep_val < 20) in bmc150_accel_runtime_resume()
1737 usleep_range(sleep_val * 1000, 20000); in bmc150_accel_runtime_resume()
1739 msleep_interruptible(sleep_val); in bmc150_accel_runtime_resume()