Home
last modified time | relevance | path

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

/external/u-boot/drivers/serial/
Dserial_pxa.c39 static void pxa_uart_toggle_clock(uint32_t uart_index, int enable) in pxa_uart_toggle_clock() argument
44 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() argument
85 switch (uart_index) { in pxa_uart_index_to_regs()
98 void pxa_setbrg_dev(uint32_t uart_index) in pxa_setbrg_dev() argument
100 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() argument
113 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 …]
/external/u-boot/drivers/clk/aspeed/
Dclk_ast2500.c92 static ulong ast2500_get_uart_clk_rate(struct ast2500_scu *scu, int uart_index) in ast2500_get_uart_clk_rate() argument
104 (1 << (uart_index - 1 + SCU_MISC2_UARTCLK_SHIFT))) in ast2500_get_uart_clk_rate()