Home
last modified time | relevance | path

Searched refs:serial_struct (Results 1 – 25 of 87) sorted by relevance

1234

/linux-2.6.39/include/linux/
Dgeneric_serial.h29 void (*getserial) (void*, struct serial_struct *sp);
91 int gs_setserial(struct gs_port *port, struct serial_struct __user *sp);
92 int gs_getserial(struct gs_port *port, struct serial_struct __user *sp);
Dserial.h35 struct serial_struct { struct
Dserial_core.h218 struct serial_struct;
262 int (*verify_port)(struct uart_port *, struct serial_struct *);
/linux-2.6.39/net/irda/ircomm/
Dircomm_tty_ioctl.c262 struct serial_struct __user *retinfo) in ircomm_tty_get_serial_info()
264 struct serial_struct info; in ircomm_tty_get_serial_info()
299 struct serial_struct __user *new_info) in ircomm_tty_set_serial_info()
302 struct serial_struct new_serial; in ircomm_tty_set_serial_info()
390 ret = ircomm_tty_get_serial_info(self, (struct serial_struct __user *) arg); in ircomm_tty_ioctl()
393 ret = ircomm_tty_set_serial_info(self, (struct serial_struct __user *) arg); in ircomm_tty_ioctl()
/linux-2.6.39/arch/xtensa/include/asm/
Dioctls.h74 #define TIOCGSERIAL _IOR('T', 30, struct serial_struct)
75 #define TIOCSSERIAL _IOW('T', 31, struct serial_struct)
/linux-2.6.39/drivers/staging/generic_serial/
Dgeneric_serial.c749 int gs_setserial(struct gs_port *port, struct serial_struct __user *sp) in gs_setserial()
751 struct serial_struct sio; in gs_setserial()
753 if (copy_from_user(&sio, sp, sizeof(struct serial_struct))) in gs_setserial()
784 int gs_getserial(struct gs_port *port, struct serial_struct __user *sp) in gs_getserial()
786 struct serial_struct sio; in gs_getserial()
788 memset(&sio, 0, sizeof(struct serial_struct)); in gs_getserial()
806 if (copy_to_user(sp, &sio, sizeof(struct serial_struct))) in gs_getserial()
/linux-2.6.39/drivers/usb/serial/
Dusb_wwan.c129 struct serial_struct __user *retinfo) in get_serial_info()
131 struct serial_struct tmp; in get_serial_info()
151 struct serial_struct __user *newinfo) in set_serial_info()
153 struct serial_struct new_serial; in set_serial_info()
191 (struct serial_struct __user *) arg); in usb_wwan_ioctl()
194 (struct serial_struct __user *) arg); in usb_wwan_ioctl()
Dopticon.c446 struct serial_struct __user *serial) in get_serial_info()
448 struct serial_struct tmp; in get_serial_info()
482 (struct serial_struct __user *)arg); in opticon_ioctl()
Dti_usb_3410_5052.c129 struct serial_struct __user *ret_arg);
131 struct serial_struct __user *new_arg);
838 (struct serial_struct __user *)arg); in ti_ioctl()
842 (struct serial_struct __user *)arg); in ti_ioctl()
1421 struct serial_struct __user *ret_arg) in ti_get_serial_info()
1424 struct serial_struct ret_serial; in ti_get_serial_info()
1447 struct serial_struct __user *new_arg) in ti_set_serial_info()
1449 struct serial_struct new_serial; in ti_set_serial_info()
Dssu100.c357 struct serial_struct __user *retinfo) in get_serial_info()
359 struct serial_struct tmp; in get_serial_info()
452 (struct serial_struct __user *) arg); in ssu100_ioctl()
Dftdi_sio.c1269 struct serial_struct __user *retinfo) in get_serial_info()
1272 struct serial_struct tmp; in get_serial_info()
1286 struct usb_serial_port *port, struct serial_struct __user *newinfo) in set_serial_info()
1289 struct serial_struct new_serial; in set_serial_info()
1353 struct serial_struct __user *retinfo) in get_lsr_info()
2260 (struct serial_struct __user *) arg); in ftdi_ioctl()
2264 (struct serial_struct __user *) arg); in ftdi_ioctl()
2307 return get_lsr_info(port, (struct serial_struct __user *)arg); in ftdi_ioctl()
/linux-2.6.39/drivers/tty/serial/
D68328serial.h15 struct serial_struct { struct
D68328serial.c834 struct serial_struct * retinfo)
836 struct serial_struct tmp;
857 struct serial_struct * new_info)
859 struct serial_struct new_serial;
982 (struct serial_struct *) arg);
985 (struct serial_struct *) arg);
Dmux.c374 static int mux_verify_port(struct uart_port *port, struct serial_struct *ser) in mux_verify_port()
D21285.c331 static int serial21285_verify_port(struct uart_port *port, struct serial_struct *ser) in serial21285_verify_port()
Daltera_jtaguart.c274 struct serial_struct *ser) in altera_jtaguart_verify_port()
/linux-2.6.39/drivers/tty/ipwireless/
Dtty.c294 struct serial_struct __user *retinfo) in ipwireless_get_serial_info()
296 struct serial_struct tmp; in ipwireless_get_serial_info()
/linux-2.6.39/drivers/tty/
Dmoxa.c228 static int moxa_get_serial_info(struct moxa_port *, struct serial_struct __user *);
229 static int moxa_set_serial_info(struct moxa_port *, struct serial_struct __user *);
2033 struct serial_struct __user *retinfo) in moxa_get_serial_info()
2035 struct serial_struct tmp = { in moxa_get_serial_info()
2047 struct serial_struct __user *new_info) in moxa_set_serial_info()
2049 struct serial_struct new_serial; in moxa_set_serial_info()
Disicom.c1110 struct serial_struct __user *info) in isicom_set_serial_info()
1113 struct serial_struct newinfo; in isicom_set_serial_info()
1150 struct serial_struct __user *info) in isicom_get_serial_info()
1152 struct serial_struct out_info; in isicom_get_serial_info()
Damiserial.c1066 struct serial_struct __user * retinfo) in get_serial_info()
1068 struct serial_struct tmp; in get_serial_info()
1092 struct serial_struct __user * new_info) in set_serial_info()
1094 struct serial_struct new_serial; in set_serial_info()
/linux-2.6.39/drivers/staging/tty/
Driscom8.c1177 struct serial_struct __user *newinfo) in rc_set_serial_info()
1179 struct serial_struct tmp; in rc_set_serial_info()
1218 struct serial_struct __user *retinfo) in rc_get_serial_info()
1220 struct serial_struct tmp; in rc_get_serial_info()
Distallion.c638 static int stli_getserial(struct stliport *portp, struct serial_struct __user *sp);
639 static int stli_setserial(struct tty_struct *tty, struct serial_struct __user *sp);
1441 static int stli_getserial(struct stliport *portp, struct serial_struct __user *sp) in stli_getserial()
1443 struct serial_struct sio; in stli_getserial()
1446 memset(&sio, 0, sizeof(struct serial_struct)); in stli_getserial()
1462 return copy_to_user(sp, &sio, sizeof(struct serial_struct)) ? in stli_getserial()
1474 static int stli_setserial(struct tty_struct *tty, struct serial_struct __user *sp) in stli_setserial()
1476 struct serial_struct sio; in stli_setserial()
1480 if (copy_from_user(&sio, sp, sizeof(struct serial_struct))) in stli_setserial()
Dserial167.c1250 struct serial_struct __user * retinfo) in get_serial_info()
1252 struct serial_struct tmp; in get_serial_info()
1272 struct serial_struct __user * new_info) in set_serial_info()
1274 struct serial_struct new_serial; in set_serial_info()
/linux-2.6.39/drivers/staging/tty/ip2/
Dip2main.c201 static int get_serial_info(i2ChanStrPtr, struct serial_struct __user *);
202 static int set_serial_info(i2ChanStrPtr, struct serial_struct __user *);
2378 get_serial_info ( i2ChanStrPtr pCh, struct serial_struct __user *retinfo ) in get_serial_info()
2380 struct serial_struct tmp; in get_serial_info()
2412 set_serial_info( i2ChanStrPtr pCh, struct serial_struct __user *new_info ) in set_serial_info()
2414 struct serial_struct ns; in set_serial_info()
/linux-2.6.39/drivers/staging/generic_serial/rio/
Drio_linux.c601 if (access_ok(VERIFY_WRITE, argp, sizeof(struct serial_struct))) in rio_ioctl()
634 if (access_ok(VERIFY_READ, argp, sizeof(struct serial_struct))) in rio_ioctl()

1234