typec_get_n...svdm_version(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ typec_get_negotiated_svdm_version(9) πŸ¦‹

okay bestie, this is the Kernel API Manual page for typec_get_negotiated_svdm_version, and it's literally about getting the negotiated SVDM Version. no cap, let's get into it πŸ’–


🌸 NAME 🌸

typec_get_negotiated_svdm_version β€” Get negotiated SVDM Version ✨


✨ SYNOPSIS ✨

int typec_get_negotiated_svdm_version (struct typec_port *port );

πŸŽ€ ARGUMENTS πŸŽ€

  • port β€” USB Type-C Port. that's the whole argument, bestie 🫢

πŸ’… DESCRIPTION πŸ’…

okay so this function gets the negotiated SVDM Version. The Version is set to the port default value stored in typec_capability on partner registration, and it's updated after a successful Discover Identity if the negotiated value is less than the default value.

It returns usb_pd_svdm_ver if the partner has been registered; otherwise you get -ENODEV. that's the whole plot, fr fr 😭


πŸ”₯ SEE ALSO πŸ”₯

the whole squad is here, and yes we're listing every single one πŸ‘‘


xoxo, your Kernel API Manual bestie πŸ’… β€” source path ./drivers/usb/typec, dated October 2026, page typec_get_n...svdm_version(9). periodt πŸŽ€

πŸ“¦ where this page comes from