Home
last modified time | relevance | path

Searched defs:clkp (Results 1 – 12 of 12) sorted by relevance

/rk3399_ARM-atf/drivers/ti/clk/
H A Dti_clk.c28 uint32_t ti_clk_value_set_freq(struct ti_clk *clkp, uint32_t target_hz, in ti_clk_value_set_freq()
55 uint32_t ti_clk_value_get_freq(struct ti_clk *clkp) in ti_clk_value_get_freq()
62 uint32_t ti_clk_get_parent_freq(struct ti_clk *clkp) in ti_clk_get_parent_freq()
81 uint32_t ti_clk_generic_set_freq_parent(struct ti_clk *clkp, struct ti_clk *parent, in ti_clk_generic_set_freq_parent()
151 static uint32_t ti_clk_generic_set_freq(struct ti_clk *clkp, in ti_clk_generic_set_freq()
185 uint32_t ti_clk_set_freq(struct ti_clk *clkp, uint32_t target_hz, in ti_clk_set_freq()
215 uint32_t ti_clk_get_freq(struct ti_clk *clkp) in ti_clk_get_freq()
232 uint32_t ti_clk_get_state(struct ti_clk *clkp) in ti_clk_get_state()
259 bool ti_clk_set_state(struct ti_clk *clkp, bool enable) in ti_clk_set_state()
277 bool ti_clk_get(struct ti_clk *clkp) in ti_clk_get()
[all …]
H A Dti_clk_div.c25 uint32_t ti_clk_get_div(struct ti_clk *clkp) in ti_clk_get_div()
39 static uint32_t ti_clk_div_set_freq_dyn_parent(struct ti_clk *clkp, uint32_t target_hz, in ti_clk_div_set_freq_dyn_parent()
193 uint32_t ti_clk_div_set_freq_static_parent(struct ti_clk *clkp, uint32_t target_hz, in ti_clk_div_set_freq_static_parent()
279 uint32_t ti_clk_div_set_freq(struct ti_clk *clkp, uint32_t target_hz, in ti_clk_div_set_freq()
306 uint32_t ti_clk_div_get_freq(struct ti_clk *clkp) in ti_clk_div_get_freq()
317 int32_t ti_clk_div_init(struct ti_clk *clkp) in ti_clk_div_init()
344 uint32_t ti_clk_div_reg_get_div(struct ti_clk *clkp) in ti_clk_div_reg_get_div()
381 bool ti_clk_div_reg_set_div(struct ti_clk *clkp, uint32_t div) in ti_clk_div_reg_set_div()
436 uint32_t ti_clk_div_reg_go_get_div(struct ti_clk *clkp) in ti_clk_div_reg_go_get_div()
472 bool ti_clk_div_reg_go_set_div(struct ti_clk *clkp, uint32_t div) in ti_clk_div_reg_go_set_div()
[all …]
H A Dti_clk_mux.c25 static uint32_t ti_clk_mux_get_parent_value(struct ti_clk *clkp) in ti_clk_mux_get_parent_value()
54 static const struct ti_clk_parent *ti_clk_mux_get_parent_internal(struct ti_clk *clkp) in ti_clk_mux_get_parent_internal()
72 static bool ti_clk_mux_set_parent_internal(struct ti_clk *clkp, uint8_t new_parent) in ti_clk_mux_set_parent_internal()
112 const struct ti_clk_parent *ti_clk_mux_get_parent(struct ti_clk *clkp) in ti_clk_mux_get_parent()
134 bool ti_clk_mux_set_parent(struct ti_clk *clkp, uint8_t new_parent) in ti_clk_mux_set_parent()
H A Dti_clk_fixed.c19 static uint32_t ti_clk_fixed_get_freq(struct ti_clk *clkp) in ti_clk_fixed_get_freq()
H A Dti_clk_dev.c45 static uint32_t ti_clk_from_device_get_state(struct ti_clk *clkp) in ti_clk_from_device_get_state()
H A Dti_clk_pllctrl.c31 static const struct ti_clk_parent *ti_clk_pllctrl_mux_get_parent(struct ti_clk *clkp) in ti_clk_pllctrl_mux_get_parent()
H A Dti_pll.c543 static inline void ti_pll_find_pllm(struct ti_clk *clkp, const struct ti_pll_data *data, in ti_pll_find_pllm()
715 struct ti_clk *clkp = consider_data->clk; in ti_pll_internal_calc() local
1128 uint32_t ti_pll_calc(struct ti_clk *clkp, const struct ti_pll_data *data, in ti_pll_calc()
1202 int32_t ti_pll_init(struct ti_clk *clkp) in ti_pll_init()
H A Dti_clk_pll_16fft.c1474 static int32_t ti_clk_pll_16fft_hsdiv_init(struct ti_clk *clkp) in ti_clk_pll_16fft_hsdiv_init()
/rk3399_ARM-atf/drivers/ti/pd/
H A Dti_device_clk.c67 struct ti_clk *clkp = NULL; in ti_device_clk_set_gated() local
123 struct ti_clk *clkp; in ti_device_clk_set_parent() local
189 struct ti_clk *clkp; in ti_device_clk_get_parent() local
243 struct ti_clk *clkp; in ti_device_clk_get_num_parents() local
383 struct ti_clk *clkp; in ti_device_clk_get_freq() local
408 struct ti_clk *clkp = NULL; in ti_device_clk_enable() local
423 struct ti_clk *clkp = NULL; in ti_device_clk_disable() local
437 struct ti_clk *clkp = NULL; in ti_device_clk_init() local
H A Dti_psc.c188 struct ti_clk *clkp = ti_clk_lookup(data->clock_dep[i]); in psc_pd_clk_get() local
254 struct ti_clk *clkp = ti_clk_lookup(data->clock_dep[i]); in psc_pd_clk_put() local
707 struct ti_clk *clkp = ti_clk_lookup(data->clock_dep[0]); in lpsc_module_clk_get() local
737 struct ti_clk *clkp = ti_clk_lookup(data->clock_dep[0]); in lpsc_module_clk_put() local
/rk3399_ARM-atf/drivers/ti/clk/include/
H A Dti_clk.h376 static inline ti_clk_idx_t ti_clk_id(struct ti_clk *clkp) in ti_clk_id()
/rk3399_ARM-atf/drivers/st/clk/
H A Dclk-stm32-core.c222 int _clk_stm32_set_parent(struct stm32_clk_priv *priv, int clk, int clkp) in _clk_stm32_set_parent()