rimt_get_fwnode(9)
π 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_handlepointer on success π you got it, bestie, slay NULLon 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
- 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