set_controller_speed(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– set_controller_speed(9) πŸ’–

Okay bestie, welcome to the Kernel API Manual β€” this page is all about set_controller_speed, and it’s lowkey iconic πŸ’…


✨ NAME ✨

set_controller_speed β€” set the frequency and/or mode of a specific controller segment. Periodt πŸŽ€


🌸 SYNOPSIS 🌸

u8 set_controller_speed (struct controller *ctrl , u8 adapter_speed , u8
hp_slot );

πŸŽ€ ARGUMENTS πŸŽ€

  • ctrl β€” the controller to change frequency/mode for πŸ¦‹
  • adapter_speed β€” the speed of the adapter we want to match ⭐
  • hp_slot β€” the slot number where the adapter is installed πŸ“

🫢 DESCRIPTION 🫢

Returns 0 if we successfully change the frequency and/or mode to match the adapter speed. That’s the success vibe check, no cap πŸ’–


🌈 SEE ALSO 🌈

Kernel file: ./drivers/pci/hotplug/cpqphp_ctrl.c β€” go say hi to these besties:


Source/version vibes: ./drivers/pci/hotplug Β· dated October 2026 Β· starring set_controller_speed(9) πŸ’…βœ¨

πŸ“¦ where this page comes from