Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
cdc-acm.c File Reference
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/tty.h>
#include <linux/serial.h>
#include <linux/tty_driver.h>
#include <linux/tty_flip.h>
#include <linux/module.h>
#include <linux/mutex.h>
#include <linux/uaccess.h>
#include <linux/usb.h>
#include <linux/usb/cdc.h>
#include <asm/byteorder.h>
#include <asm/unaligned.h>
#include <linux/list.h>
#include "cdc-acm.h"

Go to the source code of this file.

Macros

#define DRIVER_AUTHOR   "Armin Fuerst, Pavel Machek, Johannes Erdfelt, Vojtech Pavlik, David Kubicek, Johan Hovold"
 
#define DRIVER_DESC   "USB Abstract Control Model driver for USB modems and ISDN adapters"
 
#define acm_set_control(acm, control)   acm_ctrl_msg(acm, USB_CDC_REQ_SET_CONTROL_LINE_STATE, control, NULL, 0)
 
#define acm_set_line(acm, line)   acm_ctrl_msg(acm, USB_CDC_REQ_SET_LINE_CODING, 0, line, sizeof *(line))
 
#define acm_send_break(acm, ms)   acm_ctrl_msg(acm, USB_CDC_REQ_SEND_BREAK, ms, NULL, 0)
 
#define NOKIA_PCSUITE_ACM_INFO(x)
 
#define SAMSUNG_PCSUITE_ACM_INFO(x)
 

Functions

 MODULE_DEVICE_TABLE (usb, acm_ids)
 
 module_init (acm_init)
 
 module_exit (acm_exit)
 
 MODULE_AUTHOR (DRIVER_AUTHOR)
 
 MODULE_DESCRIPTION (DRIVER_DESC)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS_CHARDEV_MAJOR (ACM_TTY_MAJOR)
 

Macro Definition Documentation

#define acm_send_break (   acm,
  ms 
)    acm_ctrl_msg(acm, USB_CDC_REQ_SEND_BREAK, ms, NULL, 0)

Definition at line 142 of file cdc-acm.c.

#define acm_set_control (   acm,
  control 
)    acm_ctrl_msg(acm, USB_CDC_REQ_SET_CONTROL_LINE_STATE, control, NULL, 0)

Definition at line 138 of file cdc-acm.c.

#define acm_set_line (   acm,
  line 
)    acm_ctrl_msg(acm, USB_CDC_REQ_SET_LINE_CODING, 0, line, sizeof *(line))

Definition at line 140 of file cdc-acm.c.

#define DRIVER_AUTHOR   "Armin Fuerst, Pavel Machek, Johannes Erdfelt, Vojtech Pavlik, David Kubicek, Johan Hovold"

Definition at line 54 of file cdc-acm.c.

#define DRIVER_DESC   "USB Abstract Control Model driver for USB modems and ISDN adapters"

Definition at line 55 of file cdc-acm.c.

#define NOKIA_PCSUITE_ACM_INFO (   x)
Value:
USB_DEVICE_AND_INTERFACE_INFO(0x0421, x, \

Definition at line 1528 of file cdc-acm.c.

#define SAMSUNG_PCSUITE_ACM_INFO (   x)
Value:
USB_DEVICE_AND_INTERFACE_INFO(0x04e7, x, \

Definition at line 1533 of file cdc-acm.c.

Function Documentation

MODULE_ALIAS_CHARDEV_MAJOR ( ACM_TTY_MAJOR  )
MODULE_AUTHOR ( DRIVER_AUTHOR  )
MODULE_DESCRIPTION ( DRIVER_DESC  )
MODULE_DEVICE_TABLE ( usb  ,
acm_ids   
)
module_exit ( acm_exit  )
module_init ( acm_init  )
MODULE_LICENSE ( "GPL"  )