Lines Matching full:rpm

19 #include <dt-bindings/mfd/qcom-rpm.h>
145 struct qcom_rpm *rpm; member
150 struct qcom_rpm *rpm; member
171 * RPM clock. in clk_rpm_handoff()
177 ret = qcom_rpm_write(r->rpm, QCOM_RPM_ACTIVE_STATE, in clk_rpm_handoff()
181 ret = qcom_rpm_write(r->rpm, QCOM_RPM_SLEEP_STATE, in clk_rpm_handoff()
193 return qcom_rpm_write(r->rpm, QCOM_RPM_ACTIVE_STATE, in clk_rpm_set_rate_active()
201 return qcom_rpm_write(r->rpm, QCOM_RPM_SLEEP_STATE, in clk_rpm_set_rate_sleep()
231 /* Don't send requests to the RPM if the rate has not been set. */ in clk_rpm_prepare()
313 ret = qcom_rpm_write(r->rpm, QCOM_RPM_ACTIVE_STATE, clk_id, &value, 1); in clk_rpm_xo_prepare()
334 ret = qcom_rpm_write(r->rpm, QCOM_RPM_ACTIVE_STATE, clk_id, &value, 1); in clk_rpm_xo_unprepare()
349 ret = qcom_rpm_write(r->rpm, QCOM_RPM_ACTIVE_STATE, in clk_rpm_fixed_prepare()
363 ret = qcom_rpm_write(r->rpm, QCOM_RPM_ACTIVE_STATE, in clk_rpm_fixed_unprepare()
413 * RPM handles rate rounding and we don't have a way to in clk_rpm_round_rate()
426 * RPM handles rate rounding and we don't have a way to in clk_rpm_recalc_rate()
608 struct qcom_rpm *rpm; in rpm_clk_probe() local
612 rpm = dev_get_drvdata(pdev->dev.parent); in rpm_clk_probe()
613 if (!rpm) { in rpm_clk_probe()
614 dev_err(&pdev->dev, "Unable to retrieve handle to RPM\n"); in rpm_clk_probe()
637 rpm_clks[i]->rpm = rpm; in rpm_clk_probe()
661 dev_err(&pdev->dev, "Error registering RPM Clock driver (%d)\n", ret); in rpm_clk_probe()
673 .name = "qcom-clk-rpm",
692 MODULE_DESCRIPTION("Qualcomm RPM Clock Controller Driver");
694 MODULE_ALIAS("platform:qcom-clk-rpm");