Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ehci-hcd.c File Reference
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/dmapool.h>
#include <linux/kernel.h>
#include <linux/delay.h>
#include <linux/ioport.h>
#include <linux/sched.h>
#include <linux/vmalloc.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/hrtimer.h>
#include <linux/list.h>
#include <linux/interrupt.h>
#include <linux/usb.h>
#include <linux/usb/hcd.h>
#include <linux/moduleparam.h>
#include <linux/dma-mapping.h>
#include <linux/debugfs.h>
#include <linux/slab.h>
#include <linux/uaccess.h>
#include <asm/byteorder.h>
#include <asm/io.h>
#include <asm/irq.h>
#include <asm/unaligned.h>
#include "ehci.h"
#include "ehci-dbg.c"
#include "pci-quirks.h"
#include "ehci-timer.c"
#include "ehci-hub.c"
#include "ehci-lpm.c"
#include "ehci-mem.c"
#include "ehci-q.c"
#include "ehci-sched.c"
#include "ehci-sysfs.c"

Go to the source code of this file.

Macros

#define DRIVER_AUTHOR   "David Brownell"
 
#define DRIVER_DESC   "USB 2.0 'Enhanced' Host Controller (EHCI) Driver"
 
#define EHCI_TUNE_CERR   3 /* 0-3 qtd retries; 0 == don't stop */
 
#define EHCI_TUNE_RL_HS   4 /* nak throttle; see 4.9 */
 
#define EHCI_TUNE_RL_TT   0
 
#define EHCI_TUNE_MULT_HS   1 /* 1-3 transactions/uframe; 4.10.3 */
 
#define EHCI_TUNE_MULT_TT   1
 
#define EHCI_TUNE_FLS   1 /* (medium) 512-frame schedule */
 
#define INTR_MASK   (STS_IAA | STS_FATAL | STS_PCD | STS_ERR | STS_INT)
 

Functions

 module_param (log2_irq_thresh, int, S_IRUGO)
 
 MODULE_PARM_DESC (log2_irq_thresh,"log2 IRQ latency, 1-64 microframes")
 
 module_param (park, uint, S_IRUGO)
 
 MODULE_PARM_DESC (park,"park setting; 1-3 back-to-back async packets")
 
 module_param (ignore_oc, bool, S_IRUGO)
 
 MODULE_PARM_DESC (ignore_oc,"ignore bogus hardware overcurrent indications")
 
 module_param (hird, int, S_IRUGO)
 
 MODULE_PARM_DESC (hird,"host initiated resume duration, +1 for each 75us")
 
 MODULE_DESCRIPTION (DRIVER_DESC)
 
 MODULE_AUTHOR (DRIVER_AUTHOR)
 
 MODULE_LICENSE ("GPL")
 
 module_init (ehci_hcd_init)
 
 module_exit (ehci_hcd_cleanup)
 

Macro Definition Documentation

#define DRIVER_AUTHOR   "David Brownell"

Definition at line 69 of file ehci-hcd.c.

#define DRIVER_DESC   "USB 2.0 'Enhanced' Host Controller (EHCI) Driver"

Definition at line 70 of file ehci-hcd.c.

#define EHCI_TUNE_CERR   3 /* 0-3 qtd retries; 0 == don't stop */

Definition at line 83 of file ehci-hcd.c.

#define EHCI_TUNE_FLS   1 /* (medium) 512-frame schedule */

Definition at line 94 of file ehci-hcd.c.

#define EHCI_TUNE_MULT_HS   1 /* 1-3 transactions/uframe; 4.10.3 */

Definition at line 86 of file ehci-hcd.c.

#define EHCI_TUNE_MULT_TT   1

Definition at line 87 of file ehci-hcd.c.

#define EHCI_TUNE_RL_HS   4 /* nak throttle; see 4.9 */

Definition at line 84 of file ehci-hcd.c.

#define EHCI_TUNE_RL_TT   0

Definition at line 85 of file ehci-hcd.c.

#define INTR_MASK   (STS_IAA | STS_FATAL | STS_PCD | STS_ERR | STS_INT)

Definition at line 116 of file ehci-hcd.c.

Function Documentation

MODULE_AUTHOR ( DRIVER_AUTHOR  )
MODULE_DESCRIPTION ( DRIVER_DESC  )
module_exit ( ehci_hcd_cleanup  )
module_init ( ehci_hcd_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( log2_irq_thresh  ,
int  ,
S_IRUGO   
)
module_param ( park  ,
uint  ,
S_IRUGO   
)
module_param ( ignore_oc  ,
bool  ,
S_IRUGO   
)
module_param ( hird  ,
int  ,
S_IRUGO   
)
MODULE_PARM_DESC ( log2_irq_thresh  ,
"log2 IRQ  latency,
1-64 microframes"   
)
MODULE_PARM_DESC ( park  ,
"park setting; 1-3 back-to-back async packets  
)
MODULE_PARM_DESC ( ignore_oc  ,
"ignore bogus hardware overcurrent indications"   
)
MODULE_PARM_DESC ( hird  ,
"host initiated resume  duration,
+1 for each 75us"   
)