of_get_ibm_chip_id(9)
π 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 π₯
- Kernel file
./arch/powerpc/kernel/prom.c move_device_tree(9)cpu_to_chip_id(9)
π«Ά 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
- 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