/Zephyr-Core-3.7.0/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_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() 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()
|
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.c | 78 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 …]
|
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_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_syscon.c | 111 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/ |
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 23 switch (clock_name) { in flexspi_clock_set_freq()
|
D | soc.c | 609 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/ |
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-Core-3.7.0/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-Core-3.7.0/soc/nxp/mcx/mcxnx4x/ |
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-Core-3.7.0/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-Core-3.7.0/drivers/i2s/ |
D | i2s_mcux_sai.c | 1145 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()
|