Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/tty/serial/
Dpic32_uart.c805 int uart_idx = 0; in pic32_uart_probe() local
810 uart_idx = of_alias_get_id(np, "serial"); in pic32_uart_probe()
811 if (uart_idx < 0 || uart_idx >= PIC32_MAX_UARTS) in pic32_uart_probe()
822 sport->idx = uart_idx; in pic32_uart_probe()
856 pic32_sports[uart_idx] = sport; in pic32_uart_probe()
866 port->line = uart_idx; in pic32_uart_probe()
888 __func__, uart_idx); in pic32_uart_probe()
/Linux-v4.19/arch/arm/mach-iop13xx/
Dsetup.c369 u32 uart_idx, i2c_idx, adma_idx, plat_idx; in iop13xx_platform_init() local
422 uart_idx = 0; in iop13xx_platform_init()
428 iop13xx_uart1.id = uart_idx++; in iop13xx_platform_init()
433 iop13xx_uart0.id = uart_idx++; in iop13xx_platform_init()