/Zephyr-latest/drivers/clock_control/ |
D | clock_control_mcux_scg.c | 40 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 …]
|
D | clock_control_nxp_s32.c | 21 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()
|
D | clock_control_mcux_scg_k4.c | 37 clock_name_t clock_name; in mcux_scg_k4_get_rate() local 41 clock_name = kCLOCK_CoreSysClk; in mcux_scg_k4_get_rate() 44 clock_name = kCLOCK_SlowClk; in mcux_scg_k4_get_rate() 47 clock_name = kCLOCK_PlatClk; in mcux_scg_k4_get_rate() 50 clock_name = kCLOCK_SysClk; in mcux_scg_k4_get_rate() 53 clock_name = kCLOCK_BusClk; in mcux_scg_k4_get_rate() 56 clock_name = kCLOCK_ScgSysOscClk; in mcux_scg_k4_get_rate() 59 clock_name = kCLOCK_ScgSircClk; in mcux_scg_k4_get_rate() 62 clock_name = kCLOCK_ScgFircClk; in mcux_scg_k4_get_rate() 65 clock_name = kCLOCK_RtcOscClk; in mcux_scg_k4_get_rate() [all …]
|
D | clock_control_mcux_sim.c | 48 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()
|
D | clock_control_ambiq.c | 29 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()
|
D | clock_control_mcux_ccm_rev2.c | 20 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() 297 uint32_t clock_name = (uintptr_t)subsys; in mcux_ccm_set_subsys_rate() local 300 switch (clock_name) { in mcux_ccm_set_subsys_rate() 310 return flexspi_clock_set_freq(clock_name, clock_rate); in mcux_ccm_set_subsys_rate()
|
D | clock_control_mcux_ccm.c | 88 uint32_t clock_name = (uintptr_t)sub_system; in mcux_ccm_on() local 89 uint32_t instance = clock_name & IMX_CCM_INSTANCE_MASK; in mcux_ccm_on() 91 switch (clock_name) { in mcux_ccm_on() 149 uint32_t clock_name = (uintptr_t)sub_system; in mcux_ccm_off() local 150 uint32_t instance = clock_name & IMX_CCM_INSTANCE_MASK; in mcux_ccm_off() 152 switch (clock_name) { in mcux_ccm_off() 181 uint32_t clock_name = (uintptr_t)sub_system; in mcux_ccm_get_subsys_rate() local 183 switch (clock_name) { in mcux_ccm_get_subsys_rate() 218 uint32_t instance = clock_name & IMX_CCM_INSTANCE_MASK; in mcux_ccm_get_subsys_rate() 229 uint32_t instance = clock_name & IMX_CCM_INSTANCE_MASK; in mcux_ccm_get_subsys_rate() [all …]
|
D | clock_control_mcux_mcg.c | 37 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()
|
D | clock_control_mcux_pcc.c | 37 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()
|
D | clock_control_mcux_syscon.c | 146 uint32_t clock_name = (uint32_t)sub_system; in mcux_lpc_syscon_clock_control_get_subsys_rate() local 148 switch (clock_name) { in mcux_lpc_syscon_clock_control_get_subsys_rate() 456 __weak int flexspi_clock_set_freq(uint32_t clock_name, uint32_t freq) in flexspi_clock_set_freq() argument 458 ARG_UNUSED(clock_name); in flexspi_clock_set_freq() 477 uint32_t clock_name = (uintptr_t)subsys; in mcux_lpc_syscon_clock_control_set_subsys_rate() local 480 switch (clock_name) { in mcux_lpc_syscon_clock_control_set_subsys_rate() 487 return flexspi_clock_set_freq(clock_name, clock_rate); in mcux_lpc_syscon_clock_control_set_subsys_rate()
|
/Zephyr-latest/soc/nxp/imxrt/imxrt10xx/ |
D | soc.h | 24 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);
|
D | flexspi.c | 14 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()
|
D | soc.c | 310 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-latest/soc/nxp/imxrt/imxrt11xx/ |
D | soc.h | 24 void imxrt_audio_codec_pll_init(uint32_t clock_name, uint32_t clk_src, 43 uint32_t flexspi_clock_set_freq(uint32_t clock_name, uint32_t rate);
|
D | flexspi.c | 14 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()
|
D | soc.c | 589 void imxrt_audio_codec_pll_init(uint32_t clock_name, uint32_t clk_src, uint32_t clk_pre_div, in imxrt_audio_codec_pll_init() argument 594 switch (clock_name) { in imxrt_audio_codec_pll_init()
|
/Zephyr-latest/soc/nxp/rw/ |
D | flexspi_clock_setup.c | 22 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()
|
D | soc.h | 29 int flexspi_clock_set_freq(uint32_t clock_name, uint32_t rate);
|
/Zephyr-latest/soc/nxp/imxrt/imxrt118x/ |
D | flexspi.c | 14 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()
|
D | soc.h | 24 uint32_t flexspi_clock_set_freq(uint32_t clock_name, uint32_t rate);
|
/Zephyr-latest/soc/nxp/mcx/mcxn/ |
D | soc.h | 21 int flexspi_clock_set_freq(uint32_t clock_name, uint32_t rate);
|
D | flash_clock_setup.c | 8 uint32_t flexspi_clock_set_freq(uint32_t clock_name, uint32_t rate) in flexspi_clock_set_freq() argument
|
/Zephyr-latest/drivers/audio/ |
D | dmic_mcux.c | 48 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-latest/drivers/i2s/ |
D | i2s_mcux_sai.c | 1070 uint32_t clock_name = (uint32_t)dev_cfg->clk_sub_sys; in audio_clock_settings() local 1073 imxrt_audio_codec_pll_init(clock_name, dev_cfg->clk_src, dev_cfg->clk_pre_div, in audio_clock_settings()
|