Home
last modified time | relevance | path

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

12

/optee_os/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 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()
141 struct clk *clk = NULL; in parse_assigned_clock() local
A Dclk-stm32mp15.c1302 static bool clk_is_gate(struct clk *clk) in clk_is_gate()
1310 static unsigned long clk_to_clock_id(struct clk *clk) in clk_to_clock_id()
1424 static const char *clk_op_get_name(struct clk *clk) in clk_op_get_name()
1442 static unsigned long clk_op_compute_rate(struct clk *clk, in clk_op_compute_rate()
1448 static TEE_Result clk_op_enable(struct clk *clk) in clk_op_enable()
1457 static void clk_op_disable(struct clk *clk) in clk_op_disable()
1493 struct clk *clk = clock_id_to_clk(clock_id); in stm32_clock_is_enabled() local
1501 struct clk *clk = clock_id_to_clk(clock_id); in stm32_clock_enable() local
1511 struct clk *clk = clock_id_to_clk(clock_id); in stm32_clock_disable() local
1519 struct clk *clk = clock_id_to_clk(clock_id); in stm32_clock_get_rate() local
[all …]
/optee_os/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
69 static inline const char *clk_get_name(struct clk *clk) in clk_get_name()
158 static inline size_t clk_get_num_parents(struct clk *clk) in clk_get_num_parents()
/optee_os/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
A Dat91_pmc.c46 struct clk *clk = NULL; in clk_dt_pmc_get() local
A Dat91_clk.h44 struct clk *clk; member
/optee_os/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_trng.c123 struct clk *clk = NULL; in trng_node_probe() local
/optee_os/core/arch/arm/plat-stm32mp1/
A Dscmi_server.c43 struct clk *clk; member
829 struct stm32_scmi_clk *clk = &res->clock[j]; in stm32mp1_init_scmi_server() local

Completed in 27 milliseconds

12