pcie_disable_tph(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… pcie_disable_tph(9) β€” like, the Kernel API Manual, but make it make sense

Okay bestie, gather round, because we're looking at pcie_disable_tph from the Kernel API Manual and honestly? It's giving "short and iconic." No cap, this one's a little one-function wonder and we're gonna read it together. πŸŽ€


✨ NAME ✨

pcie_disable_tph β€” turn off TPH support for a device

Like, literally just that. TPH? Off. Device? Handled. Periodt. πŸ’…


🌸 SYNOPSIS 🌸

void pcie_disable_tph (struct pci_dev *pdev );

That's the whole vibe. One function, one argument, zero drama. ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • pdev β€” the PCI device. That's it, that's the argument. She's the main character here, the device whose TPH support we're switching off. 🫢

⭐ RETURN ⭐

none

Not me returning nothing at all 😭 β€” there's no value coming back, no error code, no little gift. It just does the thing. Slay.


πŸ‘‘ SEE ALSO πŸ‘‘

If you're obsessed and wanna keep reading (same), the kernel file ./drivers/pci/tph.c is where it all lives, and these are the besties you should also check out:

Fr fr, pcie_enable_tph(9) is the literal opposite of this one, so if you're flipping switches, go say hi. πŸ”₯


And that's the whole page, bestie πŸ’–

Cute little sign-off: this one lives under ./drivers/pci, it's dated October 2026, and yep β€” the page is pcie_disable_tph(9), same as the title. Iykyk. πŸŒˆπŸ’œ

πŸ“¦ where this page comes from