Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Guenter Roeck and committed by
Greg Kroah-Hartman
70cd90be 98076fa6

+5
+5
drivers/staging/typec/pd.h
··· 104 104 105 105 #define PD_MAX_PAYLOAD 7 106 106 107 + /** 108 + * struct pd_message - PD message as seen on wire 109 + * @header: PD message header 110 + * @payload: PD message payload 111 + */ 107 112 struct pd_message { 108 113 __le16 header; 109 114 __le32 payload[PD_MAX_PAYLOAD];