| /optee_os/core/drivers/clk/ |
| H A D | clk.c | 37 struct clk *clk = NULL; in clk_alloc() local 55 void clk_free(struct clk *clk) in clk_free() 60 static bool __maybe_unused clk_check(struct clk *clk) in clk_check() 74 static void clk_compute_rate_no_lock(struct clk *clk) in clk_compute_rate_no_lock() 89 struct clk *clk_get_parent_by_index(struct clk *clk, size_t pidx) in clk_get_parent_by_index() 97 static void clk_init_parent(struct clk *clk) in clk_init_parent() 116 TEE_Result clk_register(struct clk *clk) in clk_register() 132 static bool clk_is_enabled_no_lock(struct clk *clk) in clk_is_enabled_no_lock() 137 bool clk_is_enabled(struct clk *clk) in clk_is_enabled() 142 static void clk_disable_no_lock(struct clk *clk) in clk_disable_no_lock() [all …]
|
| H A D | clk-stm32-core.c | 352 static size_t clk_stm32_mux_get_parent(struct clk *clk) in clk_stm32_mux_get_parent() 359 static TEE_Result clk_stm32_mux_set_parent(struct clk *clk, size_t pidx) in clk_stm32_mux_set_parent() 372 static TEE_Result clk_stm32_gate_enable(struct clk *clk) in clk_stm32_gate_enable() 381 static void clk_stm32_gate_disable(struct clk *clk) in clk_stm32_gate_disable() 393 static TEE_Result clk_stm32_gate_ready_enable(struct clk *clk) in clk_stm32_gate_ready_enable() 400 static void clk_stm32_gate_ready_disable(struct clk *clk) in clk_stm32_gate_ready_disable() 414 unsigned long clk_stm32_divider_get_rate(struct clk *clk, in clk_stm32_divider_get_rate() 422 TEE_Result clk_stm32_divider_set_rate(struct clk *clk, in clk_stm32_divider_set_rate() 437 size_t clk_stm32_composite_get_parent(struct clk *clk) in clk_stm32_composite_get_parent() 449 TEE_Result clk_stm32_composite_set_parent(struct clk *clk, size_t pidx) in clk_stm32_composite_set_parent() [all …]
|
| H A D | fixed_clk.c | 16 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
|
| H A D | clk_dt.c | 17 const char *name, struct clk **clk) in clk_dt_get_by_name() 32 struct clk **clk) in clk_dt_get_by_idx_prop() 47 unsigned int clk_idx, struct clk **clk) in clk_dt_get_by_index() 146 struct clk *clk = NULL; in parse_assigned_clock() local
|
| /optee_os/core/include/drivers/ |
| H A D | clk.h | 36 struct clk { struct 39 const struct clk_ops *ops; argument 40 struct clk *parent; argument 45 SLIST_ENTRY(clk) link; argument 48 struct clk *parents[]; argument 102 static inline const char *clk_get_name(struct clk *clk) in clk_get_name() 191 static inline size_t clk_get_num_parents(struct clk *clk) in clk_get_num_parents()
|
| /optee_os/core/drivers/scmi-msg/ |
| H A D | clock_generic.c | 24 struct clk *clk; member 39 struct scmi_clk *clk = NULL; in plat_scmi_clock_count() local 58 struct scmi_clk *clk = NULL; in clk_scmi_get_by_id() local 70 struct scmi_clk *clk = NULL; in plat_scmi_clock_get_name() local 86 struct scmi_clk *clk = NULL; in plat_scmi_clock_rates_array() local 104 struct scmi_clk *clk = NULL; in plat_scmi_clock_get_rate() local 118 struct scmi_clk *clk = NULL; in plat_scmi_clock_set_rate() local 134 struct scmi_clk *clk = NULL; in plat_scmi_clock_get_state() local 147 struct scmi_clk *clk = NULL; in plat_scmi_clock_set_state() local 177 struct scmi_clk *clk = NULL; in clk_check_scmi_id() local [all …]
|
| /optee_os/core/drivers/clk/sam/ |
| H A D | at91_audio_pll.c | 75 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() 161 static unsigned long clk_audio_pll_frac_get_rate(struct clk *clk, in clk_audio_pll_frac_get_rate() 169 static unsigned long clk_audio_pll_pad_get_rate(struct clk *clk, in clk_audio_pll_pad_get_rate() 181 static unsigned long clk_audio_pll_pmc_get_rate(struct clk *clk, in clk_audio_pll_pmc_get_rate() 219 static TEE_Result clk_audio_pll_frac_set_rate(struct clk *clk, in clk_audio_pll_frac_set_rate() [all …]
|
| H A D | at91_main.c | 44 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() 245 static TEE_Result clk_sam9x5_main_set_parent(struct clk *clk, size_t index) in clk_sam9x5_main_set_parent() [all …]
|
| H A D | at91_generated.c | 31 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() 83 static size_t clk_generated_get_parent(struct clk *clk) in clk_generated_get_parent() 99 static TEE_Result clk_generated_set_rate(struct clk *clk, unsigned long rate, in clk_generated_set_rate() 161 struct clk *clk = NULL; in at91_clk_register_generated() local
|
| H A D | at91_peripheral.c | 30 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
|
| H A D | at91_plldiv.c | 15 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
|
| H A D | at91_usb.c | 26 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
|
| H A D | at91_h32mx.c | 17 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
|
| H A D | at91_i2s_mux.c | 21 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
|
| H A D | at91_programmable.c | 32 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
|
| H A D | at91_system.c | 36 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
|
| H A D | at91_utmi.c | 33 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() 114 struct clk *clk = NULL; in at91_clk_register_utmi_internal() local 148 static TEE_Result clk_utmi_sama7g5_prepare(struct clk *clk) in clk_utmi_sama7g5_prepare()
|
| H A D | sama5d2_clk.c | 75 struct sam_clk clk; member 237 struct sam_clk clk; member 313 struct clk **clk) in at91_pmc_clk_get() 338 struct clk *clk = NULL; in pmc_setup() local
|
| H A D | at91_pll.c | 54 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
|
| H A D | at91_master.c | 39 static TEE_Result clk_master_enable(struct clk *clk) in clk_master_enable() 49 static unsigned long clk_master_div_get_rate(struct clk *clk, in clk_master_div_get_rate() 80 static unsigned long clk_master_pres_get_rate(struct clk *clk, in clk_master_pres_get_rate() 97 static size_t clk_master_pres_get_parent(struct clk *clk) in clk_master_pres_get_parent() 122 struct clk *clk = NULL; in at91_clk_register_master_internal() local
|
| H A D | at91_cpu_opp.c | 47 static TEE_Result cpu_opp_clk_set_rate(struct clk *clk, unsigned long rate, in cpu_opp_clk_set_rate() 137 TEE_Result at91_clk_register_cpu_opp(const void *fdt, int node, struct clk *clk) in at91_clk_register_cpu_opp()
|
| H A D | at91_sckc.c | 33 struct clk *clk = NULL; in sckc_pmc_setup() local
|
| /optee_os/core/arch/arm/plat-sam/ |
| H A D | freq.c | 21 struct clk *clk; in get_freq_from_dt() local
|
| /optee_os/core/lib/scmi-server/ |
| H A D | scmi_clock_consumer.c | 53 static TEE_Result scmi_clk_get_rates_array(struct clk *clk, size_t index, in scmi_clk_get_rates_array() 87 static TEE_Result scmi_clk_get_rates_steps(struct clk *clk, in scmi_clk_get_rates_steps()
|
| /optee_os/core/drivers/ |
| H A D | atmel_tcb.c | 65 struct clk *clk = NULL; in atmel_tcb_enable_clocks() local 158 struct clk *clk = NULL; in atmel_tcb_probe() local
|