mps_port           86 drivers/tty/serial/mps2-uart.c 	struct mps2_uart_port *mps_port = to_mps2_port(port);
mps_port           88 drivers/tty/serial/mps2-uart.c 	writeb(val, mps_port->port.membase + off);
mps_port           93 drivers/tty/serial/mps2-uart.c 	struct mps2_uart_port *mps_port = to_mps2_port(port);
mps_port           95 drivers/tty/serial/mps2-uart.c 	return readb(mps_port->port.membase + off);
mps_port          100 drivers/tty/serial/mps2-uart.c 	struct mps2_uart_port *mps_port = to_mps2_port(port);
mps_port          102 drivers/tty/serial/mps2-uart.c 	writel_relaxed(val, mps_port->port.membase + off);
mps_port          287 drivers/tty/serial/mps2-uart.c 	struct mps2_uart_port *mps_port = to_mps2_port(port);
mps_port          295 drivers/tty/serial/mps2-uart.c 	if (mps_port->flags & UART_PORT_COMBINED_IRQ) {
mps_port          297 drivers/tty/serial/mps2-uart.c 				  MAKE_NAME(-combined), mps_port);
mps_port          305 drivers/tty/serial/mps2-uart.c 				  MAKE_NAME(-overrun), mps_port);
mps_port          312 drivers/tty/serial/mps2-uart.c 		ret = request_irq(mps_port->rx_irq, mps2_uart_rxirq, 0,
mps_port          313 drivers/tty/serial/mps2-uart.c 				  MAKE_NAME(-rx), mps_port);
mps_port          319 drivers/tty/serial/mps2-uart.c 		ret = request_irq(mps_port->tx_irq, mps2_uart_txirq, 0,
mps_port          320 drivers/tty/serial/mps2-uart.c 				  MAKE_NAME(-tx), mps_port);
mps_port          335 drivers/tty/serial/mps2-uart.c 	free_irq(mps_port->rx_irq, mps_port);
mps_port          337 drivers/tty/serial/mps2-uart.c 	free_irq(port->irq, mps_port);
mps_port          344 drivers/tty/serial/mps2-uart.c 	struct mps2_uart_port *mps_port = to_mps2_port(port);
mps_port          351 drivers/tty/serial/mps2-uart.c 	if (!(mps_port->flags & UART_PORT_COMBINED_IRQ)) {
mps_port          352 drivers/tty/serial/mps2-uart.c 		free_irq(mps_port->rx_irq, mps_port);
mps_port          353 drivers/tty/serial/mps2-uart.c 		free_irq(mps_port->tx_irq, mps_port);
mps_port          356 drivers/tty/serial/mps2-uart.c 	free_irq(port->irq, mps_port);
mps_port          445 drivers/tty/serial/mps2-uart.c 	struct mps2_uart_port *mps_port = idr_find(&ports_idr, co->index);
mps_port          446 drivers/tty/serial/mps2-uart.c 	struct uart_port *port = &mps_port->port;
mps_port          453 drivers/tty/serial/mps2-uart.c 	struct mps2_uart_port *mps_port;
mps_port          462 drivers/tty/serial/mps2-uart.c 	mps_port = idr_find(&ports_idr, co->index);
mps_port          464 drivers/tty/serial/mps2-uart.c 	if (!mps_port)
mps_port          470 drivers/tty/serial/mps2-uart.c 	return uart_set_options(&mps_port->port, co, baud, parity, bits, flow);
mps_port          527 drivers/tty/serial/mps2-uart.c 			    struct mps2_uart_port *mps_port)
mps_port          538 drivers/tty/serial/mps2-uart.c 		id = idr_alloc_cyclic(&ports_idr, (void *)mps_port, 0, MPS2_MAX_PORTS, GFP_KERNEL);
mps_port          540 drivers/tty/serial/mps2-uart.c 		id = idr_alloc(&ports_idr, (void *)mps_port, id, MPS2_MAX_PORTS, GFP_KERNEL);
mps_port          547 drivers/tty/serial/mps2-uart.c 		mps_port->flags |= UART_PORT_COMBINED_IRQ;
mps_port          549 drivers/tty/serial/mps2-uart.c 	mps_port->port.line = id;
mps_port          555 drivers/tty/serial/mps2-uart.c 			  struct mps2_uart_port *mps_port)
mps_port          561 drivers/tty/serial/mps2-uart.c 	mps_port->port.membase = devm_ioremap_resource(&pdev->dev, res);
mps_port          562 drivers/tty/serial/mps2-uart.c 	if (IS_ERR(mps_port->port.membase))
mps_port          563 drivers/tty/serial/mps2-uart.c 		return PTR_ERR(mps_port->port.membase);
mps_port          565 drivers/tty/serial/mps2-uart.c 	mps_port->port.mapbase = res->start;
mps_port          566 drivers/tty/serial/mps2-uart.c 	mps_port->port.mapsize = resource_size(res);
mps_port          567 drivers/tty/serial/mps2-uart.c 	mps_port->port.iotype = UPIO_MEM;
mps_port          568 drivers/tty/serial/mps2-uart.c 	mps_port->port.flags = UPF_BOOT_AUTOCONF;
mps_port          569 drivers/tty/serial/mps2-uart.c 	mps_port->port.fifosize = 1;
mps_port          570 drivers/tty/serial/mps2-uart.c 	mps_port->port.ops = &mps2_uart_pops;
mps_port          571 drivers/tty/serial/mps2-uart.c 	mps_port->port.dev = &pdev->dev;
mps_port          573 drivers/tty/serial/mps2-uart.c 	mps_port->clk = devm_clk_get(&pdev->dev, NULL);
mps_port          574 drivers/tty/serial/mps2-uart.c 	if (IS_ERR(mps_port->clk))
mps_port          575 drivers/tty/serial/mps2-uart.c 		return PTR_ERR(mps_port->clk);
mps_port          577 drivers/tty/serial/mps2-uart.c 	ret = clk_prepare_enable(mps_port->clk);
mps_port          581 drivers/tty/serial/mps2-uart.c 	mps_port->port.uartclk = clk_get_rate(mps_port->clk);
mps_port          583 drivers/tty/serial/mps2-uart.c 	clk_disable_unprepare(mps_port->clk);
mps_port          586 drivers/tty/serial/mps2-uart.c 	if (mps_port->flags & UART_PORT_COMBINED_IRQ) {
mps_port          587 drivers/tty/serial/mps2-uart.c 		mps_port->port.irq = platform_get_irq(pdev, 0);
mps_port          589 drivers/tty/serial/mps2-uart.c 		mps_port->rx_irq = platform_get_irq(pdev, 0);
mps_port          590 drivers/tty/serial/mps2-uart.c 		mps_port->tx_irq = platform_get_irq(pdev, 1);
mps_port          591 drivers/tty/serial/mps2-uart.c 		mps_port->port.irq = platform_get_irq(pdev, 2);
mps_port          599 drivers/tty/serial/mps2-uart.c 	struct mps2_uart_port *mps_port;
mps_port          602 drivers/tty/serial/mps2-uart.c 	mps_port = devm_kzalloc(&pdev->dev, sizeof(struct mps2_uart_port), GFP_KERNEL);
mps_port          604 drivers/tty/serial/mps2-uart.c         if (!mps_port)
mps_port          607 drivers/tty/serial/mps2-uart.c 	ret = mps2_of_get_port(pdev, mps_port);
mps_port          611 drivers/tty/serial/mps2-uart.c 	ret = mps2_init_port(pdev, mps_port);
mps_port          615 drivers/tty/serial/mps2-uart.c 	ret = uart_add_one_port(&mps2_uart_driver, &mps_port->port);
mps_port          619 drivers/tty/serial/mps2-uart.c 	platform_set_drvdata(pdev, mps_port);