Home
last modified time | relevance | path

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

/drivers/tty/serial/
Dserial_core.c667 struct serial_struct *retinfo) in do_uart_get_info() argument
672 memset(retinfo, 0, sizeof(*retinfo)); in do_uart_get_info()
674 retinfo->type = uport->type; in do_uart_get_info()
675 retinfo->line = uport->line; in do_uart_get_info()
676 retinfo->port = uport->iobase; in do_uart_get_info()
678 retinfo->port_high = (long) uport->iobase >> HIGH_BITS_OFFSET; in do_uart_get_info()
679 retinfo->irq = uport->irq; in do_uart_get_info()
680 retinfo->flags = uport->flags; in do_uart_get_info()
681 retinfo->xmit_fifo_size = uport->fifosize; in do_uart_get_info()
682 retinfo->baud_base = uport->uartclk / 16; in do_uart_get_info()
[all …]
D68328serial.c806 struct serial_struct * retinfo) argument
810 if (!retinfo)
822 if (copy_to_user(retinfo, &tmp, sizeof(*retinfo)))
Dcrisv10.c3271 struct serial_struct * retinfo) in get_serial_info() argument
3280 if (!retinfo) in get_serial_info()
3292 if (copy_to_user(retinfo, &tmp, sizeof(*retinfo))) in get_serial_info()
/drivers/tty/ipwireless/
Dtty.c251 struct serial_struct __user *retinfo) in ipwireless_get_serial_info() argument
255 if (!retinfo) in ipwireless_get_serial_info()
269 if (copy_to_user(retinfo, &tmp, sizeof(*retinfo))) in ipwireless_get_serial_info()
/drivers/usb/serial/
Dssu100.c334 struct serial_struct __user *retinfo) in get_serial_info() argument
338 if (!retinfo) in get_serial_info()
351 if (copy_to_user(retinfo, &tmp, sizeof(*retinfo))) in get_serial_info()
Dusb_wwan.c105 struct serial_struct __user *retinfo) in get_serial_info() argument
109 if (!retinfo) in get_serial_info()
121 if (copy_to_user(retinfo, &tmp, sizeof(*retinfo))) in get_serial_info()
Dquatech2.c464 struct serial_struct __user *retinfo) in get_serial_info() argument
468 if (!retinfo) in get_serial_info()
481 if (copy_to_user(retinfo, &tmp, sizeof(*retinfo))) in get_serial_info()
Dftdi_sio.c1455 struct serial_struct __user *retinfo) in get_serial_info() argument
1460 if (!retinfo) in get_serial_info()
1466 if (copy_to_user(retinfo, &tmp, sizeof(*retinfo))) in get_serial_info()
1538 struct serial_struct __user *retinfo) in get_lsr_info() argument
1543 if (!retinfo) in get_lsr_info()
1549 if (copy_to_user(retinfo, &result, sizeof(unsigned int))) in get_lsr_info()
Dmos7720.c1846 struct serial_struct __user *retinfo) in get_serial_info() argument
1850 if (!retinfo) in get_serial_info()
1865 if (copy_to_user(retinfo, &tmp, sizeof(*retinfo))) in get_serial_info()
Dmos7840.c2023 struct serial_struct __user *retinfo) in mos7840_get_serial_info() argument
2030 if (!retinfo) in mos7840_get_serial_info()
2045 if (copy_to_user(retinfo, &tmp, sizeof(*retinfo))) in mos7840_get_serial_info()
Dio_ti.c2326 struct serial_struct __user *retinfo) in get_serial_info() argument
2331 if (!retinfo) in get_serial_info()
2350 if (copy_to_user(retinfo, &tmp, sizeof(*retinfo))) in get_serial_info()
Dio_edgeport.c1567 struct serial_struct __user *retinfo) in get_serial_info() argument
1571 if (!retinfo) in get_serial_info()
1586 if (copy_to_user(retinfo, &tmp, sizeof(*retinfo))) in get_serial_info()
/drivers/staging/dgap/
Ddgap.c92 struct digi_t __user *retinfo);
95 static int dgap_tty_digigetedelay(struct tty_struct *tty, int __user *retinfo);
116 int __user *retinfo);
3132 struct digi_t __user *retinfo) in dgap_tty_digigeta() argument
3137 if (!retinfo) in dgap_tty_digigeta()
3146 if (copy_to_user(retinfo, &tmp, sizeof(*retinfo))) in dgap_tty_digigeta()
3212 static int dgap_tty_digigetedelay(struct tty_struct *tty, int __user *retinfo) in dgap_tty_digigetedelay() argument
3219 if (!retinfo) in dgap_tty_digigetedelay()
3239 if (copy_to_user(retinfo, &tmp, sizeof(*retinfo))) in dgap_tty_digigetedelay()
3280 int __user *retinfo) in dgap_tty_digigetcustombaud() argument
[all …]
/drivers/tty/
Damiserial.c1023 struct serial_struct __user * retinfo) in get_serial_info() argument
1027 if (!retinfo) in get_serial_info()
1040 if (copy_to_user(retinfo,&tmp,sizeof(*retinfo))) in get_serial_info()
Dmoxa.c2038 struct serial_struct __user *retinfo) in moxa_get_serial_info() argument
2047 return copy_to_user(retinfo, &tmp, sizeof(*retinfo)) ? -EFAULT : 0; in moxa_get_serial_info()
Drocket.c1197 static int get_config(struct r_port *info, struct rocket_config __user *retinfo) in get_config() argument
1201 if (!retinfo) in get_config()
1212 if (copy_to_user(retinfo, &tmp, sizeof (*retinfo))) in get_config()
Dmxser.c1213 struct serial_struct __user *retinfo) in mxser_get_serial_info() argument
1228 if (copy_to_user(retinfo, &tmp, sizeof(*retinfo))) in mxser_get_serial_info()
Dcyclades.c2294 struct serial_struct __user *retinfo) in cy_get_serial_info() argument
2310 return copy_to_user(retinfo, &tmp, sizeof(*retinfo)) ? -EFAULT : 0; in cy_get_serial_info()
/drivers/staging/dgnc/
Ddgnc_tty.c111 static int dgnc_tty_digigeta(struct tty_struct *tty, struct digi_t __user *retinfo);
2389 static int dgnc_tty_digigeta(struct tty_struct *tty, struct digi_t __user *retinfo) in dgnc_tty_digigeta() argument
2396 if (!retinfo) in dgnc_tty_digigeta()
2416 if (copy_to_user(retinfo, &tmp, sizeof(*retinfo))) in dgnc_tty_digigeta()