Lines Matching refs:sport
595 struct netx_port *sport; in netx_console_setup() local
608 sport = &netx_ports[co->index]; in netx_console_setup()
616 if (readl(sport->port.membase + UART_CR) & CR_UART_EN) { in netx_console_setup()
617 netx_console_get_options(&sport->port, &baud, in netx_console_setup()
623 return uart_set_options(&sport->port, co, baud, parity, bits, flow); in netx_console_setup()
661 struct netx_port *sport = platform_get_drvdata(pdev); in serial_netx_suspend() local
663 if (sport) in serial_netx_suspend()
664 uart_suspend_port(&netx_reg, &sport->port); in serial_netx_suspend()
671 struct netx_port *sport = platform_get_drvdata(pdev); in serial_netx_resume() local
673 if (sport) in serial_netx_resume()
674 uart_resume_port(&netx_reg, &sport->port); in serial_netx_resume()
696 struct netx_port *sport = platform_get_drvdata(pdev); in serial_netx_remove() local
698 if (sport) in serial_netx_remove()
699 uart_remove_one_port(&netx_reg, &sport->port); in serial_netx_remove()