_eeh_pe_bus_get(9)
π
_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 thepci_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
PHBPE, the primary PCI bus will be retrieved. iconic. - The parent bus will be returned for
BUSPE. slay. - However, we donβt have an associated PCI bus for
DEVICEPE.
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:
eeh_set_pe_aux_size(9)eeh_pe_alloc(9)eeh_phb_pe_create(9)eeh_wait_state(9)eeh_phb_pe_get(9)eeh_pe_next(9)eeh_pe_traverse(9)eeh_pe_dev_traverse(9)__eeh_pe_get(9)eeh_pe_get(9)eeh_pe_tree_insert(9)eeh_pe_tree_remove(9)eeh_pe_update_time_stamp(9)eeh_pe_state_mark(9)eeh_pe_mark_isolated(9)eeh_pe_state_clear(9)eeh_restore_one_device_bars(9)eeh_pe_restore_bars(9)eeh_pe_loc_get(9)eeh_pe_loc_get_bus(9)eeh_pe_bus_get(9)eeh_pe_bus_get_nolock(9)
β¨ 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms