rimt_get_fwnode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… rimt_get_fwnode(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual β€” this one lives in rimt_get_fwnode(9) and it's literally so straightforward you're gonna slay it ✨


🌸 NAME 🌸

rimt_get_fwnode β€” retrieve the fwnode associated with an RIMT node πŸŽ€

Bestie it does exactly what it says on the tin: you hand it an RIMT node, it hands you back the fwnode. That's the whole vibe. iconic, no notes πŸ’…


✨ SYNOPSIS ✨

struct fwnode_handle * rimt_get_fwnode (struct acpi_rimt_node *node );

look at her 🫢 one function, one argument, one return type. main character energy fr fr.


πŸ¦‹ ARGUMENTS πŸ¦‹

  • node β€” the RIMT table node you want looked-up πŸ’– this is the thing you're passing in so the function can find its fwnode. that's it, that's the whole argument, ngl.

πŸ”₯ RETURN πŸ”₯

  • an fwnode_handle pointer on success πŸ‘‘ you got it, bestie, slay
  • NULL on failure πŸ’€ no fwnode for you, it happens
lowkey important: check for that NULL before you go dereferencing anything, ok? don't be that girl 😭

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/acpi/riscv/rimt.c β€” the source, go read her if you're curious 🧚
  • rimt_set_fwnode(9) β€” the setter to this getter, they're a matching set ✨
  • rimt_iommu_configure_id(9) β€” related RIMT reading, iykyk 🌸

and that's the whole page, bestie! this gorgeous little number came from the kernel source tree at ./drivers/acpi/riscv and the version/date stamp on her is October 2026 β€” go forth and get those fwnodes πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from