_eeh_pe_bus_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… _eeh_pe_bus_get(9) πŸ’…

okay so this is the Kernel API Manual entry for _eeh_pe_bus_get, and it’s literally about grabbing the right PCI bus for a given PE. bestie, let’s get into it 🫢

🌸 NAME 🌸

_eeh_pe_bus_get β€” Retrieve PCI bus according to the given PE

✨ SYNOPSIS ✨

struct pci_bus * _eeh_pe_bus_get (struct eeh_pe *pe , bool do_lock );

πŸŽ€ ARGUMENTS πŸŽ€

  • pe β€” EEH PE. that’s the PE you’re working with πŸ’–
  • do_lock β€” the check for whether the caller already holds the pci_lock_rescan_remove. like, are we already locked or not, bestie? πŸ”

πŸ¦‹ DESCRIPTION πŸ¦‹

Retrieve the PCI bus according to the given PE. Basically, there are 3 types of PEs: PHB/Bus/Device β€” and the way this works is lowkey type-dependent πŸ‘‘

  • For PHB PE, the primary PCI bus will be retrieved. iconic.
  • The parent bus will be returned for BUS PE. slay.
  • However, we don’t have an associated PCI bus for DEVICE PE.
no associated PCI bus for DEVICE PE β€” so don’t go looking for one, bestie πŸ˜­πŸ’€

πŸ’œ SEE ALSO πŸ’œ

Kernel file ./arch/powerpc/kernel/eeh_pe.c plus these whole entire besties:


✨ cute lil footer tea: source/version path is ./arch/powerpc/kernel, dated October 2026, and the page title is _eeh_pe_bus_get(9). byeee, mwah πŸ’‹πŸŽ€

πŸ“¦ where this page comes from