Lines Matching defs:retinfo
667 struct serial_struct *retinfo)
672 memset(retinfo, 0, sizeof(*retinfo));
674 retinfo->type = uport->type;
675 retinfo->line = uport->line;
676 retinfo->port = uport->iobase;
678 retinfo->port_high = (long) uport->iobase >> HIGH_BITS_OFFSET;
679 retinfo->irq = uport->irq;
680 retinfo->flags = uport->flags;
681 retinfo->xmit_fifo_size = uport->fifosize;
682 retinfo->baud_base = uport->uartclk / 16;
683 retinfo->close_delay = jiffies_to_msecs(port->close_delay) / 10;
684 retinfo->closing_wait = port->closing_wait == ASYNC_CLOSING_WAIT_NONE ?
687 retinfo->custom_divisor = uport->custom_divisor;
688 retinfo->hub6 = uport->hub6;
689 retinfo->io_type = uport->iotype;
690 retinfo->iomem_reg_shift = uport->regshift;
691 retinfo->iomem_base = (void *)(unsigned long)uport->mapbase;
695 struct serial_struct *retinfo)
700 do_uart_get_info(port, retinfo);
705 struct serial_struct __user *retinfo)
710 if (copy_to_user(retinfo, &tmp, sizeof(*retinfo)))