common/usbc/usb_pe_private.h: Format with clang-format
BRANCH=none
TEST=none
*/
enum {
-/* At least one successful PD communication packet received from port partner */
+ /* At least one successful PD communication packet received from port
+ partner */
PE_FLAGS_PD_CONNECTION_FN = 0,
/* Accept message received from port partner */
PE_FLAGS_ACCEPT_FN,
/* Power Supply Ready message received from port partner */
PE_FLAGS_PS_READY_FN,
-/* Protocol Error was determined based on error recovery current state */
+ /* Protocol Error was determined based on error recovery current state
+ */
PE_FLAGS_PROTOCOL_ERROR_FN,
/* Set if we are in Modal Operation */
PE_FLAGS_MODAL_OPERATION_FN,
@@ -27,13 +29,16 @@ enum {
PE_FLAGS_TX_COMPLETE_FN,
/* A message sent by a port partner has been received */
PE_FLAGS_MSG_RECEIVED_FN,
-/* A hard reset has been requested but has not been sent, not currently used */
+ /* A hard reset has been requested but has not been sent, not currently
+ used */
PE_FLAGS_HARD_RESET_PENDING_FN,
-/* Port partner sent a Wait message. Wait before we resend our message */
+ /* Port partner sent a Wait message. Wait before we resend our message
+ */
PE_FLAGS_WAIT_FN,
/* An explicit contract is in place with our port partner */
PE_FLAGS_EXPLICIT_CONTRACT_FN,
-/* Waiting for Sink Capabailities timed out. Used for retry error handling */
+ /* Waiting for Sink Capabailities timed out. Used for retry error
+ handling */
PE_FLAGS_SNK_WAIT_CAP_TIMEOUT_FN,
/* Power Supply voltage/current transition timed out */
PE_FLAGS_PS_TRANSITION_TIMEOUT_FN,
@@ -61,12 +66,15 @@ enum {
PE_FLAGS_DR_SWAP_TO_DFP_FN,
/*
* TODO: POLICY decision
- * Flag to trigger a message resend after receiving a WAIT from port partner
+ * Flag to trigger a message resend after receiving a WAIT from port
+ * partner
*/
PE_FLAGS_WAITING_PR_SWAP_FN,
-/* FLAG is set when an AMS is initiated locally. ie. AP requested a PR_SWAP */
+ /* FLAG is set when an AMS is initiated locally. ie. AP requested a
+ PR_SWAP */
PE_FLAGS_LOCALLY_INITIATED_AMS_FN,
-/* Flag to note the first message sent in PE_SRC_READY and PE_SNK_READY */
+ /* Flag to note the first message sent in PE_SRC_READY and PE_SNK_READY
+ */
PE_FLAGS_FIRST_MSG_FN,
/* Flag to continue a VDM request if it was interrupted */
PE_FLAGS_VDM_REQUEST_CONTINUE_FN,
