Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
usb-wwan.h File Reference

Go to the source code of this file.

Data Structures

struct  usb_wwan_intf_private
 
struct  usb_wwan_port_private
 

Macros

#define N_IN_URB   4
 
#define N_OUT_URB   4
 
#define IN_BUFLEN   4096
 
#define OUT_BUFLEN   4096
 

Functions

void usb_wwan_dtr_rts (struct usb_serial_port *port, int on)
 
int usb_wwan_open (struct tty_struct *tty, struct usb_serial_port *port)
 
void usb_wwan_close (struct usb_serial_port *port)
 
int usb_wwan_port_probe (struct usb_serial_port *port)
 
int usb_wwan_port_remove (struct usb_serial_port *port)
 
int usb_wwan_write_room (struct tty_struct *tty)
 
void usb_wwan_set_termios (struct tty_struct *tty, struct usb_serial_port *port, struct ktermios *old)
 
int usb_wwan_tiocmget (struct tty_struct *tty)
 
int usb_wwan_tiocmset (struct tty_struct *tty, unsigned int set, unsigned int clear)
 
int usb_wwan_ioctl (struct tty_struct *tty, unsigned int cmd, unsigned long arg)
 
int usb_wwan_send_setup (struct usb_serial_port *port)
 
int usb_wwan_write (struct tty_struct *tty, struct usb_serial_port *port, const unsigned char *buf, int count)
 
int usb_wwan_chars_in_buffer (struct tty_struct *tty)
 

Variables

struct usb_wwan_intf_private __attribute__
 

Macro Definition Documentation

#define IN_BUFLEN   4096

Definition at line 35 of file usb-wwan.h.

#define N_IN_URB   4

Definition at line 33 of file usb-wwan.h.

#define N_OUT_URB   4

Definition at line 34 of file usb-wwan.h.

#define OUT_BUFLEN   4096

Definition at line 36 of file usb-wwan.h.

Function Documentation

int usb_wwan_chars_in_buffer ( struct tty_struct tty)

Definition at line 364 of file usb_wwan.c.

void usb_wwan_close ( struct usb_serial_port port)

Definition at line 423 of file usb_wwan.c.

void usb_wwan_dtr_rts ( struct usb_serial_port port,
int  on 
)

Definition at line 40 of file usb_wwan.c.

int usb_wwan_ioctl ( struct tty_struct tty,
unsigned int  cmd,
unsigned long  arg 
)

Definition at line 174 of file usb_wwan.c.

int usb_wwan_open ( struct tty_struct tty,
struct usb_serial_port port 
)

Definition at line 386 of file usb_wwan.c.

int usb_wwan_port_probe ( struct usb_serial_port port)

Definition at line 474 of file usb_wwan.c.

int usb_wwan_port_remove ( struct usb_serial_port port)

Definition at line 547 of file usb_wwan.c.

int usb_wwan_send_setup ( struct usb_serial_port port)
void usb_wwan_set_termios ( struct tty_struct tty,
struct usb_serial_port port,
struct ktermios old 
)

Definition at line 61 of file usb_wwan.c.

int usb_wwan_tiocmget ( struct tty_struct tty)

Definition at line 75 of file usb_wwan.c.

int usb_wwan_tiocmset ( struct tty_struct tty,
unsigned int  set,
unsigned int  clear 
)

Definition at line 94 of file usb_wwan.c.

int usb_wwan_write ( struct tty_struct tty,
struct usb_serial_port port,
const unsigned char buf,
int  count 
)

Definition at line 199 of file usb_wwan.c.

int usb_wwan_write_room ( struct tty_struct tty)

Definition at line 343 of file usb_wwan.c.

Variable Documentation