STRUCT ACPI_DEVICE_SOFTWARE_NODES(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ‘‘ struct acpi_device_software_nodes(9) ✨

okay so this one's from the Kernel API Manual, and honestly? it's giving "glow-up for ACPI devices" πŸ’… because it's literally all about software nodes for an ACPI device. no cap, that's the whole vibe. let me walk you through it bestie 🫢


🌸 NAME 🌸

struct acpi_device_software_nodes β€” Software nodes for an ACPI device ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

here's the whole struct, verbatim, don't come for me about the formatting 😭

struct acpi_device_software_nodes {
    struct property_entry dev_props[ACPI_DEVICE_SWNODE_DEV_NUM_ENTRIES];
    struct software_node *nodes;
    const struct software_node **nodeptrs;
    struct acpi_device_software_node_port *ports;
    unsigned int num_ports;
 };

πŸ’– Members πŸ’–

πŸŽ€ the fields, one by one πŸŽ€

  • dev_props β€” Device properties. that's it, that's the whole field, she's simple and she serves πŸ’…
  • nodes β€” the software nodes for the root plus the ports and endpoints. like the whole family tree lowkey 🌈
  • nodeptrs β€” an array of software node pointers, and it's the one you use for (un)registering them. very main character energy πŸ‘‘
  • ports β€” all the info related to each port and endpoint within a port. yes, endpoints within a port, we contain multitudes πŸ¦‹
  • num_ports β€” the number of ports. iconic, self-explanatory, we love her ⭐

🧚 SEE ALSO 🧚


bestie reminder: those trailing (9) are part of the names, so don't go stripping them, iykyk πŸ™ˆ

and that's the whole page, fr fr πŸ’œ this one lives over in ./include/acpi, dated October 2026 β€” slay, go read the source, mwah πŸ“βœ¨

πŸ“¦ where this page comes from