typec_partn..._pd_revision(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… typec_partner_set_pd_revision(9) β€” the "hey bestie, the PD revision just dropped" edition ✨

So this is a page from the Kernel API Manual, and it's about typec_partner_set_pd_revision πŸ’– it's one of those lil glue functions in the Type-C corner of the kernel and honestly? kinda iconic in a lowkey way πŸ¦‹


🌸 NAME 🌸

typec_partner_set_pd_revision β€” the function that sets the PD revision supported by the partner 🫢


✨ SYNOPSIS ✨

void typec_partner_set_pd_revision (struct typec_partner *partner , u16
pd_revision );

Like, no return value, no drama β€” she just does the thing and leaves πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • partner β€” the partner to be updated. yes, that partner. the one getting a little upgrade 🌈
  • pd_revision β€” a u16, and it's the USB Power Delivery Specification Revision supported by partner ⭐

πŸ”₯ DESCRIPTION πŸ”₯

Okay so here's the vibe: you call this routine to report that the PD revision of the port partner has become available πŸ“£ that's it, that's the whole job. It's giving "messenger, not decision-maker" β€” it just spreads the news that the info exists now πŸ’€ no cap.


πŸ¦‹ SEE ALSO πŸ¦‹

The kernel file is ./drivers/usb/typec/class.c, and if you want the whole friend group, here's literally every single one of them β€” bestie I did not skip a single name 😭

typec_altmode_update_active(9), typec_altmode2port(9), typec_altmode_set_ops(9), typec_unregister_altmode(9), typec_partner_set_usb_mode(9), typec_partner_set_identity(9), typec_partner_set_usb_power_delivery(9), typec_partner_set_num_altmodes(9), typec_partner_register_altmode(9), typec_partner_set_svdm_version(9), typec_partner_usb_power_delivery_register(9), typec_register_partner(9), typec_unregister_partner(9), typec_plug_set_num_altmodes(9), typec_plug_register_altmode(9), typec_register_plug(9), typec_unregister_plug(9), typec_cable_get(9), typec_cable_put(9), typec_cable_is_active(9), typec_cable_altmode_unsupported(9), typec_cable_set_identity(9), typec_register_cable(9), typec_unregister_cable(9), typec_port_set_usb_mode(9), typec_port_set_usb_power_delivery(9), typec_set_data_role(9), typec_get_data_role(9), typec_set_pwr_role(9), typec_set_vconn_role(9), typec_set_pwr_opmode(9), typec_find_pwr_opmode(9), typec_find_orientation(9), typec_find_port_power_role(9), typec_find_power_role(9), typec_find_port_data_role(9), typec_set_orientation(9), typec_get_orientation(9), typec_set_mode(9), typec_get_negotiated_svdm_version(9), typec_get_cable_svdm_version(9), typec_cable_set_svdm_version(9), typec_get_drvdata(9), typec_port_register_altmode(9), typec_port_register_cable_ops(9), typec_register_port(9), typec_unregister_port(9) πŸ‘‘


lowkey reminder: this page lives under ./drivers/usb/typec in the source tree, and the doc itself is dated October 2026 β€” so yeah, future-dated manual, main character energy only πŸ’œ

go off, kernel bestie, hope your partner's PD revision slays πŸŒΈβœ¨πŸŽ€

πŸ“¦ where this page comes from