Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/soc/qcom/
Drpmh.c53 u32 sleep_val; member
131 req->sleep_val = req->wake_val = UINT_MAX; in cache_rpm_request()
135 old_sleep_val = req->sleep_val; in cache_rpm_request()
144 req->sleep_val = cmd->data; in cache_rpm_request()
148 ctrlr->dirty |= (req->sleep_val != old_sleep_val || in cache_rpm_request()
150 req->sleep_val != UINT_MAX && in cache_rpm_request()
402 return (req->sleep_val != UINT_MAX && in is_req_valid()
404 req->sleep_val != req->wake_val); in is_req_valid()
461 __func__, p->addr, p->sleep_val, p->wake_val); in rpmh_flush()
465 p->sleep_val); in rpmh_flush()
/linux-6.6.21/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.6.21/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.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.c1878 int sleep_val; in bmc150_accel_runtime_resume() local
1887 sleep_val = bmc150_accel_get_startup_times(data); in bmc150_accel_runtime_resume()
1888 if (sleep_val < 20) in bmc150_accel_runtime_resume()
1889 usleep_range(sleep_val * 1000, 20000); in bmc150_accel_runtime_resume()
1891 msleep_interruptible(sleep_val); in bmc150_accel_runtime_resume()
Dkxcjk-1013.c1668 int sleep_val; in kxcjk1013_runtime_resume() local
1674 sleep_val = kxcjk1013_get_startup_times(data); in kxcjk1013_runtime_resume()
1675 if (sleep_val < 20000) in kxcjk1013_runtime_resume()
1676 usleep_range(sleep_val, 20000); in kxcjk1013_runtime_resume()
1678 msleep_interruptible(sleep_val/1000); in kxcjk1013_runtime_resume()