Searched refs:retinfo (Results 1 – 2 of 2) sorted by relevance
789 static int uart_get_info(struct tty_port *port, struct serial_struct *retinfo) in uart_get_info() argument796 *retinfo = (struct serial_struct){}; in uart_get_info()807 retinfo->type = uport->type; in uart_get_info()808 retinfo->line = uport->line; in uart_get_info()809 retinfo->port = uport->iobase; in uart_get_info()811 retinfo->port_high = (long) uport->iobase >> HIGH_BITS_OFFSET; in uart_get_info()812 retinfo->irq = uport->irq; in uart_get_info()813 retinfo->flags = (__force int)uport->flags; in uart_get_info()814 retinfo->xmit_fifo_size = uport->fifosize; in uart_get_info()815 retinfo->baud_base = uport->uartclk / 16; in uart_get_info()[all …]
1489 unsigned int __user *retinfo) in get_lsr_info() argument1497 if (copy_to_user(retinfo, &result, sizeof(unsigned int))) in get_lsr_info()