Searched refs:uart_index (Results 1 – 2 of 2) sorted by relevance
39 static void pxa_uart_toggle_clock(uint32_t uart_index, int enable) in pxa_uart_toggle_clock() argument44 clk_offset = UART_CLK_BASE << uart_index; in pxa_uart_toggle_clock()83 static struct pxa_uart_regs *pxa_uart_index_to_regs(uint32_t uart_index) in pxa_uart_index_to_regs() argument85 switch (uart_index) { in pxa_uart_index_to_regs()98 void pxa_setbrg_dev(uint32_t uart_index) in pxa_setbrg_dev() argument100 struct pxa_uart_regs *uart_regs = pxa_uart_index_to_regs(uart_index); in pxa_setbrg_dev()104 pxa_setbrg_common(uart_regs, uart_index, gd->baudrate); in pxa_setbrg_dev()111 int pxa_init_dev(unsigned int uart_index) in pxa_init_dev() argument113 pxa_setbrg_dev(uart_index); in pxa_init_dev()120 void pxa_putc_dev(unsigned int uart_index, const char c) in pxa_putc_dev() argument[all …]
92 static ulong ast2500_get_uart_clk_rate(struct ast2500_scu *scu, int uart_index) in ast2500_get_uart_clk_rate() argument104 (1 << (uart_index - 1 + SCU_MISC2_UARTCLK_SHIFT))) in ast2500_get_uart_clk_rate()