Home
last modified time | relevance | path

Searched defs:clk (Results 1 – 25 of 33) sorted by relevance

12

/optee_os-3.20.0/core/drivers/clk/
A Dclk.c20 struct clk *clk = NULL; in clk_alloc() local
38 void clk_free(struct clk *clk) in clk_free()
43 static bool __maybe_unused clk_check(struct clk *clk) in clk_check()
78 static void clk_init_parent(struct clk *clk) in clk_init_parent()
97 TEE_Result clk_register(struct clk *clk) in clk_register()
114 bool clk_is_enabled(struct clk *clk) in clk_is_enabled()
119 static void clk_disable_no_lock(struct clk *clk) in clk_disable_no_lock()
164 TEE_Result clk_enable(struct clk *clk) in clk_enable()
176 void clk_disable(struct clk *clk) in clk_disable()
185 unsigned long clk_get_rate(struct clk *clk) in clk_get_rate()
[all …]
A Dclk-stm32-core.c317 static size_t clk_stm32_mux_get_parent(struct clk *clk) in clk_stm32_mux_get_parent()
337 static TEE_Result clk_stm32_gate_enable(struct clk *clk) in clk_stm32_gate_enable()
346 static void clk_stm32_gate_disable(struct clk *clk) in clk_stm32_gate_disable()
365 static void clk_stm32_gate_ready_disable(struct clk *clk) in clk_stm32_gate_ready_disable()
387 TEE_Result clk_stm32_divider_set_rate(struct clk *clk, in clk_stm32_divider_set_rate()
402 size_t clk_stm32_composite_get_parent(struct clk *clk) in clk_stm32_composite_get_parent()
455 void clk_stm32_composite_gate_disable(struct clk *clk) in clk_stm32_composite_gate_disable()
525 static unsigned long clk_fixed_get_rate(struct clk *clk, in clk_fixed_get_rate()
551 struct clk *clk = NULL; in stm32mp_clk_dt_get_clk() local
571 struct clk *clk = priv->clk_refs[i]; in clk_stm32_register_clocks() local
[all …]
A Dfixed_clk.c16 static unsigned long fixed_clk_get_rate(struct clk *clk, in fixed_clk_get_rate()
33 struct clk *clk = NULL; in fixed_clock_probe() local
A Dclk_dt.c17 const char *name, struct clk **clk) in clk_dt_get_by_name()
32 struct clk **clk) in clk_dt_get_by_idx_prop()
43 unsigned int clk_idx, struct clk **clk) in clk_dt_get_by_index()
142 struct clk *clk = NULL; in parse_assigned_clock() local
/optee_os-3.20.0/core/include/drivers/
A Dclk.h30 struct clk { struct
33 const struct clk_ops *ops; argument
34 struct clk *parent; argument
39 struct clk *parents[]; argument
72 static inline const char *clk_get_name(struct clk *clk) in clk_get_name()
161 static inline size_t clk_get_num_parents(struct clk *clk) in clk_get_num_parents()
/optee_os-3.20.0/core/drivers/clk/sam/
A Dat91_audio_pll.c75 static TEE_Result clk_audio_pll_frac_enable(struct clk *clk) in clk_audio_pll_frac_enable()
99 static TEE_Result clk_audio_pll_pad_enable(struct clk *clk) in clk_audio_pll_pad_enable()
112 static TEE_Result clk_audio_pll_pmc_enable(struct clk *clk) in clk_audio_pll_pmc_enable()
124 static void clk_audio_pll_frac_disable(struct clk *clk) in clk_audio_pll_frac_disable()
135 static void clk_audio_pll_pad_disable(struct clk *clk) in clk_audio_pll_pad_disable()
143 static void clk_audio_pll_pmc_disable(struct clk *clk) in clk_audio_pll_pmc_disable()
241 static TEE_Result clk_audio_pll_pad_set_rate(struct clk *clk, in clk_audio_pll_pad_set_rate()
263 static TEE_Result clk_audio_pll_pmc_set_rate(struct clk *clk, in clk_audio_pll_pmc_set_rate()
303 struct clk *clk = NULL; in at91_clk_register_audio_pll_frac() local
334 struct clk *clk = NULL; in at91_clk_register_audio_pll_pad() local
[all …]
A Dat91_main.c44 static TEE_Result pmc_main_rc_osc_enable(struct clk *clk) in pmc_main_rc_osc_enable()
62 static void pmc_main_rc_osc_disable(struct clk *clk) in pmc_main_rc_osc_disable()
75 pmc_main_rc_osc_get_rate(struct clk *clk, unsigned long parent_rate __unused) in pmc_main_rc_osc_get_rate()
91 struct clk *clk = NULL; in pmc_register_main_rc_osc() local
128 static TEE_Result pmc_main_osc_enable(struct clk *clk) in pmc_main_osc_enable()
149 static void pmc_main_osc_disable(struct clk *clk) in pmc_main_osc_disable()
172 struct clk *clk = NULL; in pmc_register_main_osc() local
227 static TEE_Result clk_sam9x5_main_enable(struct clk *clk) in clk_sam9x5_main_enable()
237 static unsigned long clk_sam9x5_main_get_rate(struct clk *clk, in clk_sam9x5_main_get_rate()
272 static size_t clk_sam9x5_main_get_parent(struct clk *clk) in clk_sam9x5_main_get_parent()
[all …]
A Dat91_generated.c31 static TEE_Result clk_generated_enable(struct clk *clk) in clk_generated_enable()
49 static void clk_generated_disable(struct clk *clk) in clk_generated_disable()
60 clk_generated_get_rate(struct clk *clk, unsigned long parent_rate) in clk_generated_get_rate()
68 static TEE_Result clk_generated_set_parent(struct clk *clk, size_t index) in clk_generated_set_parent()
80 static size_t clk_generated_get_parent(struct clk *clk) in clk_generated_get_parent()
88 static TEE_Result clk_generated_set_rate(struct clk *clk, unsigned long rate, in clk_generated_set_rate()
148 struct clk *clk = NULL; in at91_clk_register_generated() local
A Dat91_plldiv.c15 static unsigned long clk_plldiv_get_rate(struct clk *clk, in clk_plldiv_get_rate()
27 static TEE_Result clk_plldiv_set_rate(struct clk *clk, unsigned long rate, in clk_plldiv_set_rate()
50 struct clk *clk = NULL; in at91_clk_register_plldiv() local
A Dat91_peripheral.c30 static void clk_sam9x5_peripheral_autodiv(struct clk *clk) in clk_sam9x5_peripheral_autodiv()
56 static TEE_Result clk_sam9x5_peripheral_enable(struct clk *clk) in clk_sam9x5_peripheral_enable()
75 static void clk_sam9x5_peripheral_disable(struct clk *clk) in clk_sam9x5_peripheral_disable()
90 clk_sam9x5_peripheral_get_rate(struct clk *clk, in clk_sam9x5_peripheral_get_rate()
113 static TEE_Result clk_sam9x5_peripheral_set_rate(struct clk *clk, in clk_sam9x5_peripheral_set_rate()
155 struct clk *clk = NULL; in at91_clk_register_sam9x5_periph() local
A Dat91_h32mx.c17 static unsigned long clk_sama5d4_h32mx_get_rate(struct clk *clk, in clk_sama5d4_h32mx_get_rate()
32 static TEE_Result clk_sama5d4_h32mx_set_rate(struct clk *clk, in clk_sama5d4_h32mx_set_rate()
59 struct clk *clk = NULL; in at91_clk_register_h32mx() local
A Dat91_usb.c26 static unsigned long at91sam9x5_clk_usb_get_rate(struct clk *clk, in at91sam9x5_clk_usb_get_rate()
38 static TEE_Result at91sam9x5_clk_usb_set_parent(struct clk *clk, size_t index) in at91sam9x5_clk_usb_set_parent()
50 static size_t at91sam9x5_clk_usb_get_parent(struct clk *clk) in at91sam9x5_clk_usb_get_parent()
58 static TEE_Result at91sam9x5_clk_usb_set_rate(struct clk *clk, in at91sam9x5_clk_usb_set_rate()
91 struct clk *clk = NULL; in _at91sam9x5_clk_register_usb() local
A Dat91_i2s_mux.c21 static size_t clk_i2s_mux_get_parent(struct clk *clk) in clk_i2s_mux_get_parent()
29 static TEE_Result clk_i2s_mux_set_parent(struct clk *clk, size_t index) in clk_i2s_mux_set_parent()
49 struct clk *clk = NULL; in at91_clk_i2s_mux_register() local
A Dat91_programmable.c32 static unsigned long clk_programmable_get_rate(struct clk *clk, in clk_programmable_get_rate()
48 static TEE_Result clk_programmable_set_parent(struct clk *clk, size_t index) in clk_programmable_set_parent()
70 static size_t clk_programmable_get_parent(struct clk *clk) in clk_programmable_get_parent()
93 static TEE_Result clk_programmable_set_rate(struct clk *clk, unsigned long rate, in clk_programmable_set_rate()
140 struct clk *clk = NULL; in at91_clk_register_programmable() local
A Dat91_system.c36 static TEE_Result clk_system_enable(struct clk *clk) in clk_system_enable()
51 static void clk_system_disable(struct clk *clk) in clk_system_disable()
68 struct clk *clk = NULL; in at91_clk_register_system() local
A Dat91_utmi.c33 static TEE_Result clk_utmi_enable(struct clk *clk) in clk_utmi_enable()
88 static void clk_utmi_disable(struct clk *clk) in clk_utmi_disable()
113 struct clk *clk = NULL; in at91_clk_register_utmi() local
A Dat91_master.c36 static TEE_Result clk_master_enable(struct clk *clk) in clk_master_enable()
46 static unsigned long clk_master_div_get_rate(struct clk *clk, in clk_master_div_get_rate()
77 static unsigned long clk_master_pres_get_rate(struct clk *clk, in clk_master_pres_get_rate()
94 static size_t clk_master_pres_get_parent(struct clk *clk) in clk_master_pres_get_parent()
119 struct clk *clk = NULL; in at91_clk_register_master_internal() local
A Dat91_pll.c54 static TEE_Result clk_pll_enable(struct clk *clk) in clk_pll_enable()
96 static void clk_pll_disable(struct clk *clk) in clk_pll_disable()
104 static unsigned long clk_pll_get_rate(struct clk *clk, in clk_pll_get_rate()
227 static TEE_Result clk_pll_set_rate(struct clk *clk, unsigned long rate, in clk_pll_set_rate()
261 struct clk *clk = NULL; in at91_clk_register_pll() local
A Dsama5d2_clk.c75 struct sam_clk clk; member
237 struct sam_clk clk; member
332 struct clk *clk = NULL; in pmc_setup() local
A Dat91_sckc.c25 struct clk *clk = NULL; in sckc_pmc_setup() local
/optee_os-3.20.0/core/drivers/
A Dstm32_gpio.c57 struct clk *clk = stm32_get_gpio_bank_clk(bank); in get_gpio_cfg() local
96 struct clk *clk = stm32_get_gpio_bank_clk(bank); in set_gpio_cfg() local
174 struct clk *clk = NULL; in ckeck_gpio_bank() local
394 struct clk *clk = stm32_get_gpio_bank_clk(bank); in stm32_gpio_get_input_level() local
412 struct clk *clk = stm32_get_gpio_bank_clk(bank); in stm32_gpio_set_output_level() local
429 struct clk *clk = stm32_get_gpio_bank_clk(bank); in stm32_gpio_set_secure_cfg() local
A Datmel_tcb.c60 struct clk *clk = NULL; in atmel_tcb_enable_clocks() local
156 struct clk *clk = NULL; in atmel_tcb_probe() local
A Datmel_trng.c89 struct clk *clk = NULL; in trng_node_probe() local
/optee_os-3.20.0/core/arch/arm/plat-sam/
A Dfreq.c18 struct clk *clk; in get_freq_from_dt() local
/optee_os-3.20.0/core/kernel/
A Ddt_driver_test.c165 struct clk *clk = NULL; in dt_test_consumer_probe() local
344 struct clk *clk = NULL; in dt_test_get_clk() local
374 struct clk *clk = NULL; in dt_test_clock_provider_probe() local

Completed in 24 milliseconds

12