Home
last modified time | relevance | path

Searched refs:divisor_val (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/serial/
Duart_altera.c325 uint32_t divisor_val; in uart_altera_configure() local
340 divisor_val = (CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC/cfg_in->baudrate) - 1; in uart_altera_configure()
341 sys_write32(divisor_val, config->base + ALTERA_AVALON_UART_DIVISOR_REG_OFFSET); in uart_altera_configure()
Duart_intel_lw.c362 uint32_t divisor_val; in uart_intel_lw_configure() local
379 divisor_val = (CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC/cfg_in->baudrate) - 1; in uart_intel_lw_configure()
380 sys_write32(divisor_val, config->base + INTEL_LW_UART_DIVISOR_REG_OFFSET); in uart_intel_lw_configure()