/drivers/tty/serial/ |
D | serial_core.c | 667 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 …]
|
D | 68328serial.c | 806 struct serial_struct * retinfo) argument 810 if (!retinfo) 822 if (copy_to_user(retinfo, &tmp, sizeof(*retinfo)))
|
D | crisv10.c | 3271 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/ |
D | tty.c | 251 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/ |
D | ssu100.c | 334 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()
|
D | usb_wwan.c | 105 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()
|
D | quatech2.c | 464 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()
|
D | ftdi_sio.c | 1455 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()
|
D | mos7720.c | 1846 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()
|
D | mos7840.c | 2023 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()
|
D | io_ti.c | 2326 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()
|
D | io_edgeport.c | 1567 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/ |
D | dgap.c | 92 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/ |
D | amiserial.c | 1023 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()
|
D | moxa.c | 2038 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()
|
D | rocket.c | 1197 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()
|
D | mxser.c | 1213 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()
|
D | cyclades.c | 2294 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/ |
D | dgnc_tty.c | 111 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()
|