projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
usb: chipidea: export interrupt enable and status register read functions
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
usb
/
chipidea
/
ci.h
diff --git
a/drivers/usb/chipidea/ci.h
b/drivers/usb/chipidea/ci.h
index e206406ae1d9558f8776a6a5e2974a2bd87e2ee7..7ae8cb6803217d5d8885800b499841845b23a466 100644
(file)
--- a/
drivers/usb/chipidea/ci.h
+++ b/
drivers/usb/chipidea/ci.h
@@
-319,6
+319,10
@@
static inline u32 hw_test_and_write(struct ci_hdrc *ci, enum ci_hw_regs reg,
return (val & mask) >> __ffs(mask);
}
+u32 hw_read_intr_enable(struct ci_hdrc *ci);
+
+u32 hw_read_intr_status(struct ci_hdrc *ci);
+
int hw_device_reset(struct ci_hdrc *ci, u32 mode);
int hw_port_test_set(struct ci_hdrc *ci, u8 mode);