Home
last modified time | relevance | path

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

/linux-6.1.9/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()
/linux-6.1.9/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()
370 data->sleep_val = mag3110_calculate_sleep(data); in mag3110_write_raw()
371 if (data->sleep_val < 40) in mag3110_write_raw()
527 data->sleep_val = mag3110_calculate_sleep(data); in mag3110_probe()
528 if (data->sleep_val < 40) in mag3110_probe()
/linux-6.1.9/drivers/iio/accel/
Dmma8452.c111 int sleep_val; member
209 if (data->sleep_val <= 20) in mma8452_drdy()
210 usleep_range(data->sleep_val * 250, in mma8452_drdy()
211 data->sleep_val * 500); in mma8452_drdy()
730 data->sleep_val = mma8452_calculate_sleep(data); in mma8452_write_raw()
1679 data->sleep_val = mma8452_calculate_sleep(data); in mma8452_probe()
1790 int ret, sleep_val; in mma8452_runtime_resume() local
1810 sleep_val = 1000 / mma8452_samp_freq[ret][0]; in mma8452_runtime_resume()
1811 if (sleep_val < 20) in mma8452_runtime_resume()
1812 usleep_range(sleep_val * 1000, 20000); in mma8452_runtime_resume()
[all …]
Dmma9551_core.c695 int sleep_val = 1000 / freq; in mma9551_sleep() local
697 if (sleep_val < 20) in mma9551_sleep()
698 usleep_range(sleep_val * 1000, 20000); in mma9551_sleep()
700 msleep_interruptible(sleep_val); in mma9551_sleep()
Dkxcjk-1013.c1685 int sleep_val; in kxcjk1013_runtime_resume() local
1691 sleep_val = kxcjk1013_get_startup_times(data); in kxcjk1013_runtime_resume()
1692 if (sleep_val < 20000) in kxcjk1013_runtime_resume()
1693 usleep_range(sleep_val, 20000); in kxcjk1013_runtime_resume()
1695 msleep_interruptible(sleep_val/1000); in kxcjk1013_runtime_resume()
Dbmc150-accel-core.c1891 int sleep_val; in bmc150_accel_runtime_resume() local
1900 sleep_val = bmc150_accel_get_startup_times(data); in bmc150_accel_runtime_resume()
1901 if (sleep_val < 20) in bmc150_accel_runtime_resume()
1902 usleep_range(sleep_val * 1000, 20000); in bmc150_accel_runtime_resume()
1904 msleep_interruptible(sleep_val); in bmc150_accel_runtime_resume()