Lines Matching refs:usb_serial_port

66 struct usb_serial_port {  struct
109 #define to_usb_serial_port(d) container_of(d, struct usb_serial_port, dev) argument
112 static inline void *usb_get_serial_port_data(struct usb_serial_port *port) in usb_get_serial_port_data()
117 static inline void usb_set_serial_port_data(struct usb_serial_port *port, in usb_set_serial_port_data()
156 struct usb_serial_port *port[MAX_NUM_PORTS];
260 int (*port_probe)(struct usb_serial_port *port);
261 void (*port_remove)(struct usb_serial_port *port);
269 int (*open)(struct tty_struct *tty, struct usb_serial_port *port);
270 void (*close)(struct usb_serial_port *port);
271 int (*write)(struct tty_struct *tty, struct usb_serial_port *port,
279 void (*set_termios)(struct tty_struct *tty, struct usb_serial_port *port,
284 bool (*tx_empty)(struct usb_serial_port *port);
295 void (*dtr_rts)(struct usb_serial_port *port, int on);
296 int (*carrier_raised)(struct usb_serial_port *port);
308 int (*prepare_write_buffer)(struct usb_serial_port *port,
320 void usb_serial_port_softint(struct usb_serial_port *port);
337 struct usb_serial_port *usb_serial_port_get_by_minor(unsigned int minor);
342 int usb_serial_generic_open(struct tty_struct *tty, struct usb_serial_port *port);
343 int usb_serial_generic_write_start(struct usb_serial_port *port, gfp_t mem_flags);
344 int usb_serial_generic_write(struct tty_struct *tty, struct usb_serial_port *port,
346 void usb_serial_generic_close(struct usb_serial_port *port);
359 int usb_serial_generic_submit_read_urbs(struct usb_serial_port *port, gfp_t mem_flags);
361 int usb_serial_generic_prepare_write_buffer(struct usb_serial_port *port, void *dest, size_t size);
364 int usb_serial_handle_sysrq_char(struct usb_serial_port *port, unsigned int ch);
365 int usb_serial_handle_break(struct usb_serial_port *port);
367 static inline int usb_serial_handle_sysrq_char(struct usb_serial_port *port, unsigned int ch) in usb_serial_handle_sysrq_char()
371 static inline int usb_serial_handle_break(struct usb_serial_port *port) in usb_serial_handle_break()
377 void usb_serial_handle_dcd_change(struct usb_serial_port *usb_port,
402 struct usb_serial_port *__port = (usport); \