Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
usb_wwan.c File Reference
#include <linux/kernel.h>
#include <linux/jiffies.h>
#include <linux/errno.h>
#include <linux/slab.h>
#include <linux/tty.h>
#include <linux/tty_flip.h>
#include <linux/module.h>
#include <linux/bitops.h>
#include <linux/uaccess.h>
#include <linux/usb.h>
#include <linux/usb/serial.h>
#include <linux/serial.h>
#include "usb-wwan.h"

Go to the source code of this file.

Macros

#define DRIVER_VERSION   "v0.7.2"
 
#define DRIVER_AUTHOR   "Matthias Urlichs <[email protected]>"
 
#define DRIVER_DESC   "USB Driver for GSM modems"
 

Functions

void usb_wwan_dtr_rts (struct usb_serial_port *port, int on)
 
 EXPORT_SYMBOL (usb_wwan_dtr_rts)
 
void usb_wwan_set_termios (struct tty_struct *tty, struct usb_serial_port *port, struct ktermios *old_termios)
 
 EXPORT_SYMBOL (usb_wwan_set_termios)
 
int usb_wwan_tiocmget (struct tty_struct *tty)
 
 EXPORT_SYMBOL (usb_wwan_tiocmget)
 
int usb_wwan_tiocmset (struct tty_struct *tty, unsigned int set, unsigned int clear)
 
 EXPORT_SYMBOL (usb_wwan_tiocmset)
 
int usb_wwan_ioctl (struct tty_struct *tty, unsigned int cmd, unsigned long arg)
 
 EXPORT_SYMBOL (usb_wwan_ioctl)
 
int usb_wwan_write (struct tty_struct *tty, struct usb_serial_port *port, const unsigned char *buf, int count)
 
 EXPORT_SYMBOL (usb_wwan_write)
 
int usb_wwan_write_room (struct tty_struct *tty)
 
 EXPORT_SYMBOL (usb_wwan_write_room)
 
int usb_wwan_chars_in_buffer (struct tty_struct *tty)
 
 EXPORT_SYMBOL (usb_wwan_chars_in_buffer)
 
int usb_wwan_open (struct tty_struct *tty, struct usb_serial_port *port)
 
 EXPORT_SYMBOL (usb_wwan_open)
 
void usb_wwan_close (struct usb_serial_port *port)
 
 EXPORT_SYMBOL (usb_wwan_close)
 
int usb_wwan_port_probe (struct usb_serial_port *port)
 
 EXPORT_SYMBOL_GPL (usb_wwan_port_probe)
 
int usb_wwan_port_remove (struct usb_serial_port *port)
 
 EXPORT_SYMBOL (usb_wwan_port_remove)
 
 MODULE_AUTHOR (DRIVER_AUTHOR)
 
 MODULE_DESCRIPTION (DRIVER_DESC)
 
 MODULE_VERSION (DRIVER_VERSION)
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define DRIVER_AUTHOR   "Matthias Urlichs <[email protected]>"

Definition at line 23 of file usb_wwan.c.

#define DRIVER_DESC   "USB Driver for GSM modems"

Definition at line 24 of file usb_wwan.c.

#define DRIVER_VERSION   "v0.7.2"

Definition at line 22 of file usb_wwan.c.

Function Documentation

EXPORT_SYMBOL ( usb_wwan_dtr_rts  )
EXPORT_SYMBOL ( usb_wwan_set_termios  )
EXPORT_SYMBOL ( usb_wwan_tiocmget  )
EXPORT_SYMBOL ( usb_wwan_tiocmset  )
EXPORT_SYMBOL ( usb_wwan_ioctl  )
EXPORT_SYMBOL ( usb_wwan_write  )
EXPORT_SYMBOL ( usb_wwan_write_room  )
EXPORT_SYMBOL ( usb_wwan_chars_in_buffer  )
EXPORT_SYMBOL ( usb_wwan_open  )
EXPORT_SYMBOL ( usb_wwan_close  )
EXPORT_SYMBOL ( usb_wwan_port_remove  )
EXPORT_SYMBOL_GPL ( usb_wwan_port_probe  )
MODULE_AUTHOR ( DRIVER_AUTHOR  )
MODULE_DESCRIPTION ( DRIVER_DESC  )
MODULE_LICENSE ( "GPL"  )
MODULE_VERSION ( DRIVER_VERSION  )
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.

void usb_wwan_set_termios ( struct tty_struct tty,
struct usb_serial_port port,
struct ktermios old_termios 
)

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.