Linux Kernel
3.7.1
|
#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/slab.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/timer.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/io.h>
#include <asm/irq.h>
#include <asm/unaligned.h>
#include <linux/irq.h>
#include <linux/platform_device.h>
#include "oxu210hp.h"
Go to the source code of this file.
Macros | |
#define | DRIVER_VERSION "0.0.50" |
#define | oxu_dbg(oxu, fmt, args...) dev_dbg(oxu_to_hcd(oxu)->self.controller , fmt , ## args) |
#define | oxu_err(oxu, fmt, args...) dev_err(oxu_to_hcd(oxu)->self.controller , fmt , ## args) |
#define | oxu_info(oxu, fmt, args...) dev_info(oxu_to_hcd(oxu)->self.controller , fmt , ## args) |
#define | oxu_vdbg(oxu, fmt, args...) /* Nop */ |
#define | dbg_status(oxu, label, status) |
#define | dbg_cmd(oxu, label, command) |
#define | dbg_port(oxu, label, port, status) |
#define | HALT_BIT cpu_to_le32(QTD_STS_HALT) |
#define | hb_mult(wMaxPacketSize) (1 + (((wMaxPacketSize) >> 11) & 0x03)) |
#define | max_packet(wMaxPacketSize) ((wMaxPacketSize) & 0x07ff) |
#define | QH_ADDR_MASK cpu_to_le32(0x7f) |
#define | PORT_WAKE_BITS (PORT_WKOC_E|PORT_WKDISC_E|PORT_WKCONN_E) |
#define | oxu_drv_suspend NULL |
#define | oxu_drv_resume NULL |
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_platform_driver (oxu_driver) | |
MODULE_DESCRIPTION ("Oxford OXU210HP HCD driver - ver. "DRIVER_VERSION) | |
MODULE_AUTHOR ("Rodolfo Giometti <[email protected]>") | |
MODULE_LICENSE ("GPL") | |
Definition at line 208 of file oxu210hp-hcd.c.
Definition at line 202 of file oxu210hp-hcd.c.
#define DRIVER_VERSION "0.0.50" |
Definition at line 50 of file oxu210hp-hcd.c.
#define HALT_BIT cpu_to_le32(QTD_STS_HALT) |
Definition at line 973 of file oxu210hp-hcd.c.
#define hb_mult | ( | wMaxPacketSize | ) | (1 + (((wMaxPacketSize) >> 11) & 0x03)) |
Definition at line 1167 of file oxu210hp-hcd.c.
#define max_packet | ( | wMaxPacketSize | ) | ((wMaxPacketSize) & 0x07ff) |
Definition at line 1169 of file oxu210hp-hcd.c.
Definition at line 56 of file oxu210hp-hcd.c.
#define oxu_drv_resume NULL |
Definition at line 3939 of file oxu210hp-hcd.c.
#define oxu_drv_suspend NULL |
Definition at line 3938 of file oxu210hp-hcd.c.
Definition at line 58 of file oxu210hp-hcd.c.
Definition at line 60 of file oxu210hp-hcd.c.
Definition at line 83 of file oxu210hp-hcd.c.
#define PORT_WAKE_BITS (PORT_WKOC_E|PORT_WKDISC_E|PORT_WKCONN_E) |
Definition at line 3155 of file oxu210hp-hcd.c.
#define QH_ADDR_MASK cpu_to_le32(0x7f) |
Definition at line 1531 of file oxu210hp-hcd.c.
MODULE_AUTHOR | ( | "Rodolfo Giometti <[email protected]>" | ) |
MODULE_DESCRIPTION | ( | "Oxford OXU210HP HCD driver - ver. " | DRIVER_VERSION | ) |
MODULE_LICENSE | ( | "GPL" | ) |
MODULE_PARM_DESC | ( | log2_irq_thresh | , |
"log2 IRQ | latency, | ||
1-64 microframes" | |||
) |
module_platform_driver | ( | oxu_driver | ) |