Lines Matching refs:clk_rpmh
51 struct clk_rpmh { struct
63 struct clk_rpmh *peer; argument
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) in to_clk_rpmh()
137 return container_of(_hw, struct clk_rpmh, hw); in to_clk_rpmh()
140 static inline bool has_state_changed(struct clk_rpmh *c, u32 state) in has_state_changed()
146 static int clk_rpmh_send(struct clk_rpmh *c, enum rpmh_state state, in clk_rpmh_send()
155 static int clk_rpmh_send_aggregate_command(struct clk_rpmh *c) in clk_rpmh_send_aggregate_command()
193 static int clk_rpmh_aggregate_state_send_command(struct clk_rpmh *c, in clk_rpmh_aggregate_state_send_command()
222 struct clk_rpmh *c = to_clk_rpmh(hw); in clk_rpmh_prepare()
234 struct clk_rpmh *c = to_clk_rpmh(hw); in clk_rpmh_unprepare()
244 struct clk_rpmh *r = to_clk_rpmh(hw); in clk_rpmh_recalc_rate()
258 static int clk_rpmh_bcm_send_cmd(struct clk_rpmh *c, bool enable) in clk_rpmh_bcm_send_cmd()
293 struct clk_rpmh *c = to_clk_rpmh(hw); in clk_rpmh_bcm_prepare()
300 struct clk_rpmh *c = to_clk_rpmh(hw); in clk_rpmh_bcm_unprepare()
308 struct clk_rpmh *c = to_clk_rpmh(hw); in clk_rpmh_bcm_set_rate()
330 struct clk_rpmh *c = to_clk_rpmh(hw); in clk_rpmh_bcm_recalc_rate()
452 struct clk_rpmh *rpmh_clk; in clk_rpmh_probe()