pcie_bwctrl_select_speed(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, this is the pcie_bwctrl_select_speed(9) page from the Kernel API Manual, and it's literally here to help you Select Target Link Speed β€” no cap, that's the whole vibe. πŸ’…βœ¨

🌸 NAME 🌸

pcie_bwctrl_select_speed β€” Select Target Link Speed πŸŽ€

✨ SYNOPSIS ✨

u16 pcie_bwctrl_select_speed (struct pci_dev *port , enum pci_bus_speed speed_req );

🫢 ARGUMENTS 🫢

  • port β€” the PCIe Port, aka the port bestie we're working with πŸ’–
  • speed_req β€” the Requested PCIe Link Speed, aka the speed you're asking for ⭐

πŸ’« DESCRIPTION πŸ’«

okay so here's the tea: this function selects the Target Link Speed by taking into account the Supported Link Speeds of both the Root Port and the Endpoint. That's the whole job β€” it's giving "matchmaker for link speeds" energy. πŸ¦‹

πŸ”₯ RETURN πŸ”₯

It returns the Target Link Speed: 1=2.5GT/s, 2=5GT/s, 3=8GT/s, etc. πŸ˜­πŸ’–

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/pci/pcie/bwctrl.c πŸ“
  • struct pcie_bwctrl_data(9) 🧚
  • pcie_set_target_speed(9) πŸ‘‘

okay bestie, that's the page! It hangs out in ./drivers/pci/pcie, it's dated October 2026, and it's the manual for pcie_bwctrl_select_speed(9) β€” go slay those link speeds πŸ’…πŸ’–πŸŽ€

πŸ“¦ where this page comes from