Searched refs:sleep_rate (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/clk/qcom/ |
H A D | clk-rpm.c | 176 unsigned long active_rate, sleep_rate; in clk_rpm_prepare() local 201 sleep_rate = max(this_sleep_rate, peer_sleep_rate); in clk_rpm_prepare() 203 sleep_rate = !!sleep_rate; in clk_rpm_prepare() 205 ret = clk_rpm_set_rate_sleep(r, sleep_rate); in clk_rpm_prepare() 224 unsigned long active_rate, sleep_rate; in clk_rpm_unprepare() local 242 sleep_rate = r->branch ? !!peer_sleep_rate : peer_sleep_rate; in clk_rpm_unprepare() 243 ret = clk_rpm_set_rate_sleep(r, sleep_rate); in clk_rpm_unprepare() 324 unsigned long active_rate, sleep_rate; in clk_rpm_set_rate() local 346 sleep_rate = max(this_sleep_rate, peer_sleep_rate); in clk_rpm_set_rate() 347 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()
|
/linux/drivers/interconnect/qcom/ |
H A D | icc-rpm.c | 351 u64 active_rate, sleep_rate; in qcom_icc_set() local 362 sleep_rate = agg_clk_rate[QCOM_SMD_RPM_SLEEP_STATE]; in qcom_icc_set() 387 active_rate = max_t(u64, active_rate, sleep_rate); in qcom_icc_set() 395 sleep_rate = min_t(u64, sleep_rate, INT_MAX); in qcom_icc_set() 407 if (sleep_rate != qp->bus_clk_rate[QCOM_SMD_RPM_SLEEP_STATE]) { in qcom_icc_set() 409 sleep_rate); in qcom_icc_set() 414 qp->bus_clk_rate[QCOM_SMD_RPM_SLEEP_STATE] = sleep_rate; in qcom_icc_set() 422 sleep_rate = qcom_icc_calc_rate(qp, src_qn, QCOM_SMD_RPM_SLEEP_STATE); in qcom_icc_set() 434 if (sleep_rate != src_qn->bus_clk_rate[QCOM_SMD_RPM_SLEEP_STATE]) { in qcom_icc_set() 436 sleep_rate); in qcom_icc_set() [all …]
|