summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAjay Agarwal <ajaya@codeaurora.org>2018-05-04 10:15:01 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2018-05-15 07:17:08 -0700
commitd2b0c86b23cf583ca513fe7219052ca367da2243 (patch)
tree21bbff2c6eb3ec8949c0a7c8ccc680e5f94cc3ae /include/linux
parentca3d15e44b795dadff563918a96b99a448d32ec4 (diff)
Revert "usb: core: Remove helper APIs returning dcba dma address"
This reverts commit 039bcf340ea35f1e5c4a81f290455570097d7d62. Add back helper APIs to return dcba dma address. Change-Id: Ia65e98691d1a3c241694f07215c12605832f574d Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/usb.h1
-rw-r--r--include/linux/usb/hcd.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/usb.h b/include/linux/usb.h
index 1821d34c24a5..2189e292d50c 100644
--- a/include/linux/usb.h
+++ b/include/linux/usb.h
@@ -753,6 +753,7 @@ extern int usb_sec_event_ring_cleanup(struct usb_device *dev,
extern dma_addr_t
usb_get_sec_event_ring_dma_addr(struct usb_device *dev,
unsigned intr_num);
+extern dma_addr_t usb_get_dcba_dma_addr(struct usb_device *dev);
extern dma_addr_t usb_get_xfer_ring_dma_addr(struct usb_device *dev,
struct usb_host_endpoint *ep);
extern int usb_get_controller_id(struct usb_device *dev);
diff --git a/include/linux/usb/hcd.h b/include/linux/usb/hcd.h
index 925401c30abe..f603b46ff48a 100644
--- a/include/linux/usb/hcd.h
+++ b/include/linux/usb/hcd.h
@@ -451,6 +451,7 @@ extern int usb_hcd_sec_event_ring_cleanup(struct usb_device *udev,
extern dma_addr_t
usb_hcd_get_sec_event_ring_dma_addr(struct usb_device *udev,
unsigned intr_num);
+extern dma_addr_t usb_hcd_get_dcba_dma_addr(struct usb_device *udev);
extern dma_addr_t
usb_hcd_get_xfer_ring_dma_addr(struct usb_device *udev,
struct usb_host_endpoint *ep);