usb4_dp_port_set_nrd(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… usb4_dp_port_set_nrd β€” like, the Kernel API Manual page, bestie ✨

okay so this is the usb4_dp_port_set_nrd(9) page from the Kernel API Manual, and it's literally the glow-up-your-DP-adapter function πŸŽ€


🌸 NAME 🌸

usb4_dp_port_set_nrd β€” Set non-reduced rate and lanes πŸ’–


✨ SYNOPSIS ✨

int usb4_dp_port_set_nrd (struct tb_port *port , int rate , int lanes );

🫢 ARGUMENTS 🫢

  • port β€” the DP IN adapter, that's the one we're vibing with here πŸ¦‹
  • rate β€” the non-reduced rate, in Mb/s, no cap πŸ“ˆ
  • lanes β€” the non-reduced lanes, periodt πŸ’…

πŸ”₯ DESCRIPTION πŸ”₯

okay so listen πŸ‘‘ β€” before the capabilities reduction happens, you can use this function to set the non-reduced values for the DP IN adapter. that's the whole plot. it's giving pre-reduction main character energy 😭✨


🌈 RETURN 🌈

  • 0 β€” on success, we ate πŸ“
  • -EOPNOTSUPP β€” if the adapter does not support this, and it's literally telling you so πŸ™ˆ
  • Negative errno β€” another error occurred πŸ’€

πŸ’œ SEE ALSO πŸ’œ

the kernel file lives at ./drivers/thunderbolt/usb4.c, and here's the whole friend group of (9) pages β€” say hi to all of them 🧚:


ngl the SEE ALSO section is longer than the actual function. iconic behaviour, honestly πŸ’€πŸ‘‘

k bye bestie, mwah πŸ’‹ β€” this page came from ./drivers/thunderbolt, dated October 2026, and that's the whole tea β˜•πŸŒΈ

πŸ“¦ where this page comes from