of_pci_parse_addrs(9)
β¨ of_pci_parse_addrs(9) β¨
okay bestie, welcome to the Kernel API Manual π this one is all about of_pci_parse_addrs β literally the glow-up moment where PCI addresses from a device tree node get parsed and written into a pci_dev. slay.
πΈ NAME πΈ
of_pci_parse_addrs β parse PCI addresses assigned in the device tree node π
π¦ SYNOPSIS π¦
void of_pci_parse_addrs (struct device_node *node , struct pci_dev *dev );
π ARGUMENTS π
nodeβ device tree node for the PCI device π³devβpci_devstructure for the device π«Ά
β¨ DESCRIPTION β¨
so basically, this function parses the 'assigned-addresses' property of a PCI device's device tree node, and writes them into the associated pci_dev structure. no cap, that's the whole vibe: device tree addresses in, pci_dev addresses out. π
π SEE ALSO π
- Kernel file
./arch/powerpc/kernel/pci_of_scan.c get_int_prop(9)of_create_pci_dev(9)of_scan_pci_bridge(9)__of_scan_bus(9)of_scan_bus(9)of_rescan_bus(9)
source vibe: ./arch/powerpc/kernel Β· dated: October 2026 β periodt, that's the whole page, bestie πβ¨
π¦ 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