Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 70cd90be authored by Guenter Roeck's avatar Guenter Roeck Committed by Greg Kroah-Hartman
Browse files

staging: typec: pd: Document struct pd_message



struct pd_message is the format of a PD message as seen on the wire.

Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 98076fa6
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -104,6 +104,11 @@ static inline unsigned int pd_header_msgid_le(__le16 header)

#define PD_MAX_PAYLOAD		7

/**
 * struct pd_message - PD message as seen on wire
 * @header:	PD message header
 * @payload:	PD message payload
 */
struct pd_message {
	__le16 header;
	__le32 payload[PD_MAX_PAYLOAD];