Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
xhci-ext-caps.h File Reference
#include <linux/io.h>

Go to the source code of this file.

Macros

#define XHCI_MAX_HALT_USEC   (16*1000)
 
#define XHCI_STS_HALT   (1<<0)
 
#define XHCI_HCC_PARAMS_OFFSET   0x10
 
#define XHCI_HCC_EXT_CAPS(p)   (((p)>>16)&0xffff)
 
#define XHCI_CMD_OFFSET   0x00
 
#define XHCI_STS_OFFSET   0x04
 
#define XHCI_MAX_EXT_CAPS   50
 
#define XHCI_HC_LENGTH(p)   (((p)>>00)&0x00ff)
 
#define XHCI_EXT_CAPS_ID(p)   (((p)>>0)&0xff)
 
#define XHCI_EXT_CAPS_NEXT(p)   (((p)>>8)&0xff)
 
#define XHCI_EXT_CAPS_VAL(p)   ((p)>>16)
 
#define XHCI_EXT_CAPS_LEGACY   1
 
#define XHCI_EXT_CAPS_PROTOCOL   2
 
#define XHCI_EXT_CAPS_PM   3
 
#define XHCI_EXT_CAPS_VIRT   4
 
#define XHCI_EXT_CAPS_ROUTE   5
 
#define XHCI_EXT_CAPS_DEBUG   10
 
#define XHCI_HC_BIOS_OWNED   (1 << 16)
 
#define XHCI_HC_OS_OWNED   (1 << 24)
 
#define XHCI_LEGACY_SUPPORT_OFFSET   (0x00)
 
#define XHCI_LEGACY_CONTROL_OFFSET   (0x04)
 
#define XHCI_LEGACY_DISABLE_SMI   ((0x7 << 1) + (0xff << 5) + (0x7 << 17))
 
#define XHCI_LEGACY_SMI_EVENTS   (0x7 << 29)
 
#define XHCI_L1C   (1 << 16)
 
#define XHCI_HLC   (1 << 19)
 
#define XHCI_CMD_RUN   (1 << 0)
 
#define XHCI_CMD_EIE   (1 << 2)
 
#define XHCI_CMD_HSEIE   (1 << 3)
 
#define XHCI_CMD_EWE   (1 << 10)
 
#define XHCI_IRQS   (XHCI_CMD_EIE | XHCI_CMD_HSEIE | XHCI_CMD_EWE)
 
#define XHCI_STS_CNR   (1 << 11)
 

Macro Definition Documentation

#define XHCI_CMD_EIE   (1 << 2)

Definition at line 79 of file xhci-ext-caps.h.

#define XHCI_CMD_EWE   (1 << 10)

Definition at line 83 of file xhci-ext-caps.h.

#define XHCI_CMD_HSEIE   (1 << 3)

Definition at line 81 of file xhci-ext-caps.h.

#define XHCI_CMD_OFFSET   0x00

Definition at line 33 of file xhci-ext-caps.h.

#define XHCI_CMD_RUN   (1 << 0)

Definition at line 77 of file xhci-ext-caps.h.

#define XHCI_EXT_CAPS_DEBUG   10

Definition at line 53 of file xhci-ext-caps.h.

#define XHCI_EXT_CAPS_ID (   p)    (((p)>>0)&0xff)

Definition at line 43 of file xhci-ext-caps.h.

#define XHCI_EXT_CAPS_LEGACY   1

Definition at line 47 of file xhci-ext-caps.h.

#define XHCI_EXT_CAPS_NEXT (   p)    (((p)>>8)&0xff)

Definition at line 44 of file xhci-ext-caps.h.

#define XHCI_EXT_CAPS_PM   3

Definition at line 49 of file xhci-ext-caps.h.

#define XHCI_EXT_CAPS_PROTOCOL   2

Definition at line 48 of file xhci-ext-caps.h.

#define XHCI_EXT_CAPS_ROUTE   5

Definition at line 51 of file xhci-ext-caps.h.

#define XHCI_EXT_CAPS_VAL (   p)    ((p)>>16)

Definition at line 45 of file xhci-ext-caps.h.

#define XHCI_EXT_CAPS_VIRT   4

Definition at line 50 of file xhci-ext-caps.h.

#define XHCI_HC_BIOS_OWNED   (1 << 16)

Definition at line 55 of file xhci-ext-caps.h.

#define XHCI_HC_LENGTH (   p)    (((p)>>00)&0x00ff)

Definition at line 40 of file xhci-ext-caps.h.

#define XHCI_HC_OS_OWNED   (1 << 24)

Definition at line 56 of file xhci-ext-caps.h.

#define XHCI_HCC_EXT_CAPS (   p)    (((p)>>16)&0xffff)

Definition at line 30 of file xhci-ext-caps.h.

#define XHCI_HCC_PARAMS_OFFSET   0x10

Definition at line 28 of file xhci-ext-caps.h.

#define XHCI_HLC   (1 << 19)

Definition at line 73 of file xhci-ext-caps.h.

#define XHCI_IRQS   (XHCI_CMD_EIE | XHCI_CMD_HSEIE | XHCI_CMD_EWE)

Definition at line 85 of file xhci-ext-caps.h.

#define XHCI_L1C   (1 << 16)

Definition at line 70 of file xhci-ext-caps.h.

#define XHCI_LEGACY_CONTROL_OFFSET   (0x04)

Definition at line 64 of file xhci-ext-caps.h.

#define XHCI_LEGACY_DISABLE_SMI   ((0x7 << 1) + (0xff << 5) + (0x7 << 17))

Definition at line 66 of file xhci-ext-caps.h.

#define XHCI_LEGACY_SMI_EVENTS   (0x7 << 29)

Definition at line 67 of file xhci-ext-caps.h.

#define XHCI_LEGACY_SUPPORT_OFFSET   (0x00)

Definition at line 60 of file xhci-ext-caps.h.

#define XHCI_MAX_EXT_CAPS   50

Definition at line 36 of file xhci-ext-caps.h.

#define XHCI_MAX_HALT_USEC   (16*1000)

Definition at line 23 of file xhci-ext-caps.h.

#define XHCI_STS_CNR   (1 << 11)

Definition at line 88 of file xhci-ext-caps.h.

#define XHCI_STS_HALT   (1<<0)

Definition at line 25 of file xhci-ext-caps.h.

#define XHCI_STS_OFFSET   0x04

Definition at line 34 of file xhci-ext-caps.h.