diff options
author | Vijay Hiremath <vijay.p.hiremath@intel.com> | 2020-01-30 15:08:26 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-02-04 04:07:51 +0000 |
commit | 1c5d43dd90a55dc3e5a61447aaa8e0441b13b236 (patch) | |
tree | 2422948d19d949585f12cfc44167b752edc7f1af /include | |
parent | a14f04dd9525b4e59c549bc6cdc193da45423b0c (diff) | |
download | chrome-ec-1c5d43dd90a55dc3e5a61447aaa8e0441b13b236.tar.gz |
TCPMv1/v2: Move dfp_consume_identity() to common file
BUG=b:148528713
BRANCH=none
TEST=make buildall -j
Change-Id: I5b0bbd553cbe4fc76478b1c89b0f3f391f074a27
Signed-off-by: Vijay Hiremath <vijay.p.hiremath@intel.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2032158
Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/usb_pd.h | 9 | ||||
-rw-r--r-- | include/usb_tc_sm.h | 7 |
2 files changed, 9 insertions, 7 deletions
diff --git a/include/usb_pd.h b/include/usb_pd.h index 7b2e228b31..40029a30ff 100644 --- a/include/usb_pd.h +++ b/include/usb_pd.h @@ -1637,6 +1637,15 @@ int pd_dfp_exit_mode(int port, uint16_t svid, int opos); void dfp_consume_attention(int port, uint32_t *payload); /** + * Consume the discover identity message + * + * @param port USB-C port number + * @param cnt number of data objects in payload + * @param payload payload data. + */ +void dfp_consume_identity(int port, int cnt, uint32_t *payload); + +/** * Initialize policy engine for DFP * * @param port USB-C port number diff --git a/include/usb_tc_sm.h b/include/usb_tc_sm.h index 3c6d95fc33..322d3b3224 100644 --- a/include/usb_tc_sm.h +++ b/include/usb_tc_sm.h @@ -308,13 +308,6 @@ void tc_event_check(int port, int evt); void tc_run(const int port); /** - * Attempt to activate VCONN - * - * @param port USB-C port number - */ -void tc_vconn_on(int port); - -/** * Start error recovery * * @param port USB-C port number |