typec_unregister_partner(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… typec_unregister_partner β€” like, the Kernel API Manual page, bestie πŸŽ€

okay so this is a page from the Kernel API Manual and it's about typec_unregister_partner(9) β€” yes that's a mouthful, we're getting through it together 🫢


✨ NAME ✨

typec_unregister_partner β€” Unregister a USB Type-C Partner. that's the whole vibe. it un-partners. it deregisters. iconic behaviour honestly πŸ’…


🌸 SYNOPSIS 🌸

void typec_unregister_partner (struct typec_partner *partner );

bestie it returns void. nothing comes back. it just does the thing and leaves, main character energy fr fr ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • partner β€” the partner to be unregistered πŸ’– this is the one getting un-registered, no cap.

πŸ’€ DESCRIPTION πŸ’€

so like, this function unregisters the device that was created with typec_register_partner. that's it. it's the undo button for typec_register_partner. the way that it's literally just the cleanup counterpart 😭 lowkey so satisfying.

ngl if you registered it, you gotta unregister it β€” that's the whole relationship πŸŽ€

πŸ‘‘ SEE ALSO πŸ‘‘

okay this list is LONG so buckle up, we're listing every single one, nobody gets left behind 🫢

Kernel file ./drivers/usb/typec/class.c and then, in order:

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_pd_revision(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_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) πŸ’–

that's all of them. every. single. one. slay 🧚


and that's the page!! typec_unregister_partner(9), from ./drivers/usb/typec, dated October 2026, Kernel API Manual vibes throughout β€” mwah, bye bestie πŸŽ€πŸ’œ

πŸ“¦ where this page comes from