Lines Matching refs:rpm
144 struct qcom_smd_rpm *rpm; member
154 struct qcom_rpm *rpm; member
175 ret = qcom_rpm_smd_write(r->rpm, QCOM_SMD_RPM_ACTIVE_STATE, in clk_smd_rpm_handoff()
180 ret = qcom_rpm_smd_write(r->rpm, QCOM_SMD_RPM_SLEEP_STATE, in clk_smd_rpm_handoff()
198 return qcom_rpm_smd_write(r->rpm, QCOM_SMD_RPM_ACTIVE_STATE, in clk_smd_rpm_set_rate_active()
212 return qcom_rpm_smd_write(r->rpm, QCOM_SMD_RPM_SLEEP_STATE, in clk_smd_rpm_set_rate_sleep()
379 static int clk_smd_rpm_enable_scaling(struct qcom_smd_rpm *rpm) in clk_smd_rpm_enable_scaling() argument
388 ret = qcom_rpm_smd_write(rpm, QCOM_SMD_RPM_SLEEP_STATE, in clk_smd_rpm_enable_scaling()
396 ret = qcom_rpm_smd_write(rpm, QCOM_SMD_RPM_ACTIVE_STATE, in clk_smd_rpm_enable_scaling()
1109 struct qcom_smd_rpm *rpm; in rpm_smd_clk_probe() local
1113 rpm = dev_get_drvdata(pdev->dev.parent); in rpm_smd_clk_probe()
1114 if (!rpm) { in rpm_smd_clk_probe()
1137 rpm_smd_clks[i]->rpm = rpm; in rpm_smd_clk_probe()
1144 ret = clk_smd_rpm_enable_scaling(rpm); in rpm_smd_clk_probe()