Searched refs:arc_console_baud (Results 1 – 1 of 1) sorted by relevance
42 int arc_console_baud = gd->cpu_clk / (baudrate * 4) - 1; in arc_serial_setbrg() local44 writeb(arc_console_baud & 0xff, ®s->baudl); in arc_serial_setbrg()45 writeb((arc_console_baud & 0xff00) >> 8, ®s->baudh); in arc_serial_setbrg()140 int arc_console_baud = CONFIG_DEBUG_UART_CLOCK / (CONFIG_BAUDRATE * 4) - 1; in _debug_uart_init() local142 writeb(arc_console_baud & 0xff, ®s->baudl); in _debug_uart_init()143 writeb((arc_console_baud & 0xff00) >> 8, ®s->baudh); in _debug_uart_init()