Searched refs:uart_idx (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/tty/serial/ |
H A D | pic32_uart.c | 869 int uart_idx = 0; in pic32_uart_probe() local 874 uart_idx = of_alias_get_id(np, "serial"); in pic32_uart_probe() 875 if (uart_idx < 0 || uart_idx >= PIC32_MAX_UARTS) in pic32_uart_probe() 886 sport->idx = uart_idx; in pic32_uart_probe() 903 pic32_sports[uart_idx] = sport; in pic32_uart_probe() 912 port->line = uart_idx; in pic32_uart_probe() 933 __func__, uart_idx); in pic32_uart_probe()
|
/openbmc/qemu/hw/openrisc/ |
H A D | openrisc_sim.c | 248 int uart_idx) in openrisc_sim_serial_init() argument 268 serial_hd(uart_idx), in openrisc_sim_serial_init() 280 if (uart_idx == 0) { in openrisc_sim_serial_init() 284 snprintf(alias, sizeof(alias), "serial%d", uart_idx); in openrisc_sim_serial_init()
|
/openbmc/u-boot/drivers/clk/aspeed/ |
H A D | clk_ast2600.c | 526 static void ast2600_enable_uart_pinmux(struct ast2600_scu *scu, int uart_idx) in ast2600_enable_uart_pinmux() argument 528 switch(uart_idx) { in ast2600_enable_uart_pinmux() 576 static u32 ast2600_get_uart_clk_rate(struct ast2600_scu *scu, int uart_idx) in ast2600_get_uart_clk_rate() argument 584 ast2600_enable_uart_pinmux(scu, uart_idx); in ast2600_get_uart_clk_rate() 587 switch (uart_idx) { in ast2600_get_uart_clk_rate() 592 hicr9 &= ~(BIT(uart_idx + 3)); in ast2600_get_uart_clk_rate() 595 if (uart_sel & BIT(uart_idx - 1)) in ast2600_get_uart_clk_rate() 634 if (uart_sel5 & BIT(uart_idx - 1)) in ast2600_get_uart_clk_rate()
|
H A D | clk_ast2500.c | 168 static u32 ast2500_get_uart_clk_rate(struct ast2500_scu *scu, int uart_idx) in ast2500_get_uart_clk_rate() argument 180 (1 << (uart_idx - 1 + SCU_MISC2_UARTCLK_SHIFT))) in ast2500_get_uart_clk_rate()
|
H A D | clk_ast2400.c | 210 static u32 ast2400_get_uart_clk_rate(struct ast2400_scu *scu, int uart_idx) in ast2400_get_uart_clk_rate() argument
|