Home
last modified time | relevance | path

Searched refs:clk_src (Results 26 – 41 of 41) sorted by relevance

12

/Zephyr-latest/include/zephyr/drivers/clock_control/
Drenesas_ra_cgc.h72 uint32_t clk_src; member
/Zephyr-latest/drivers/adc/
Dadc_max32.c248 .clock = config->perclk.clk_src, in adc_max32_init()
326 .perclk.clk_src = \
Dadc_stm32.c1379 clock_control_subsys_t clk_src; local
1385 clk_src = (clock_control_subsys_t)(adc_stm32_is_clk_sync(config) ? &config->pclken[0]
1388 if (clock_control_get_rate(clk, clk_src, &input_freq) != 0) {
/Zephyr-latest/drivers/i2c/
Di2c_numaker.c61 uint32_t clk_src; member
697 scc_subsys.pcc.clk_src = config->clk_src; in i2c_numaker_init()
767 .clk_src = DT_INST_CLOCKS_CELL(inst, clock_source), \
Di2c_esp32.c100 static uint32_t i2c_get_src_clk_freq(i2c_clock_source_t clk_src) in i2c_get_src_clk_freq() argument
104 switch (clk_src) { in i2c_get_src_clk_freq()
127 LOG_ERR("clock source %d is not supported", clk_src); in i2c_get_src_clk_freq()
/Zephyr-latest/drivers/clock_control/
Dclock_control_numaker_scc.c87 CLK_SetModuleClock(scc_subsys->pcc.clk_modidx, scc_subsys->pcc.clk_src, in numaker_scc_configure()
Dclock_control_esp32.c694 if (!ret || (new_config.source != cpu_cfg->clk_src)) { in esp32_cpu_clock_configure()
808 .clk_src = DT_PROP(DT_INST(0, DT_CPU_COMPAT), clock_source),
/Zephyr-latest/drivers/spi/
Dspi_b91.c303 uint8_t clk_src = b91_config->peripheral_id == PSPI_MODULE ? sys_clk.pclk : sys_clk.hclk; in spi_b91_config() local
332 clk_src * 1000000 / (2 * config->frequency) - 1, mode); in spi_b91_config()
/Zephyr-latest/drivers/serial/
Duart_max32.c186 err = Wrap_MXC_UART_SetFrequency(regs, uart_cfg->baudrate, cfg->perclk.clk_src); in api_configure()
439 .perclk.clk_src = \
/Zephyr-latest/drivers/sensor/ti/fdc2x1x/
Dfdc2x1x.h201 uint8_t clk_src; member
/Zephyr-latest/drivers/usb/udc/
Dudc_numaker.c117 uint32_t clk_src; member
310 scc_subsys.pcc.clk_src = config->clk_src; in numaker_usbd_hw_setup()
1774 .clk_src = DT_INST_CLOCKS_CELL(inst, clock_source), \
/Zephyr-latest/drivers/usb/device/
Dusb_dc_numaker.c75 uint32_t clk_src; member
365 scc_subsys.pcc.clk_src = config->clk_src; in numaker_usbd_hw_setup()
1981 .clk_src = DT_INST_CLOCKS_CELL(inst, clock_source), \
/Zephyr-latest/drivers/i2s/
Di2s_mcux_sai.c83 uint32_t clk_src; member
1073 imxrt_audio_codec_pll_init(clock_name, dev_cfg->clk_src, dev_cfg->clk_pre_div, in audio_clock_settings()
1178 .clk_src = DT_INST_PROP(i2s_id, clock_mux), \
Di2s_esp32.c70 uint32_t i2s_esp32_get_source_clk_freq(i2s_clock_src_t clk_src) in i2s_esp32_get_source_clk_freq() argument
74 esp_clk_tree_src_get_freq_hz(clk_src, ESP_CLK_TREE_SRC_FREQ_PRECISION_CACHED, &clk_freq); in i2s_esp32_get_source_clk_freq()
/Zephyr-latest/drivers/dai/intel/ssp/
Dssp.c546 static bool dai_ssp_is_bclk_source_in_use(struct dai_intel_ssp *dp, enum bclk_source clk_src) in dai_ssp_is_bclk_source_in_use() argument
553 if (mp->bclk_sources[i] == clk_src) { in dai_ssp_is_bclk_source_in_use()
/Zephyr-latest/drivers/usb_c/tcpc/
Ducpd_numaker.c2356 .pcc.clk_src = DT_INST_CLOCKS_CELL_BY_NAME(inst, name, clock_source), \

12