/Zephyr-latest/include/zephyr/drivers/clock_control/ |
D | adi_max32_clock_control.h | 36 uint32_t clk_src; member 99 #define ADI_MAX32_GET_PRPH_CLK_FREQ(clk_src) \ argument 100 ((clk_src) == ADI_MAX32_PRPH_CLK_SRC_PCLK ? ADI_MAX32_PCLK_FREQ \ 101 : (clk_src) == ADI_MAX32_PRPH_CLK_SRC_IBRO ? ADI_MAX32_CLK_IBRO_FREQ \ 102 : (clk_src) == ADI_MAX32_PRPH_CLK_SRC_ERFO ? ADI_MAX32_CLK_ERFO_FREQ \ 103 : (clk_src) == ADI_MAX32_PRPH_CLK_SRC_ERTCO ? ADI_MAX32_CLK_ERTCO_FREQ \ 104 : (clk_src) == ADI_MAX32_PRPH_CLK_SRC_INRO ? ADI_MAX32_CLK_INRO_FREQ \ 105 : (clk_src) == ADI_MAX32_PRPH_CLK_SRC_ISO ? ADI_MAX32_CLK_ISO_FREQ \ 106 : (clk_src) == ADI_MAX32_PRPH_CLK_SRC_IBRO_DIV8 ? (ADI_MAX32_CLK_IBRO_FREQ / 8) \ 107 : (clk_src) == ADI_MAX32_PRPH_CLK_SRC_EXTCLK ? ADI_MAX32_CLK_EXTCLK_FREQ \ [all …]
|
D | clock_control_numaker.h | 35 uint32_t clk_src; member
|
D | esp32_clock_control.h | 29 int clk_src; member
|
/Zephyr-latest/drivers/watchdog/ |
D | wdt_wwdt_numaker.c | 29 uint32_t clk_src; member 46 if (cfg->clk_src == CLK_CLKSEL1_WWDTSEL_LIRC) { in m_wwdt_numaker_clk_get_rate() 261 scc_subsys.pcc.clk_src = cfg->clk_src; in wwdt_numaker_init() 291 .clk_src = DT_INST_CLOCKS_CELL(0, clock_source),
|
D | wdt_max32.c | 127 wdt_max32_calculate_timeout(data->timeout.min, dev_cfg->perclk.clk_src); in wdt_max32_install_timeout() 152 wdt_max32_calculate_timeout(data->timeout.max, dev_cfg->perclk.clk_src); in wdt_max32_install_timeout() 227 ret = Wrap_MXC_WDT_SelectClockSource(regs, cfg->perclk.clk_src); in wdt_max32_init() 263 .perclk.clk_src = \
|
/Zephyr-latest/soc/nxp/imxrt/imxrt10xx/ |
D | soc.h | 24 void imxrt_audio_codec_pll_init(uint32_t clock_name, uint32_t clk_src,
|
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 315 CLOCK_SetMux(kCLOCK_Sai1Mux, clk_src); in imxrt_audio_codec_pll_init() 320 CLOCK_SetMux(kCLOCK_Sai2Mux, clk_src); in imxrt_audio_codec_pll_init() 325 CLOCK_SetMux(kCLOCK_Sai2Mux, clk_src); in imxrt_audio_codec_pll_init()
|
/Zephyr-latest/drivers/clock_control/ |
D | clock_control_renesas_ra_cgc.c | 60 clk_src_rate = R_BSP_SourceClockHzGet(config->clk_src); in clock_control_renesas_ra_get_rate() 93 {.clk_src = COND_CODE_1( \
|
D | clock_control_max32.c | 63 switch (perclk->clk_src) { in api_get_rate()
|
/Zephyr-latest/soc/nxp/imxrt/imxrt11xx/ |
D | soc.h | 24 void imxrt_audio_codec_pll_init(uint32_t clock_name, uint32_t clk_src,
|
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 596 CLOCK_SetRootClockMux(kCLOCK_Root_Sai1, clk_src); in imxrt_audio_codec_pll_init() 600 CLOCK_SetRootClockMux(kCLOCK_Root_Sai2, clk_src); in imxrt_audio_codec_pll_init() 604 CLOCK_SetRootClockMux(kCLOCK_Root_Sai3, clk_src); in imxrt_audio_codec_pll_init() 608 CLOCK_SetRootClockMux(kCLOCK_Root_Sai4, clk_src); in imxrt_audio_codec_pll_init()
|
/Zephyr-latest/drivers/pwm/ |
D | pwm_numaker.c | 37 uint32_t clk_src; member 432 uint32_t clk_src; in pwm_numaker_clk_get_rate() local 436 clk_src = CLK->CLKSEL2 & CLK_CLKSEL2_EPWM0SEL_Msk; in pwm_numaker_clk_get_rate() 438 clk_src = CLK->CLKSEL2 & CLK_CLKSEL2_EPWM1SEL_Msk; in pwm_numaker_clk_get_rate() 444 if (clk_src == 0U) { in pwm_numaker_clk_get_rate() 482 scc_subsys.pcc.clk_src = cfg->clk_src; in pwm_numaker_init() 566 .clk_src = DT_INST_CLOCKS_CELL(inst, clock_source), \
|
D | pwm_max32.c | 63 pwm_cfg.clock = Wrap_MXC_TMR_GetClockIndex(cfg->perclk.clk_src); in api_set_cycles() 135 .perclk.clk_src = DT_PROP(DT_INST_PARENT(_num), clock_source), \
|
/Zephyr-latest/drivers/counter/ |
D | counter_ambiq_timer.c | 24 uint32_t clk_src; member 69 (cfg->clk_src << CTIMER_CTRL0_TMRA0CLK_Pos)); in counter_ambiq_init() 82 tc.eInputClock = cfg->clk_src; in counter_ambiq_init() 299 .clk_src = DT_INST_PROP(idx, clk_source), \
|
/Zephyr-latest/drivers/can/ |
D | can_numaker.c | 38 uint32_t clk_src; member 90 scc_subsys.pcc.clk_src = config->clk_src; in can_numaker_init_unlocked() 271 .clk_src = DT_INST_CLOCKS_CELL(inst, clock_source), \
|
/Zephyr-latest/drivers/spi/ |
D | spi_numaker.c | 31 uint32_t clk_src; member 305 scc_subsys.pcc.clk_src = dev_cfg->clk_src; in spi_numaker_init() 358 .clk_src = DT_INST_CLOCKS_CELL(inst, clock_source), \
|
/Zephyr-latest/drivers/rtc/ |
D | rtc_ambiq.c | 29 uint8_t clk_src; member 364 am_hal_clkgen_control(AM_HAL_CLKGEN_CONTROL_XTAL_START + config->clk_src, NULL); in ambiq_rtc_init() 366 am_hal_clkgen_control(AM_HAL_CLKGEN_CONTROL_RTC_SEL_XTAL + config->clk_src, NULL); in ambiq_rtc_init() 396 .clk_src = DT_INST_ENUM_IDX(inst, clock)}; \
|
/Zephyr-latest/drivers/audio/ |
D | dmic_nrfx_pdm.c | 46 } clk_src; member 207 (NRF_PDM_HAS_MCLKCONFIG && drv_cfg->clk_src == ACLK) in check_pdm_frequencies() 441 nrfx_cfg.mclksrc = drv_cfg->clk_src == ACLK in dmic_nrfx_pdm_configure() 469 drv_data->request_clock = (drv_cfg->clk_src != PCLK32M); in dmic_nrfx_pdm_configure() 612 if (drv_cfg->clk_src == ACLK) { in init_clock_manager() 667 .clk_src = PDM_CLK_SRC(idx), \
|
/Zephyr-latest/drivers/adc/ |
D | adc_numaker.c | 33 uint32_t clk_src; member 333 scc_subsys.pcc.clk_src = cfg->clk_src; in adc_numaker_init() 387 .clk_src = DT_INST_CLOCKS_CELL(inst, clock_source), \
|
D | adc_esp32.c | 314 soc_module_clk_t clk_src = ADC_DIGI_CLK_SRC_DEFAULT; in adc_esp32_digi_start() local 317 esp_clk_tree_src_get_freq_hz(clk_src, ESP_CLK_TREE_SRC_FREQ_PRECISION_CACHED, in adc_esp32_digi_start() 322 adc_hal_digi_ctrlr_cfg.clk_src = clk_src; in adc_esp32_digi_start()
|
/Zephyr-latest/drivers/serial/ |
D | uart_numaker.c | 25 uint32_t clk_src; member 200 scc_subsys.pcc.clk_src = config->clk_src; in uart_numaker_init() 433 .clk_src = DT_INST_CLOCKS_CELL(inst, clock_source), \
|
/Zephyr-latest/tests/boards/espressif/rtc_clk/src/ |
D | rtc_clk_test.c | 55 clk_cfg.cpu.clk_src = ESP32_CPU_CLK_SRC_XTAL; in ZTEST() 95 clk_cfg.cpu.clk_src = ESP32_CPU_CLK_SRC_PLL; in ZTEST()
|
/Zephyr-latest/drivers/i2s/ |
D | i2s_nrfx.c | 56 } clk_src; member 81 (NRF_I2S_HAS_CLKCONFIG && drv_cfg->clk_src == ACLK) in find_suitable_clock() 531 drv_data->request_clock = (drv_cfg->clk_src != PCLK32M); in i2s_nrfx_configure() 760 drv_cfg->clk_src == ACLK ? NRF_I2S_CLKSRC_ACLK in trigger_start() 905 if (drv_cfg->clk_src == ACLK) { in init_clock_manager() 949 .clk_src = I2S_CLK_SRC(idx), \
|
/Zephyr-latest/drivers/sensor/ti/fdc2x1x/ |
D | fdc2x1x.c | 344 static int fdc2x1x_set_ref_clk_src(const struct device *dev, uint8_t clk_src) in fdc2x1x_set_ref_clk_src() argument 349 FDC2X1X_CFG_REF_CLK_SRC_SET(clk_src)); in fdc2x1x_set_ref_clk_src() 807 ret = fdc2x1x_set_ref_clk_src(dev, cfg->clk_src); in fdc2x1x_init_config() 1009 .clk_src = DT_INST_ENUM_IDX(n, ref_clk_src), \
|
/Zephyr-latest/drivers/ethernet/ |
D | eth_numaker.c | 49 uint32_t clk_src; member 724 scc_subsys.pcc.clk_src = cfg->clk_src; in eth_numaker_init() 781 .clk_src = DT_INST_CLOCKS_CELL(0, clock_source),
|