Searched refs:sleep_rate (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/clk/qcom/ |
H A D | clk-rpm.c | 177 unsigned long active_rate, sleep_rate; in clk_rpm_prepare() local 202 sleep_rate = max(this_sleep_rate, peer_sleep_rate); in clk_rpm_prepare() 204 sleep_rate = !!sleep_rate; in clk_rpm_prepare() 206 ret = clk_rpm_set_rate_sleep(r, sleep_rate); in clk_rpm_prepare() 225 unsigned long active_rate, sleep_rate; in clk_rpm_unprepare() local 243 sleep_rate = r->branch ? !!peer_sleep_rate : peer_sleep_rate; in clk_rpm_unprepare() 244 ret = clk_rpm_set_rate_sleep(r, sleep_rate); in clk_rpm_unprepare() 325 unsigned long active_rate, sleep_rate; in clk_rpm_set_rate() local 347 sleep_rate = max(this_sleep_rate, peer_sleep_rate); in clk_rpm_set_rate() 348 ret = clk_rpm_set_rate_sleep(r, sleep_rate); in clk_rpm_set_rate()
|
H A D | clk-smd-rpm.c | 261 unsigned long active_rate, sleep_rate; in clk_smd_rpm_prepare() local 286 sleep_rate = max(this_sleep_rate, peer_sleep_rate); in clk_smd_rpm_prepare() 288 sleep_rate = !!sleep_rate; in clk_smd_rpm_prepare() 290 ret = clk_smd_rpm_set_rate_sleep(r, sleep_rate); in clk_smd_rpm_prepare() 309 unsigned long active_rate, sleep_rate; in clk_smd_rpm_unprepare() local 327 sleep_rate = r->branch ? !!peer_sleep_rate : peer_sleep_rate; in clk_smd_rpm_unprepare() 328 ret = clk_smd_rpm_set_rate_sleep(r, sleep_rate); in clk_smd_rpm_unprepare() 343 unsigned long active_rate, sleep_rate; in clk_smd_rpm_set_rate() local 365 sleep_rate = max(this_sleep_rate, peer_sleep_rate); in clk_smd_rpm_set_rate() 366 ret = clk_smd_rpm_set_rate_sleep(r, sleep_rate); in clk_smd_rpm_set_rate()
|
/openbmc/linux/drivers/interconnect/qcom/ |
H A D | icc-rpm.c | 332 u64 active_rate, sleep_rate; in qcom_icc_set() local 343 sleep_rate = agg_clk_rate[QCOM_SMD_RPM_SLEEP_STATE]; in qcom_icc_set() 368 active_rate = max_t(u64, active_rate, sleep_rate); in qcom_icc_set() 376 sleep_rate = min_t(u64, sleep_rate, INT_MAX); in qcom_icc_set() 388 if (sleep_rate != qp->bus_clk_rate[QCOM_SMD_RPM_SLEEP_STATE]) { in qcom_icc_set() 390 sleep_rate); in qcom_icc_set() 395 qp->bus_clk_rate[QCOM_SMD_RPM_SLEEP_STATE] = sleep_rate; in qcom_icc_set()
|