pcie_bwctrl_select_speed(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms