typec_find_pwr_opmode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… typec_find_pwr_opmode(9) πŸ’…

okay so bestie, this little icon is chillin' in the Kernel API Manual, and it's here to help you find a power operation mode by its name. no cap. 🫢

🌸 NAME 🌸

typec_find_pwr_opmode β€” get the typec power operation mode capability. literally what it says on the tin, bestie. ✨

πŸŽ€ SYNOPSIS πŸŽ€

int typec_find_pwr_opmode (const char *name );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • name β€” the power operation mode string. that's the string you're handing over so the routine can do its little lookup, mwah. πŸ’…

✨ DESCRIPTION ✨

This routine is used to find the typec_pwr_opmode by its string name. it's giving β€œmatch the name, get the opmode.” πŸ”₯

Returns typec_pwr_opmode if success, otherwise negative error code. so yeah β€” success hands you the opmode, otherwise you get a negative error code. 😭

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/usb/typec/class.c


okay that's the whole page, bestie πŸ’– source: ./drivers/usb/typec; date: October 2026; manual: Kernel API Manual; page: typec_find_pwr_opmode(9). slay and goodbye πŸ¦‹πŸŽ€

πŸ“¦ where this page comes from