dw_pcie_wait_for_link(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay bestie, this page is dw_pcie_wait_for_link(9) from the Kernel API Manual, and it is literally about waiting for the PCIe link to be up πŸ’…βœ¨

🌸 SYNOPSIS 🌸

int dw_pcie_wait_for_link (struct dw_pcie *pci );

πŸŽ€ ARGUMENTS πŸŽ€

  • pci β€” the DWC instance, periodt 🫢

πŸ¦‹ RETURN πŸ¦‹

  • 0 β€” the link is up, slay πŸ’–
  • -ENODEV β€” the device is not found 😭
  • -EIO β€” the device is found but not active, which is giving β€œalmost but not quite” energy πŸ’€
  • -ETIMEDOUT β€” the link fails to come up for other reasons, no cap ⏳

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/pci/controller/dwc/pcie-designware.c πŸ‘‘

πŸ’Œ sourced from ./drivers/pci/controller/dwc, dated October 2026 β€” bye bestie, go check that link πŸ§šπŸ’œ

πŸ“¦ where this page comes from