Home
last modified time | relevance | path

Searched refs:retinfo (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/drivers/tty/serial/
Dserial_core.c756 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()
[all …]
/Linux-v5.10/drivers/tty/
Drocket.c1166 static int get_config(struct r_port *info, struct rocket_config __user *retinfo) in get_config() argument
1179 if (copy_to_user(retinfo, &tmp, sizeof (*retinfo))) in get_config()
/Linux-v5.10/drivers/usb/serial/
Dftdi_sio.c1543 unsigned int __user *retinfo) in get_lsr_info() argument
1551 if (copy_to_user(retinfo, &result, sizeof(unsigned int))) in get_lsr_info()