usb4_dp_port..._granularity(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ‘‘ usb4_dp_port..._granularity(9) πŸ‘‘

okay so this is a Kernel API Manual page, bestie β€” manual name folded in right here like a cute little name tag 🫢.


πŸŽ€ NAME πŸŽ€

usb4_dp_port_set_granularity β€” set granularity for the bandwidth values ✨


✨ SYNOPSIS ✨

int usb4_dp_port_set_granularity (struct tb_port *port , int granularity
       );

🌸 ARGUMENTS 🌸

  • port β€” DP IN adapter. that's the port we're doing the thing to, no cap πŸ’…
  • granularity β€” granularity in Mb/s. supported values are 1000, 500 and 250 πŸŽ€

πŸ¦‹ DESCRIPTION πŸ¦‹

this one sets the granularity used with the estimated, allocated and requested bandwidth. that's the whole vibe β€” it's giving "tell the bandwidth math what step size to use" ⭐


πŸ’€ RETURN πŸ’€

  • 0 β€” on success. slay, it worked πŸ’–
  • -EOPNOTSUPP β€” if the adapter does not support this. the adapter said "not today" πŸ™ˆ
  • Negative errno β€” another error occurred. some other little gremlin showed up 😭

🌈 SEE ALSO 🌈

kernel file: ./drivers/thunderbolt/usb4.c β€” and here's the whole SEE ALSO squad, fr fr:


and that's the whole page, bestie 🫢 cute little sign-off: source/version is ./drivers/thunderbolt, date is October 2026, and the page is usb4_dp_port..._granularity(9). mwah πŸ’‹

πŸ“¦ where this page comes from