Home
last modified time | relevance | path

Searched refs:clk (Results 1 – 6 of 6) sorted by relevance

/SCP-firmware-master/module/optee/clock/src/
A Dmod_optee_clock.c30 struct clk *clk; member
53 return ctx->clk != NULL; in is_exposed()
72 *rate = clk_get_rate(ctx->clk); in get_rate()
77 clk_get_name(ctx->clk), in get_rate()
114 clk_disable(ctx->clk); in set_state()
129 clk_enable(ctx->clk); in set_state()
164 clk_get_name(ctx->clk), in get_state()
244 clk_get_name(ctx->clk), in set_rate()
289 clk_get_name(ctx->clk), in get_rate_from_index()
344 ctx->clk = config->clk; in optee_clock_element_init()
[all …]
/SCP-firmware-master/module/optee/clock/include/
A Dmod_optee_clock.h26 struct clk *clk; member
/SCP-firmware-master/product/juno/module/juno_soc_clock_ram/src/
A Dmod_juno_soc_clock_ram.c120 fwk_assert(clk != NULL); in cluster_clock_divsys_set()
126 *clk = (*clk & ~SCP_CONFIG_CLUSTERCLK_CONTROL_CLKDIVSYS_MASK) | in cluster_clock_divsys_set()
131 params.reg = clk; in cluster_clock_divsys_set()
157 *clk = (*clk & ~SCP_CONFIG_CLUSTERCLK_CONTROL_CLKDIVEXT_MASK) | in cluster_clock_divext_set()
162 params.reg = clk; in cluster_clock_divext_set()
183 *clk = (*clk & ~SCP_CONFIG_CLUSTERCLK_CONTROL_CLKSEL_MASK) | in cluster_clock_sel_set()
187 params.reg = clk; in cluster_clock_sel_set()
206 *clk = (*clk & ~SCP_CONFIG_STDCLK_CONTROL_CLKSEL_MASK) | in clock_sel_set()
208 params.reg = clk; in clock_sel_set()
227 *clk = (*clk & ~SCP_CONFIG_STDCLK_CONTROL_CLKDIV_MASK) | in clock_div_set()
[all …]
/SCP-firmware-master/module/clock/src/
A Dclock_tree_management.c320 struct clock_dev_ctx *clk, *parent; in clock_connect_tree() local
323 clk = &(module_ctx->dev_ctx_table[clk_idx]); in clock_connect_tree()
325 if (!fwk_optional_id_is_defined(clk->config->parent_id)) { in clock_connect_tree()
326 clk->parent_id = FWK_ID_NONE; in clock_connect_tree()
330 clk->parent_id = clk->config->parent_id; in clock_connect_tree()
331 parent_idx = fwk_id_get_element_idx(clk->parent_id); in clock_connect_tree()
338 fwk_list_push_tail(&parent->children_list, &clk->child_node); in clock_connect_tree()
340 status = clk->api->get_state(clk->config->driver_id, &current_state); in clock_connect_tree()
/SCP-firmware-master/product/juno/module/juno_rom/src/
A Dmod_juno_rom.c138 static void css_clock_cluster_div_set(volatile uint32_t *clk, in css_clock_cluster_div_set() argument
158 *clk = (*clk & ~(div_set_mask)) | div_set; in css_clock_cluster_div_set()
161 while ((*clk & div_check_mask) != div_check) { in css_clock_cluster_div_set()
167 static void css_clock_cluster_sel_set(volatile uint32_t *clk, in css_clock_cluster_sel_set() argument
171 *clk = (*clk & ~CLUSTERCLK_CONTROL_CLKSEL) | source; in css_clock_cluster_sel_set()
174 while ((*clk & CLUSTERCLK_CONTROL_CRNTCLK) != in css_clock_cluster_sel_set()
/SCP-firmware-master/product/optee-stm32mp1/fw/
A Dconfig_scmi_clocks.c244 optee_clock_cfg[n].clk = in optee_clock_get_elt_table()

Completed in 9 milliseconds