Lines Matching full:rpmh
14 #include <soc/qcom/rpmh.h>
17 #include <dt-bindings/clock/qcom,rpmh.h>
24 * @unit: divisor used to convert Hz value to an RPMh msg
25 * @width: multiplier used to convert Hz value to an RPMh msg
37 * struct clk_rpmh - individual rpmh clock data structure
39 * @res_name: resource name for the rpmh clock
41 * @res_addr: base address of the rpmh resource within the RPMh
42 * @res_on_val: rpmh clock enable value
43 * @state: rpmh clock requested state
44 * @aggr_state: rpmh clock aggregated state
45 * @last_sent_aggr_state: rpmh clock last aggr state sent to RPMh
46 * @valid_state_mask: mask to determine the state of the rpmh clock
47 * @unit: divisor to convert rate to rpmh msg in magnitudes of Khz
49 * @peer: pointer to the clock rpmh sibling
243 * RPMh clocks have a fixed rate. Return static rate. in clk_rpmh_recalc_rate()
274 * Send only an active only state request. RPMh continues to in clk_rpmh_bcm_send_cmd()
650 struct clk_rpmh_desc *rpmh = data; in of_clk_rpmh_hw_get() local
653 if (idx >= rpmh->num_clks) { in of_clk_rpmh_hw_get()
658 return rpmh->clks[idx]; in of_clk_rpmh_hw_get()
688 dev_err(&pdev->dev, "missing RPMh resource address for %s\n", in clk_rpmh_probe()
697 "error reading RPMh aux data for %s (%d)\n", in clk_rpmh_probe()
724 dev_dbg(&pdev->dev, "Registered RPMh clocks\n"); in clk_rpmh_probe()
730 { .compatible = "qcom,sc7180-rpmh-clk", .data = &clk_rpmh_sc7180},
731 { .compatible = "qcom,sc8180x-rpmh-clk", .data = &clk_rpmh_sc8180x},
732 { .compatible = "qcom,sc8280xp-rpmh-clk", .data = &clk_rpmh_sc8280xp},
733 { .compatible = "qcom,sdm845-rpmh-clk", .data = &clk_rpmh_sdm845},
734 { .compatible = "qcom,sdm670-rpmh-clk", .data = &clk_rpmh_sdm670},
735 { .compatible = "qcom,sdx55-rpmh-clk", .data = &clk_rpmh_sdx55},
736 { .compatible = "qcom,sdx65-rpmh-clk", .data = &clk_rpmh_sdx65},
737 { .compatible = "qcom,sm6350-rpmh-clk", .data = &clk_rpmh_sm6350},
738 { .compatible = "qcom,sm8150-rpmh-clk", .data = &clk_rpmh_sm8150},
739 { .compatible = "qcom,sm8250-rpmh-clk", .data = &clk_rpmh_sm8250},
740 { .compatible = "qcom,sm8350-rpmh-clk", .data = &clk_rpmh_sm8350},
741 { .compatible = "qcom,sm8450-rpmh-clk", .data = &clk_rpmh_sm8450},
742 { .compatible = "qcom,sc7280-rpmh-clk", .data = &clk_rpmh_sc7280},
750 .name = "clk-rpmh",
767 MODULE_DESCRIPTION("QCOM RPMh Clock Driver");