usb_power_de...capabilities(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– usb_power_delivery_register_capabilities(9) β€” Kernel API Manual energy πŸ’–

🌸 NAME 🌸

usb_power_delivery_register_capabilities β€” Register a set of capabilities. periodt. πŸ’…

✨ SYNOPSIS ✨

struct usb_power_delivery_capabilities *
usb_power_delivery_register_capabilities (struct usb_power_delivery *pd
, struct usb_power_delivery_capabilities_desc *desc );

πŸŽ€ ARGUMENTS πŸŽ€

  • pd β€” The USB PD instance that the capabilities belong to. Like, this is the USB PD home base for these capabilities, bestie. 🏠
  • desc β€” Description of the Capabilities Message. This is where the Capabilities Message gets described. πŸ“

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so this function registers a Capabilities Message described in desc. The capabilities will have their own sub-directory under pd in sysfs. It’s giving organized little folder moment. πŸ—‚οΈ

The function returns pointer to struct usb_power_delivery_capabilities, or ERR_PRT(errno). Yes, ERR_PRT(errno) β€” that spelling is straight from the page, bestie, no autocorrect, no cap. πŸ’€

🌈 SEE ALSO 🌈


xoxo, bestie 🫢 source/version: ./drivers/usb/typec Β· date: October 2026 Β· Kernel API Manual, already folded in at the top like a good little header πŸŽ€

πŸ“¦ where this page comes from