Home
last modified time | relevance | path

Searched refs:clk_div (Results 1 – 11 of 11) sorted by relevance

/Zephyr-Core-3.5.0/drivers/clock_control/
Dclock_control_ast10x0.c99 uint32_t reg, src, clk_div; in aspeed_clock_control_get_rate() local
112 clk_div = I3C_CLK_DIV_REG_TO_VAL(FIELD_GET(I3C_CLK_DIV_SEL, reg)); in aspeed_clock_control_get_rate()
113 *rate = src / clk_div; in aspeed_clock_control_get_rate()
118 clk_div = HCLK_DIV_REG_TO_VAL(FIELD_GET(HCLK_DIV_SEL, reg)); in aspeed_clock_control_get_rate()
119 *rate = src / clk_div; in aspeed_clock_control_get_rate()
124 clk_div = PCLK_DIV_REG_TO_VAL(FIELD_GET(PCLK_DIV_SEL, reg)); in aspeed_clock_control_get_rate()
125 *rate = src / clk_div; in aspeed_clock_control_get_rate()
Dclock_control_numaker_scc.c88 scc_subsys->pcc.clk_div); in numaker_scc_configure()
/Zephyr-Core-3.5.0/include/zephyr/drivers/clock_control/
Dclock_control_numaker.h36 uint32_t clk_div; member
/Zephyr-Core-3.5.0/drivers/spi/
Dspi_numaker.c31 uint32_t clk_div; member
290 scc_subsys.pcc.clk_div = dev_cfg->clk_div; in spi_numaker_init()
343 .clk_div = DT_INST_CLOCKS_CELL(inst, clock_divider), \
/Zephyr-Core-3.5.0/drivers/serial/
Duart_numaker.c26 uint32_t clk_div; member
201 scc_subsys.pcc.clk_div = config->clk_div; in uart_numaker_init()
434 .clk_div = DT_INST_CLOCKS_CELL(inst, clock_divider), \
Duart_b91.c46 uint16_t clk_div; member
206 uart->clk_div = divider; in uart_b91_init()
/Zephyr-Core-3.5.0/drivers/sensor/esp32_temp/
Desp32_temp.c81 data->temp_sensor.dac_offset, data->temp_sensor.clk_div); in esp32_temp_init()
/Zephyr-Core-3.5.0/drivers/pwm/
Dpwm_numaker.c38 uint32_t clk_div; member
483 scc_subsys.pcc.clk_div = cfg->clk_div; in pwm_numaker_init()
567 .clk_div = DT_INST_CLOCKS_CELL(inst, clock_divider), \
/Zephyr-Core-3.5.0/drivers/i2s/
Di2s_sam_ssc.c516 uint32_t clk_div = SOC_ATMEL_SAM_MCK_FREQ_HZ / bit_clk_freq / 2U; in bit_clock_set() local
518 if (clk_div == 0U || clk_div >= (1 << 12)) { in bit_clock_set()
523 ssc->SSC_CMR = clk_div; in bit_clock_set()
/Zephyr-Core-3.5.0/drivers/disk/
Dsdmmc_stm32.c692 #if DT_INST_NODE_HAS_PROP(0, clk_div)
693 .Init.ClockDiv = DT_INST_PROP(0, clk_div),
/Zephyr-Core-3.5.0/drivers/i2c/
Di2c_ite_enhance.c295 uint32_t clk_div, psr, pll_clock; in i2c_enhanced_port_set_frequency() local
310 clk_div = (IT8XXX2_ECPM_SCDCR2 & 0x0F) + 1U; in i2c_enhanced_port_set_frequency()
312 psr = (pll_clock / (clk_div * (2U * freq_hz))) - 2U; in i2c_enhanced_port_set_frequency()