typec_altmode_vdm(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay so bestie, this is typec_altmode_vdm(9) from the Kernel API Manual β€” the page for the function that sends Vendor Defined Messages (VDM) to the partner 🫢

typec_altmode_vdm β€” Send Vendor Defined Messages (VDM) to the partner πŸ’Œ

✨ SYNOPSIS ✨

here’s the signature, no cap, copy it exactly:

int typec_altmode_vdm (struct typec_altmode *adev , const u32 header ,
       const u32 *vdo , int count );

πŸŽ€ ARGUMENTS πŸŽ€

  • adev β€” Alternate mode handle. your main character pointer ✨
  • header β€” VDM Header. the header bestie πŸ’…
  • vdo β€” Array of Vendor Defined Data Objects. yes, an array, not a single object πŸ‘‘
  • count β€” Number of Data Objects. how many Data Objects are in the array πŸ”’

🌸 DESCRIPTION 🌸

The alternate mode drivers use this function for SVID specific communication with the partner. πŸ’¬ The port drivers use it to deliver the Structured VDMs received from the partners to the alternate mode drivers. 🚚✨

that’s the whole vibe: alt-mode drivers talk SVID-specific stuff to the partner, and port drivers pass those Structured VDMs along to the alternate mode drivers. no extra lore, just facts πŸ’–

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/usb/typec/bus.c is part of this little friend group too:


source/version line: ./drivers/usb/typec Β· date: October 2026 Β· page: typec_altmode_vdm(9) β€” that’s the footer, bestie, mwah! πŸ’‹πŸ«Ά

πŸ“¦ where this page comes from