Enter Mode Command may contain one VDO.
Showing the changes to include/linux (1 of 5 files). Show all
Unified · Split
| @@ -55,7 +55,7 @@ static inline void *typec_altmode_get_drvdata(struct typec_altmode *altmode) · 54 unmodified lines | |||
| 55 | * @activate: User callback for Enter/Exit Mode | 55 | * @activate: User callback for Enter/Exit Mode |
| 56 | */ | 56 | */ |
| 57 | struct typec_altmode_ops { | 57 | struct typec_altmode_ops { |
| 58 | int (*enter)(struct typec_altmode *altmode); | 58 | int (*enter)(struct typec_altmode *altmode, u32 *vdo); |
| 59 | int (*exit)(struct typec_altmode *altmode); | 59 | int (*exit)(struct typec_altmode *altmode); |
| 60 | void (*attention)(struct typec_altmode *altmode, u32 vdo); | 60 | void (*attention)(struct typec_altmode *altmode, u32 vdo); |
| 61 | int (*vdm)(struct typec_altmode *altmode, const u32 hdr, | 61 | int (*vdm)(struct typec_altmode *altmode, const u32 hdr, |
| @@ -65,7 +65,7 @@ struct typec_altmode_ops { · 3 unmodified lines | |||
| 65 | int (*activate)(struct typec_altmode *altmode, int activate); | 65 | int (*activate)(struct typec_altmode *altmode, int activate); |
| 66 | }; | 66 | }; |
| 67 | 67 | ||
| 68 | int typec_altmode_enter(struct typec_altmode *altmode); | 68 | int typec_altmode_enter(struct typec_altmode *altmode, u32 *vdo); |
| 69 | int typec_altmode_exit(struct typec_altmode *altmode); | 69 | int typec_altmode_exit(struct typec_altmode *altmode); |
| 70 | void typec_altmode_attention(struct typec_altmode *altmode, u32 vdo); | 70 | void typec_altmode_attention(struct typec_altmode *altmode, u32 vdo); |
| 71 | int typec_altmode_vdm(struct typec_altmode *altmode, | 71 | int typec_altmode_vdm(struct typec_altmode *altmode, |