Lines Matching refs:retinfo
681 struct serial_struct *retinfo) in do_uart_get_info() argument
686 memset(retinfo, 0, sizeof(*retinfo)); in do_uart_get_info()
688 retinfo->type = uport->type; in do_uart_get_info()
689 retinfo->line = uport->line; in do_uart_get_info()
690 retinfo->port = uport->iobase; in do_uart_get_info()
692 retinfo->port_high = (long) uport->iobase >> HIGH_BITS_OFFSET; in do_uart_get_info()
693 retinfo->irq = uport->irq; in do_uart_get_info()
694 retinfo->flags = uport->flags; in do_uart_get_info()
695 retinfo->xmit_fifo_size = uport->fifosize; in do_uart_get_info()
696 retinfo->baud_base = uport->uartclk / 16; in do_uart_get_info()
697 retinfo->close_delay = jiffies_to_msecs(port->close_delay) / 10; in do_uart_get_info()
698 retinfo->closing_wait = port->closing_wait == ASYNC_CLOSING_WAIT_NONE ? in do_uart_get_info()
701 retinfo->custom_divisor = uport->custom_divisor; in do_uart_get_info()
702 retinfo->hub6 = uport->hub6; in do_uart_get_info()
703 retinfo->io_type = uport->iotype; in do_uart_get_info()
704 retinfo->iomem_reg_shift = uport->regshift; in do_uart_get_info()
705 retinfo->iomem_base = (void *)(unsigned long)uport->mapbase; in do_uart_get_info()
709 struct serial_struct *retinfo) in uart_get_info() argument
714 do_uart_get_info(port, retinfo); in uart_get_info()
719 struct serial_struct __user *retinfo) in uart_get_info_user() argument
724 if (copy_to_user(retinfo, &tmp, sizeof(*retinfo))) in uart_get_info_user()