|
| module_param (link_quirk, int, S_IRUGO|S_IWUSR) |
|
| MODULE_PARM_DESC (link_quirk,"Don't clear the chain bit on a link TRB") |
|
int | handshake (struct xhci_hcd *xhci, void __iomem *ptr, u32 mask, u32 done, int usec) |
|
void | xhci_quiesce (struct xhci_hcd *xhci) |
|
int | xhci_halt (struct xhci_hcd *xhci) |
|
int | xhci_reset (struct xhci_hcd *xhci) |
|
int | xhci_init (struct usb_hcd *hcd) |
|
int | xhci_run (struct usb_hcd *hcd) |
|
void | xhci_stop (struct usb_hcd *hcd) |
|
void | xhci_shutdown (struct usb_hcd *hcd) |
|
unsigned int | xhci_get_endpoint_index (struct usb_endpoint_descriptor *desc) |
|
unsigned int | xhci_get_endpoint_flag (struct usb_endpoint_descriptor *desc) |
|
unsigned int | xhci_get_endpoint_flag_from_index (unsigned int ep_index) |
|
unsigned int | xhci_last_valid_endpoint (u32 added_ctxs) |
|
int | xhci_urb_enqueue (struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags) |
|
int | xhci_urb_dequeue (struct usb_hcd *hcd, struct urb *urb, int status) |
|
int | xhci_drop_endpoint (struct usb_hcd *hcd, struct usb_device *udev, struct usb_host_endpoint *ep) |
|
int | xhci_add_endpoint (struct usb_hcd *hcd, struct usb_device *udev, struct usb_host_endpoint *ep) |
|
void | xhci_drop_ep_from_interval_table (struct xhci_hcd *xhci, struct xhci_bw_info *ep_bw, struct xhci_interval_bw_table *bw_table, struct usb_device *udev, struct xhci_virt_ep *virt_ep, struct xhci_tt_bw_info *tt_info) |
|
void | xhci_update_tt_active_eps (struct xhci_hcd *xhci, struct xhci_virt_device *virt_dev, int old_active_eps) |
|
int | xhci_check_bandwidth (struct usb_hcd *hcd, struct usb_device *udev) |
|
void | xhci_reset_bandwidth (struct usb_hcd *hcd, struct usb_device *udev) |
|
void | xhci_cleanup_stalled_ring (struct xhci_hcd *xhci, struct usb_device *udev, unsigned int ep_index) |
|
void | xhci_endpoint_reset (struct usb_hcd *hcd, struct usb_host_endpoint *ep) |
|
int | xhci_alloc_streams (struct usb_hcd *hcd, struct usb_device *udev, struct usb_host_endpoint **eps, unsigned int num_eps, unsigned int num_streams, gfp_t mem_flags) |
|
int | xhci_free_streams (struct usb_hcd *hcd, struct usb_device *udev, struct usb_host_endpoint **eps, unsigned int num_eps, gfp_t mem_flags) |
|
void | xhci_free_device_endpoint_resources (struct xhci_hcd *xhci, struct xhci_virt_device *virt_dev, bool drop_control_ep) |
|
int | xhci_discover_or_reset_device (struct usb_hcd *hcd, struct usb_device *udev) |
|
void | xhci_free_dev (struct usb_hcd *hcd, struct usb_device *udev) |
|
int | xhci_alloc_dev (struct usb_hcd *hcd, struct usb_device *udev) |
|
int | xhci_address_device (struct usb_hcd *hcd, struct usb_device *udev) |
|
int | xhci_set_usb2_hardware_lpm (struct usb_hcd *hcd, struct usb_device *udev, int enable) |
|
int | xhci_update_device (struct usb_hcd *hcd, struct usb_device *udev) |
|
int | xhci_enable_usb3_lpm_timeout (struct usb_hcd *hcd, struct usb_device *udev, enum usb3_link_state state) |
|
int | xhci_disable_usb3_lpm_timeout (struct usb_hcd *hcd, struct usb_device *udev, enum usb3_link_state state) |
|
int | xhci_update_hub_device (struct usb_hcd *hcd, struct usb_device *hdev, struct usb_tt *tt, gfp_t mem_flags) |
|
int | xhci_get_frame (struct usb_hcd *hcd) |
|
int | xhci_gen_setup (struct usb_hcd *hcd, xhci_get_quirks_t get_quirks) |
|
| MODULE_DESCRIPTION (DRIVER_DESC) |
|
| MODULE_AUTHOR (DRIVER_AUTHOR) |
|
| MODULE_LICENSE ("GPL") |
|
| module_init (xhci_hcd_init) |
|
| module_exit (xhci_hcd_cleanup) |
|
xhci_get_endpoint_index - Used for passing endpoint bitmasks between the core and HCDs. Find the index for an endpoint given its descriptor. Use the return value to right shift 1 for the bitmask.
Index = (epnum * 2) + direction - 1, where direction = 0 for OUT, 1 for IN. For control endpoints, the IN index is used (OUT index is unused), so index = (epnum * 2) + direction - 1 = (epnum * 2) + 1 - 1 = (epnum * 2)
Definition at line 1083 of file xhci.c.