Searched refs:divisor_val (Results 1 – 2 of 2) sorted by relevance
325 uint32_t divisor_val; in uart_altera_configure() local340 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()
362 uint32_t divisor_val; in uart_intel_lw_configure() local379 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()