vio_register_device_node(9)
π
vio_register_device_node(9) β Kernel API Manual energy π
okay so bestie, welcome to the vio_register_device_node(9) page from the Kernel API Manual. This is the group chat where we register a new vio device. β¨ No cap.
π NAME π
vio_register_device_node β Register a new vio device. Periodt. π
β¨ SYNOPSIS β¨
struct vio_dev * vio_register_device_node (struct device_node *of_node
);
πΈ ARGUMENTS πΈ
of_nodeβ the OF node for this device. That's literally the whole argument, bestie. π¦
π DESCRIPTION π
Okay so what does it do? It creates and initializes a vio_dev structure from the data in of_node, then adds it to the list of virtual devices. Iconic. β¨
Then it returns a pointer to the created vio_dev β or NULL if node has NULL device_type or compatible fields. Yep, that's the vibe check. π
bestie note: ifnodehasNULLdevice_typeorcompatiblefields, you getNULLback β no device, no drama. π
π₯ SEE ALSO π₯
Kernel file: ./arch/powerpc/platforms/pseries/vio.c β go read it, iykyk. π
The whole squad:
vio_cmo_alloc(9)vio_cmo_dealloc(9)vio_cmo_entitlement_update(9)vio_cmo_balance(9)vio_cmo_set_dev_desired(9)vio_cmo_bus_probe(9)vio_cmo_bus_remove(9)vio_cmo_bus_init(9)vio_h_cop_sync(9)vio_match_device(9)vio_unregister_driver(9)vio_bus_init(9)vio_get_attribute(9)vio_find_node(9)
that's the whole page, bestie π stay slay, and remember: source/version is ./arch/powerpc/platforms/pseries, date is October 2026, and this was vio_register_device_node(9) from the Kernel API Manual. 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