Linux Kernel
3.7.1
|
Go to the source code of this file.
Macros | |
#define | PORT_WAKE_BITS (PORT_WKOC_E | PORT_WKDISC_E | PORT_WKCONN_E) |
#define | PORT_RWC_BITS |
#define | XHCI_PORT_RO ((1<<0) | (1<<3) | (0xf<<10) | (1<<30)) |
#define | XHCI_PORT_RWS ((0xf<<5) | (1<<9) | (0x3<<14) | (0x7<<25)) |
#define | XHCI_PORT_RW1S ((1<<4)) |
#define | XHCI_PORT_RW1CS ((1<<1) | (0x7f<<17)) |
#define | XHCI_PORT_RW ((1<<16)) |
#define | XHCI_PORT_RZ ((1<<2) | (1<<24) | (0xf<<28)) |
Functions | |
u32 | xhci_port_state_to_neutral (u32 state) |
int | xhci_find_slot_id_by_port (struct usb_hcd *hcd, struct xhci_hcd *xhci, u16 port) |
void | xhci_ring_device (struct xhci_hcd *xhci, int slot_id) |
void | xhci_set_link_state (struct xhci_hcd *xhci, __le32 __iomem **port_array, int port_id, u32 link_state) |
void | xhci_test_and_clear_bit (struct xhci_hcd *xhci, __le32 __iomem **port_array, int port_id, u32 port_bit) |
void | xhci_del_comp_mod_timer (struct xhci_hcd *xhci, u32 status, u16 wIndex) |
int | xhci_hub_control (struct usb_hcd *hcd, u16 typeReq, u16 wValue, u16 wIndex, char *buf, u16 wLength) |
int | xhci_hub_status_data (struct usb_hcd *hcd, char *buf) |
#define PORT_RWC_BITS |
#define PORT_WAKE_BITS (PORT_WKOC_E | PORT_WKDISC_E | PORT_WKCONN_E) |
Definition at line 28 of file xhci-hub.c.
#define XHCI_PORT_RO ((1<<0) | (1<<3) | (0xf<<10) | (1<<30)) |
Definition at line 190 of file xhci-hub.c.
#define XHCI_PORT_RW ((1<<16)) |
Definition at line 214 of file xhci-hub.c.
#define XHCI_PORT_RW1CS ((1<<1) | (0x7f<<17)) |
Definition at line 209 of file xhci-hub.c.
#define XHCI_PORT_RW1S ((1<<4)) |
Definition at line 201 of file xhci-hub.c.
#define XHCI_PORT_RWS ((0xf<<5) | (1<<9) | (0x3<<14) | (0x7<<25)) |
Definition at line 196 of file xhci-hub.c.
#define XHCI_PORT_RZ ((1<<2) | (1<<24) | (0xf<<28)) |
Definition at line 219 of file xhci-hub.c.
Definition at line 519 of file xhci-hub.c.
Definition at line 239 of file xhci-hub.c.
int xhci_hub_control | ( | struct usb_hcd * | hcd, |
u16 | typeReq, | ||
u16 | wValue, | ||
u16 | wIndex, | ||
char * | buf, | ||
u16 | wLength | ||
) |
Definition at line 537 of file xhci-hub.c.
Definition at line 950 of file xhci-hub.c.
Definition at line 229 of file xhci-hub.c.
Definition at line 321 of file xhci-hub.c.
void xhci_set_link_state | ( | struct xhci_hcd * | xhci, |
__le32 __iomem ** | port_array, | ||
int | port_id, | ||
u32 | link_state | ||
) |
Definition at line 412 of file xhci-hub.c.