of_get_ibm_chip_id(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– of_get_ibm_chip_id(9) πŸ’–

okay so welcome to the Kernel API Manual page for of_get_ibm_chip_id, bestie. This one is short and sweet: it's the lil helper that hands you a device's IBM "chip-id" ✨

🌸 NAME 🌸

of_get_ibm_chip_id β€” Returns the IBM "chip-id" of a device

✨ SYNOPSIS ✨

int of_get_ibm_chip_id (struct device_node *np );

πŸŽ€ ARGUMENTS πŸŽ€

  • np β€” the device node of the device. That's the one being checked, okay? 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

This function looks for a property named "ibm,chip-id" in the node or in any of its parents. If it finds it, it returns the property's content. If it can't find it, it returns -1. That's literally it, iconic and no cap πŸ’…

πŸ”₯ SEE ALSO πŸ”₯


🫢 that's the whole page, bestie β€” from the Kernel API Manual, source/version ./arch/powerpc/kernel, dated October 2026. slay ✨

πŸ“¦ where this page comes from