Lines Matching refs:clk_rpmh
36 * struct clk_rpmh - individual rpmh clock data structure
50 struct clk_rpmh {
62 struct clk_rpmh *peer;
74 static struct clk_rpmh clk_rpmh_##_clk_name##_ao; \
75 static struct clk_rpmh clk_rpmh_##_clk_name = { \
94 static struct clk_rpmh clk_rpmh_##_clk_name##_ao= { \
122 static struct clk_rpmh clk_rpmh_##_name = { \
132 static inline struct clk_rpmh *to_clk_rpmh(struct clk_hw *_hw)
134 return container_of(_hw, struct clk_rpmh, hw);
137 static inline bool has_state_changed(struct clk_rpmh *c, u32 state)
143 static int clk_rpmh_send(struct clk_rpmh *c, enum rpmh_state state,
152 static int clk_rpmh_send_aggregate_command(struct clk_rpmh *c)
190 static int clk_rpmh_aggregate_state_send_command(struct clk_rpmh *c,
215 struct clk_rpmh *c = to_clk_rpmh(hw);
227 struct clk_rpmh *c = to_clk_rpmh(hw);
237 struct clk_rpmh *r = to_clk_rpmh(hw);
251 static int clk_rpmh_bcm_send_cmd(struct clk_rpmh *c, bool enable)
291 struct clk_rpmh *c = to_clk_rpmh(hw);
298 struct clk_rpmh *c = to_clk_rpmh(hw);
306 struct clk_rpmh *c = to_clk_rpmh(hw);
328 struct clk_rpmh *c = to_clk_rpmh(hw);
737 struct clk_rpmh *rpmh_clk;