typec_find_port_power_role(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… typec_find_port_power_role(9) πŸ’…

✨ NAME ✨

typec_find_port_power_role β€” Get the typec port power capability. Yes bestie, this is straight from the Kernel API Manual, and we are getting into it. πŸ’–


🌸 SYNOPSIS 🌸

okay so the whole signature is literally this:

int typec_find_port_power_role (const char *name );

πŸŽ€ ARGUMENTS πŸŽ€

  • name β€” port power capability string. That's the string bestie, the whole search starts here. πŸ¦‹

πŸ’« DESCRIPTION πŸ’«

This routine is used to find the typec_port_type by its string name. Lowkey that's the plot. ✨

Returns typec_port_type if success, otherwise negative error code. Periodt. No cap, that's the return vibe. πŸ’…


πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/usb/typec/class.c β€” the whole squad is here, bestie:


okay bye bestie 🫢 source/version is ./drivers/usb/typec, date is October 2026, and this iconic little page is typec_find_port_power_role(9). Mwah. πŸ’‹πŸŒ·

πŸ“¦ where this page comes from