Lines Matching refs:retinfo
756 static int uart_get_info(struct tty_port *port, struct serial_struct *retinfo) in uart_get_info() argument
762 memset(retinfo, 0, sizeof(*retinfo)); in uart_get_info()
773 retinfo->type = uport->type; in uart_get_info()
774 retinfo->line = uport->line; in uart_get_info()
775 retinfo->port = uport->iobase; in uart_get_info()
777 retinfo->port_high = (long) uport->iobase >> HIGH_BITS_OFFSET; in uart_get_info()
778 retinfo->irq = uport->irq; in uart_get_info()
779 retinfo->flags = (__force int)uport->flags; in uart_get_info()
780 retinfo->xmit_fifo_size = uport->fifosize; in uart_get_info()
781 retinfo->baud_base = uport->uartclk / 16; in uart_get_info()
782 retinfo->close_delay = jiffies_to_msecs(port->close_delay) / 10; in uart_get_info()
783 retinfo->closing_wait = port->closing_wait == ASYNC_CLOSING_WAIT_NONE ? in uart_get_info()
786 retinfo->custom_divisor = uport->custom_divisor; in uart_get_info()
787 retinfo->hub6 = uport->hub6; in uart_get_info()
788 retinfo->io_type = uport->iotype; in uart_get_info()
789 retinfo->iomem_reg_shift = uport->regshift; in uart_get_info()
790 retinfo->iomem_base = (void *)(unsigned long)uport->mapbase; in uart_get_info()