Searched refs:clk (Results 1 – 6 of 6) sorted by relevance
30 struct clk *clk; member53 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 …]
26 struct clk *clk; member
120 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 …]
320 struct clock_dev_ctx *clk, *parent; in clock_connect_tree() local323 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, ¤t_state); in clock_connect_tree()
138 static void css_clock_cluster_div_set(volatile uint32_t *clk, in css_clock_cluster_div_set() argument158 *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() argument171 *clk = (*clk & ~CLUSTERCLK_CONTROL_CLKSEL) | source; in css_clock_cluster_sel_set()174 while ((*clk & CLUSTERCLK_CONTROL_CRNTCLK) != in css_clock_cluster_sel_set()
244 optee_clock_cfg[n].clk = in optee_clock_get_elt_table()
Completed in 9 milliseconds