eeh_pe_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

eeh_pe_get β€” search for a PE based on the given address, bestie ✨

So like, eeh_pe_get(9) is from the Kernel API Manual and it's literally the function you call when you need to go find a PE. Obsessed.


🌸 SYNOPSIS 🌸

struct eeh_pe * eeh_pe_get (struct pci_controller *phb , int pe_no );

πŸŽ€ ARGUMENTS πŸŽ€

  • phb β€” the PCI controller. That's your girl. The whole controller vibe.
  • pe_no β€” the PE number. The number. The identifier. You need it, you got it.

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so here's the tea β˜• β€” this function searches for the corresponding PE based on the specified address, and that address is included in the eeh device. The way it works is it's used to check if the associated PE has actually been created against the PE address. Vibe check on your PE, basically πŸ’…

Now, it's notable β€” and I mean highkey notable, don't skip this β€” that the PE address has 2 formats:

  1. the traditional PE address, which is composed of PCI bus/device/function number
  2. the unified PE address

Two formats. No cap. Both real. 🫢


πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./arch/powerpc/kernel/eeh_pe.c β€” plus the whole friend group, fr fr:


Okay bye bestie, go read the source at ./arch/powerpc/kernel β€” this page was dated October 2026, and no I will not be elaborating further, mwah πŸ’œβœ¨πŸŽ€

πŸ“¦ where this page comes from