Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/tty/serial/
Dserial_core.c681 struct serial_struct *retinfo) in do_uart_get_info() argument
686 memset(retinfo, 0, sizeof(*retinfo)); in do_uart_get_info()
688 retinfo->type = uport->type; in do_uart_get_info()
689 retinfo->line = uport->line; in do_uart_get_info()
690 retinfo->port = uport->iobase; in do_uart_get_info()
692 retinfo->port_high = (long) uport->iobase >> HIGH_BITS_OFFSET; in do_uart_get_info()
693 retinfo->irq = uport->irq; in do_uart_get_info()
694 retinfo->flags = uport->flags; in do_uart_get_info()
695 retinfo->xmit_fifo_size = uport->fifosize; in do_uart_get_info()
696 retinfo->baud_base = uport->uartclk / 16; in do_uart_get_info()
[all …]
D68328serial.c807 struct serial_struct * retinfo) argument
811 if (!retinfo)
823 if (copy_to_user(retinfo, &tmp, sizeof(*retinfo)))
Dcrisv10.c3212 struct serial_struct * retinfo) in get_serial_info() argument
3221 if (!retinfo) in get_serial_info()
3233 if (copy_to_user(retinfo, &tmp, sizeof(*retinfo))) in get_serial_info()
/linux-4.4.14/net/irda/ircomm/
Dircomm_tty_ioctl.c254 struct serial_struct __user *retinfo) in ircomm_tty_get_serial_info() argument
258 if (!retinfo) in ircomm_tty_get_serial_info()
276 if (copy_to_user(retinfo, &info, sizeof(*retinfo))) in ircomm_tty_get_serial_info()
/linux-4.4.14/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()
/linux-4.4.14/drivers/usb/serial/
Dssu100.c317 struct serial_struct __user *retinfo) in get_serial_info() argument
321 if (!retinfo) in get_serial_info()
334 if (copy_to_user(retinfo, &tmp, sizeof(*retinfo))) in get_serial_info()
Dusb_wwan.c139 struct serial_struct __user *retinfo) in get_serial_info() argument
143 if (!retinfo) in get_serial_info()
155 if (copy_to_user(retinfo, &tmp, sizeof(*retinfo))) in get_serial_info()
Dquatech2.c462 struct serial_struct __user *retinfo) in get_serial_info() argument
466 if (!retinfo) in get_serial_info()
479 if (copy_to_user(retinfo, &tmp, sizeof(*retinfo))) in get_serial_info()
Dftdi_sio.c1447 struct serial_struct __user *retinfo) in get_serial_info() argument
1452 if (!retinfo) in get_serial_info()
1458 if (copy_to_user(retinfo, &tmp, sizeof(*retinfo))) in get_serial_info()
1530 struct serial_struct __user *retinfo) in get_lsr_info() argument
1535 if (!retinfo) in get_lsr_info()
1541 if (copy_to_user(retinfo, &result, sizeof(unsigned int))) in get_lsr_info()
Dmos7720.c1860 struct serial_struct __user *retinfo) in get_serial_info() argument
1864 if (!retinfo) in get_serial_info()
1879 if (copy_to_user(retinfo, &tmp, sizeof(*retinfo))) in get_serial_info()
Dmos7840.c1952 struct serial_struct __user *retinfo) in mos7840_get_serial_info() argument
1959 if (!retinfo) in mos7840_get_serial_info()
1974 if (copy_to_user(retinfo, &tmp, sizeof(*retinfo))) in mos7840_get_serial_info()
Dio_edgeport.c1555 struct serial_struct __user *retinfo) in get_serial_info() argument
1559 if (!retinfo) in get_serial_info()
1574 if (copy_to_user(retinfo, &tmp, sizeof(*retinfo))) in get_serial_info()
Dio_ti.c2457 struct serial_struct __user *retinfo) in get_serial_info() argument
2462 if (!retinfo) in get_serial_info()
2481 if (copy_to_user(retinfo, &tmp, sizeof(*retinfo))) in get_serial_info()
/linux-4.4.14/drivers/tty/
Damiserial.c1019 struct serial_struct __user * retinfo) in get_serial_info() argument
1023 if (!retinfo) in get_serial_info()
1036 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.c1188 static int get_config(struct r_port *info, struct rocket_config __user *retinfo) in get_config() argument
1192 if (!retinfo) in get_config()
1203 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.c2285 struct serial_struct __user *retinfo) in cy_get_serial_info() argument
2301 return copy_to_user(retinfo, &tmp, sizeof(*retinfo)) ? -EFAULT : 0; in cy_get_serial_info()
/linux-4.4.14/drivers/staging/dgap/
Ddgap.c4022 struct digi_t __user *retinfo) in dgap_tty_digigeta() argument
4027 if (!retinfo) in dgap_tty_digigeta()
4036 if (copy_to_user(retinfo, &tmp, sizeof(*retinfo))) in dgap_tty_digigeta()
4102 static int dgap_tty_digigetedelay(struct tty_struct *tty, int __user *retinfo) in dgap_tty_digigetedelay() argument
4109 if (!retinfo) in dgap_tty_digigetedelay()
4129 if (copy_to_user(retinfo, &tmp, sizeof(*retinfo))) in dgap_tty_digigetedelay()
4170 int __user *retinfo) in dgap_tty_digigetcustombaud() argument
4175 if (!retinfo) in dgap_tty_digigetcustombaud()
4184 if (copy_to_user(retinfo, &tmp, sizeof(*retinfo))) in dgap_tty_digigetcustombaud()
/linux-4.4.14/drivers/staging/dgnc/
Ddgnc_tty.c90 struct digi_t __user *retinfo);
2182 struct digi_t __user *retinfo) in dgnc_tty_digigeta() argument
2189 if (!retinfo) in dgnc_tty_digigeta()
2209 if (copy_to_user(retinfo, &tmp, sizeof(*retinfo))) in dgnc_tty_digigeta()