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
247 * RPMh clocks have a fixed rate. Return static rate. in clk_rpmh_recalc_rate()
438 struct clk_rpmh_desc *rpmh = data; in of_clk_rpmh_hw_get() local
441 if (idx >= rpmh->num_clks) { in of_clk_rpmh_hw_get()
446 return rpmh->clks[idx]; in of_clk_rpmh_hw_get()
476 dev_err(&pdev->dev, "missing RPMh resource address for %s\n", in clk_rpmh_probe()
485 "error reading RPMh aux data for %s (%d)\n", in clk_rpmh_probe()
512 dev_dbg(&pdev->dev, "Registered RPMh clocks\n"); in clk_rpmh_probe()
518 { .compatible = "qcom,sc7180-rpmh-clk", .data = &clk_rpmh_sc7180},
519 { .compatible = "qcom,sdm845-rpmh-clk", .data = &clk_rpmh_sdm845},
520 { .compatible = "qcom,sm8150-rpmh-clk", .data = &clk_rpmh_sm8150},
521 { .compatible = "qcom,sm8250-rpmh-clk", .data = &clk_rpmh_sm8250},
529 .name = "clk-rpmh",
546 MODULE_DESCRIPTION("QCOM RPMh Clock Driver");