aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/xhci.h
diff options
context:
space:
mode:
authorAndiry Xu <andiry.xu@amd.com>2011-09-23 17:19:49 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2011-09-26 18:51:09 -0400
commitd2f52c9e585bbb1a3c164e02b8dcd0d996c67353 (patch)
treedbf01ea79e8d869e3ab3493cea8e2b1801d193bc /drivers/usb/host/xhci.h
parentc9682dffceb4bb3bdf6df4c0c87c4b887b03f5b7 (diff)
xHCI: test and clear RWC bit
Introduce xhci_test_and_clear_bit() to clear RWC bit in PORTSC register. Signed-off-by: Andiry Xu <andiry.xu@amd.com> Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/xhci.h')
-rw-r--r--drivers/usb/host/xhci.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h
index 92eba69b9239..fa921cbbe872 100644
--- a/drivers/usb/host/xhci.h
+++ b/drivers/usb/host/xhci.h
@@ -1719,6 +1719,8 @@ void xhci_ring_ep_doorbell(struct xhci_hcd *xhci, unsigned int slot_id,
1719/* xHCI roothub code */ 1719/* xHCI roothub code */
1720void xhci_set_link_state(struct xhci_hcd *xhci, __le32 __iomem **port_array, 1720void xhci_set_link_state(struct xhci_hcd *xhci, __le32 __iomem **port_array,
1721 int port_id, u32 link_state); 1721 int port_id, u32 link_state);
1722void xhci_test_and_clear_bit(struct xhci_hcd *xhci, __le32 __iomem **port_array,
1723 int port_id, u32 port_bit);
1722int xhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, u16 wIndex, 1724int xhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, u16 wIndex,
1723 char *buf, u16 wLength); 1725 char *buf, u16 wLength);
1724int xhci_hub_status_data(struct usb_hcd *hcd, char *buf); 1726int xhci_hub_status_data(struct usb_hcd *hcd, char *buf);