summaryrefslogtreecommitdiff
path: root/include/usb_pd.h
diff options
context:
space:
mode:
authorAyushee <ayushee.shah@intel.com>2020-07-01 14:37:12 -0700
committerCommit Bot <commit-bot@chromium.org>2020-07-06 21:07:18 +0000
commit90b879c1817b7ef92bf7b7c1930aebf63dcc6bfe (patch)
treee185ea7f0fd39780af1d6f4a52c9b3e4b9bbf4f1 /include/usb_pd.h
parent1da311fab28081b89afa34f725aa800ca970ace1 (diff)
downloadchrome-ec-90b879c1817b7ef92bf7b7c1930aebf63dcc6bfe.tar.gz
usb_pd: Move 'is_vdo_present()' and 'is_usb4_vdo()' to TCPMv1
BUG=b:156749387 BRANCH=None TEST=make buildall -j Signed-off-by: Ayushee <ayushee.shah@intel.com> Change-Id: I8ecffd3084de472ec3d145c3ff69df1ca2d89a56 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2278562 Reviewed-by: Vijay P Hiremath <vijay.p.hiremath@intel.com> Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'include/usb_pd.h')
-rw-r--r--include/usb_pd.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/include/usb_pd.h b/include/usb_pd.h
index cd1ac4eacf..4c968699c0 100644
--- a/include/usb_pd.h
+++ b/include/usb_pd.h
@@ -1966,17 +1966,6 @@ void pd_set_dfp_enter_mode_flag(int port, bool set);
void reset_pd_cable(int port);
/**
- * Returns true if the number of data objects in the payload is greater than
- * than the VDO index
- *
- * @param cnt number of data objects in payload
- * @param index VDO Index
- * @return True if number of data objects is greater than VDO index,
- * false otherwise
- */
-bool is_vdo_present(int cnt, int index);
-
-/**
* Return the type of cable attached
*
* @param port USB-C port number
@@ -2010,16 +1999,6 @@ enum idh_ptype get_usb_pd_cable_type(int port);
enum usb_rev30_ss get_usb4_cable_speed(int port);
/**
- * Check if attached device has USB4 VDO
- *
- * @param port USB-C port number
- * @param cnt number of data objects in payload
- * @param payload payload data
- * @return True if device has USB4 VDO
- */
-bool is_usb4_vdo(int port, int cnt, uint32_t *payload);
-
-/**
* Return enter USB message payload
*
* @param port USB-C port number