#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/slab.h>
#include <linux/sysrq.h>
#include <linux/tty.h>
#include <linux/tty_flip.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/usb.h>
#include <linux/usb/serial.h>
#include <linux/uaccess.h>
#include <linux/kfifo.h>
#include <linux/serial.h>
Go to the source code of this file.
|
int | usb_serial_generic_register (void) |
|
void | usb_serial_generic_deregister (void) |
|
int | usb_serial_generic_open (struct tty_struct *tty, struct usb_serial_port *port) |
|
| EXPORT_SYMBOL_GPL (usb_serial_generic_open) |
|
void | usb_serial_generic_close (struct usb_serial_port *port) |
|
| EXPORT_SYMBOL_GPL (usb_serial_generic_close) |
|
int | usb_serial_generic_prepare_write_buffer (struct usb_serial_port *port, void *dest, size_t size) |
|
int | usb_serial_generic_write (struct tty_struct *tty, struct usb_serial_port *port, const unsigned char *buf, int count) |
|
| EXPORT_SYMBOL_GPL (usb_serial_generic_write) |
|
int | usb_serial_generic_write_room (struct tty_struct *tty) |
|
int | usb_serial_generic_chars_in_buffer (struct tty_struct *tty) |
|
int | usb_serial_generic_submit_read_urbs (struct usb_serial_port *port, gfp_t mem_flags) |
|
| EXPORT_SYMBOL_GPL (usb_serial_generic_submit_read_urbs) |
|
void | usb_serial_generic_process_read_urb (struct urb *urb) |
|
| EXPORT_SYMBOL_GPL (usb_serial_generic_process_read_urb) |
|
void | usb_serial_generic_read_bulk_callback (struct urb *urb) |
|
| EXPORT_SYMBOL_GPL (usb_serial_generic_read_bulk_callback) |
|
void | usb_serial_generic_write_bulk_callback (struct urb *urb) |
|
| EXPORT_SYMBOL_GPL (usb_serial_generic_write_bulk_callback) |
|
void | usb_serial_generic_throttle (struct tty_struct *tty) |
|
| EXPORT_SYMBOL_GPL (usb_serial_generic_throttle) |
|
void | usb_serial_generic_unthrottle (struct tty_struct *tty) |
|
| EXPORT_SYMBOL_GPL (usb_serial_generic_unthrottle) |
|
int | usb_serial_handle_sysrq_char (struct usb_serial_port *port, unsigned int ch) |
|
| EXPORT_SYMBOL_GPL (usb_serial_handle_sysrq_char) |
|
int | usb_serial_handle_break (struct usb_serial_port *port) |
|
| EXPORT_SYMBOL_GPL (usb_serial_handle_break) |
|
void | usb_serial_handle_dcd_change (struct usb_serial_port *usb_port, struct tty_struct *tty, unsigned int status) |
|
| EXPORT_SYMBOL_GPL (usb_serial_handle_dcd_change) |
|
int | usb_serial_generic_resume (struct usb_serial *serial) |
|
| EXPORT_SYMBOL_GPL (usb_serial_generic_resume) |
|
void | usb_serial_generic_disconnect (struct usb_serial *serial) |
|
| EXPORT_SYMBOL_GPL (usb_serial_generic_disconnect) |
|
void | usb_serial_generic_release (struct usb_serial *serial) |
|
void usb_serial_generic_deregister |
( |
void |
| ) |
|
int usb_serial_generic_register |
( |
void |
| ) |
|
usb_serial_generic_write - generic write function for serial USB devices : Pointer to &struct tty_struct for the device : Pointer to the &usb_serial_port structure for the device : Pointer to the data to write : Number of bytes to write
Returns the number of characters actually written, which may be anything from zero to . If an error occurs, it returns the negative errno value.
Definition at line 211 of file generic.c.
usb_serial_handle_dcd_change - handle a change of carrier detect state : usb_serial_port structure for the open port : tty_struct structure for the port : new carrier detect status, nonzero if active
Definition at line 476 of file generic.c.