pci_disable_pri(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ pci_disable_pri β€” like, the Kernel API Manual page, bestie ✨

Okay so this is from the Kernel API Manual, section 9, and it's literally all about one tiny little void function. Let's get into it 🫢


🌸 NAME 🌸

pci_disable_pri β€” turns OFF the PRI capability. That's it. That's the whole vibe πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

void pci_disable_pri (struct pci_dev *pdev );

No return value, no drama β€” it's a void function, she doesn't give anything back πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • pdev β€” the PCI device structure, aka the lil guy you're doing this to. This is the one and only thing you hand her 🌈

πŸ’– DESCRIPTION πŸ’–

Okay so here's the tea: pci_disable_pri only clears the enabled-bit, and it does that regardless of its former value. So like β€” it doesn't peek at what the bit used to be first, doesn't ask questions, doesn't check. It just clears it. Periodt 🧚

Not me emphasizing this again but fr fr: only clears the enabled-bit, regardless of its former value. That's the entire behavior, no cap πŸ’€

⭐ SEE ALSO ⭐

Go check out the Kernel file ./drivers/pci/ats.c and then these iconic functions, all in the (9) section:

Like a whole friend group honestly β€” ATS girlies, PRI girlies, PASID girlies, they all hang out together πŸ’œ


πŸ’« sign-off πŸ’«

This page lives in ./drivers/pci and it's dated October 2026 β€” so yes, she's serving future energy ⭐ Anyway, go clear that bit bestie, mwah πŸ“πŸ’–

πŸ“¦ where this page comes from