Lines Matching full:scu
18 #include "clk-scu.h"
42 * struct clk_scu - Description of one SCU clock
44 * @rsrc_id: resource ID of this SCU clock
60 * struct clk_gpr_scu - Description of one SCU GPR clock
62 * @rsrc_id: resource ID of this SCU clock
77 * @hdr: SCU protocol header
82 * This structure describes the SCU protocol of clock rate set
102 * @hdr: SCU protocol header
106 * This structure describes the SCU protocol of clock rate get
118 * @hdr: SCU protocol header
122 * This structure describes the SCU protocol of clock get parent
139 * @hdr: SCU protocol header
142 * This structure describes the SCU protocol of clock set parent
153 * @hdr: SCU protocol header
159 * This structure describes the SCU protocol of clock gate
209 pd_np = of_find_compatible_node(NULL, NULL, "fsl,scu-pd"); in imx_clk_scu_init()
220 * clk_scu_recalc_rate - Get clock rate for a SCU clock
224 * Gets the current clock rate of a SCU clock. Returns the current
254 * clk_scu_determine_rate - Returns the closest rate for a SCU clock
264 * Assume we support all the requested rate and let the SCU firmware in clk_scu_determine_rate()
271 * clk_scu_round_rate - Round clock rate for a SCU clock
282 * Assume we support all the requested rate and let the SCU firmware in clk_scu_round_rate()
310 * clk_scu_set_rate - Set rate for a SCU clock
313 * @parent_rate: rate of the clock parent, not used for SCU clocks
315 * Sets a clock frequency for a SCU clock. Returns the SCU
412 * clk_scu_prepare - Enable a SCU clock
426 * clk_scu_unprepare - Disable a SCU clock
572 dev_dbg(dev, "register SCU clock rsrc:%d type:%d\n", clk->rsrc, in imx_clk_scu_probe()
651 .name = "imx-scu-clk",
692 pr_err("%s: failed to allocate scu clk dev rsrc %d type %d\n", in imx_clk_scu_alloc_dev()
704 "imx-scu-clk", strlen("imx-scu-clk")); in imx_clk_scu_alloc_dev()