Home
last modified time | relevance | path

Searched refs:clock_name (Results 1 – 21 of 21) sorted by relevance

/Zephyr-Core-3.7.0/drivers/clock_control/
Dclock_control_mcux_scg.c40 clock_name_t clock_name; in mcux_scg_get_rate() local
44 clock_name = kCLOCK_CoreSysClk; in mcux_scg_get_rate()
47 clock_name = kCLOCK_BusClk; in mcux_scg_get_rate()
51 clock_name = kCLOCK_FlexBusClk; in mcux_scg_get_rate()
55 clock_name = kCLOCK_FlashClk; in mcux_scg_get_rate()
58 clock_name = kCLOCK_ScgSysOscClk; in mcux_scg_get_rate()
61 clock_name = kCLOCK_ScgSircClk; in mcux_scg_get_rate()
64 clock_name = kCLOCK_ScgFircClk; in mcux_scg_get_rate()
68 clock_name = kCLOCK_ScgSysPllClk; in mcux_scg_get_rate()
73 clock_name = kCLOCK_ScgLpFllClk; in mcux_scg_get_rate()
[all …]
Dclock_control_nxp_s32.c21 Clock_Ip_NameType clock_name = (Clock_Ip_NameType)sub_system; in nxp_s32_clock_on() local
23 if ((clock_name <= CLOCK_IS_OFF) || (clock_name >= RESERVED_CLK)) { in nxp_s32_clock_on()
27 Clock_Ip_EnableModuleClock(clock_name); in nxp_s32_clock_on()
35 Clock_Ip_NameType clock_name = (Clock_Ip_NameType)sub_system; in nxp_s32_clock_off() local
37 if ((clock_name <= CLOCK_IS_OFF) || (clock_name >= RESERVED_CLK)) { in nxp_s32_clock_off()
41 Clock_Ip_DisableModuleClock(clock_name); in nxp_s32_clock_off()
50 Clock_Ip_NameType clock_name = (Clock_Ip_NameType)sub_system; in nxp_s32_clock_get_rate() local
52 if ((clock_name <= CLOCK_IS_OFF) || (clock_name >= RESERVED_CLK)) { in nxp_s32_clock_get_rate()
56 *rate = Clock_Ip_GetClockFrequency(clock_name); in nxp_s32_clock_get_rate()
Dclock_control_mcux_ccm_rev2.c20 uint32_t clock_name = (uintptr_t)sub_system; in mcux_ccm_on() local
23 peripheral = (clock_name & IMX_CCM_PERIPHERAL_MASK); in mcux_ccm_on()
24 instance = (clock_name & IMX_CCM_INSTANCE_MASK); in mcux_ccm_on()
59 uint32_t clock_name = (size_t) sub_system; in mcux_ccm_get_subsys_rate() local
62 peripheral = (clock_name & IMX_CCM_PERIPHERAL_MASK); in mcux_ccm_get_subsys_rate()
63 instance = (clock_name & IMX_CCM_INSTANCE_MASK); in mcux_ccm_get_subsys_rate()
221 uint32_t clock_name = (uintptr_t)subsys; in mcux_ccm_set_subsys_rate() local
224 switch (clock_name) { in mcux_ccm_set_subsys_rate()
233 return flexspi_clock_set_freq(clock_name, clock_rate); in mcux_ccm_set_subsys_rate()
Dclock_control_mcux_sim.c48 clock_name_t clock_name; in mcux_sim_get_subsys_rate() local
52 clock_name = kCLOCK_LpoClk; in mcux_sim_get_subsys_rate()
55 clock_name = kCLOCK_CoreSysClk; in mcux_sim_get_subsys_rate()
58 clock_name = kCLOCK_Osc0ErClk; in mcux_sim_get_subsys_rate()
61 clock_name = (clock_name_t) sub_system; in mcux_sim_get_subsys_rate()
65 *rate = CLOCK_GetFreq(clock_name); in mcux_sim_get_subsys_rate()
Dclock_control_ambiq.c29 uint32_t clock_name = (uint32_t)sub_system; in ambiq_clock_on() local
36 if (clock_name >= CLOCK_CONTROL_AMBIQ_TYPE_MAX) { in ambiq_clock_on()
40 switch (clock_name) { in ambiq_clock_on()
61 uint32_t clock_name = (uint32_t)sub_system; in ambiq_clock_off() local
68 if (clock_name >= CLOCK_CONTROL_AMBIQ_TYPE_MAX) { in ambiq_clock_off()
72 switch (clock_name) { in ambiq_clock_off()
Dclock_control_mcux_ccm.c78 uint32_t clock_name = (uintptr_t)sub_system; in mcux_ccm_on() local
79 uint32_t instance = clock_name & IMX_CCM_INSTANCE_MASK; in mcux_ccm_on()
81 switch (clock_name) { in mcux_ccm_on()
129 uint32_t clock_name = (uintptr_t)sub_system; in mcux_ccm_off() local
130 uint32_t instance = clock_name & IMX_CCM_INSTANCE_MASK; in mcux_ccm_off()
132 switch (clock_name) { in mcux_ccm_off()
151 uint32_t clock_name = (uintptr_t)sub_system; in mcux_ccm_get_subsys_rate() local
153 switch (clock_name) { in mcux_ccm_get_subsys_rate()
188 uint32_t instance = clock_name & IMX_CCM_INSTANCE_MASK; in mcux_ccm_get_subsys_rate()
199 uint32_t instance = clock_name & IMX_CCM_INSTANCE_MASK; in mcux_ccm_get_subsys_rate()
[all …]
Dclock_control_mcux_pcc.c37 uint32_t clock_name; in get_clock_encoding() local
40 clock_name = POINTER_TO_UINT(sub_system); in get_clock_encoding()
43 *clock_encoding = MAKE_PCC_REGADDR(DEV_BASE(dev), clock_name); in get_clock_encoding()
48 if (clock_name >= cfg->clock_num) { in get_clock_encoding()
52 *clock_encoding = cfg->clocks[clock_name]; in get_clock_encoding()
Dclock_control_mcux_mcg.c37 clock_name_t clock_name; in mcux_mcg_get_rate() local
42 clock_name = kCLOCK_McgFixedFreqClk; in mcux_mcg_get_rate()
54 *rate = CLOCK_GetFreq(clock_name); in mcux_mcg_get_rate()
Dclock_control_mcux_syscon.c111 uint32_t clock_name = (uint32_t) sub_system; in mcux_lpc_syscon_clock_control_get_subsys_rate() local
113 switch (clock_name) { in mcux_lpc_syscon_clock_control_get_subsys_rate()
371 __weak int flexspi_clock_set_freq(uint32_t clock_name, uint32_t freq) in flexspi_clock_set_freq() argument
373 ARG_UNUSED(clock_name); in flexspi_clock_set_freq()
394 uint32_t clock_name = (uintptr_t)subsys; in mcux_lpc_syscon_clock_control_set_subsys_rate() local
397 switch (clock_name) { in mcux_lpc_syscon_clock_control_set_subsys_rate()
404 return flexspi_clock_set_freq(clock_name, clock_rate); in mcux_lpc_syscon_clock_control_set_subsys_rate()
/Zephyr-Core-3.7.0/soc/nxp/imxrt/imxrt11xx/
Dsoc.h24 void imxrt_audio_codec_pll_init(uint32_t clock_name, uint32_t clk_src,
39 uint32_t flexspi_clock_set_freq(uint32_t clock_name, uint32_t rate);
Dflexspi.c14 uint32_t flexspi_clock_set_freq(uint32_t clock_name, uint32_t rate) in flexspi_clock_set_freq() argument
23 switch (clock_name) { in flexspi_clock_set_freq()
Dsoc.c609 void imxrt_audio_codec_pll_init(uint32_t clock_name, uint32_t clk_src, in imxrt_audio_codec_pll_init() argument
614 switch (clock_name) { in imxrt_audio_codec_pll_init()
/Zephyr-Core-3.7.0/soc/nxp/imxrt/imxrt10xx/
Dsoc.h24 void imxrt_audio_codec_pll_init(uint32_t clock_name, uint32_t clk_src,
39 uint32_t flexspi_clock_set_freq(uint32_t clock_name, uint32_t rate);
Dflexspi.c14 uint32_t flexspi_clock_set_freq(uint32_t clock_name, uint32_t rate) in flexspi_clock_set_freq() argument
22 switch (clock_name) { in flexspi_clock_set_freq()
Dsoc.c310 void imxrt_audio_codec_pll_init(uint32_t clock_name, uint32_t clk_src, in imxrt_audio_codec_pll_init() argument
313 switch (clock_name) { in imxrt_audio_codec_pll_init()
/Zephyr-Core-3.7.0/soc/nxp/rw/
Dflexspi_clock_setup.c22 int __ramfunc flexspi_clock_set_freq(uint32_t clock_name, uint32_t rate) in flexspi_clock_set_freq() argument
27 (void)clock_name; /* Not used by this function */ in flexspi_clock_set_freq()
Dsoc.h29 int flexspi_clock_set_freq(uint32_t clock_name, uint32_t rate);
/Zephyr-Core-3.7.0/soc/nxp/mcx/mcxnx4x/
Dsoc.h21 int flexspi_clock_set_freq(uint32_t clock_name, uint32_t rate);
Dflash_clock_setup.c8 uint32_t flexspi_clock_set_freq(uint32_t clock_name, uint32_t rate) in flexspi_clock_set_freq() argument
/Zephyr-Core-3.7.0/drivers/audio/
Ddmic_mcux.c48 clock_control_subsys_t clock_name; member
465 drv_config->clock_name, &bit_clk_rate); in dmic_mcux_configure()
716 .clock_name = (clock_control_subsys_t) \
/Zephyr-Core-3.7.0/drivers/i2s/
Di2s_mcux_sai.c1145 uint32_t clock_name = (uint32_t) dev_cfg->clk_sub_sys; in audio_clock_settings() local
1148 imxrt_audio_codec_pll_init(clock_name, dev_cfg->clk_src, in audio_clock_settings()