Lines Matching refs:clk_rpmh
37 * struct clk_rpmh - individual rpmh clock data structure
51 struct clk_rpmh {
63 struct clk_rpmh *peer;
75 static struct clk_rpmh _platform##_##_name_active; \
76 static struct clk_rpmh _platform##_##_name = { \
95 static struct clk_rpmh _platform##_##_name_active = { \
125 static struct clk_rpmh _platform##_##_name = { \
135 static inline struct clk_rpmh *to_clk_rpmh(struct clk_hw *_hw)
137 return container_of(_hw, struct clk_rpmh, hw);
140 static inline bool has_state_changed(struct clk_rpmh *c, u32 state)
146 static int clk_rpmh_send(struct clk_rpmh *c, enum rpmh_state state,
155 static int clk_rpmh_send_aggregate_command(struct clk_rpmh *c)
193 static int clk_rpmh_aggregate_state_send_command(struct clk_rpmh *c,
222 struct clk_rpmh *c = to_clk_rpmh(hw);
234 struct clk_rpmh *c = to_clk_rpmh(hw);
244 struct clk_rpmh *r = to_clk_rpmh(hw);
258 static int clk_rpmh_bcm_send_cmd(struct clk_rpmh *c, bool enable)
293 struct clk_rpmh *c = to_clk_rpmh(hw);
300 struct clk_rpmh *c = to_clk_rpmh(hw);
308 struct clk_rpmh *c = to_clk_rpmh(hw);
330 struct clk_rpmh *c = to_clk_rpmh(hw);
452 struct clk_rpmh *rpmh_clk;