fdt_setprop_inplace_cell(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, welcome to the Kernel API Manual πŸ’– this page is all about fdt_setprop_inplace_cell(9), and it's literally:

  • fdt_setprop_inplace_cell β€” change the value of a single-cell property

no cap, that's the whole name vibe. πŸŽ€


πŸ› οΈ SYNOPSIS πŸ› οΈ

here's the signature, copy it exactly and don't freestyle the spaces, iykyk:

int fdt_setprop_inplace_cell (void *fdt , int nodeoffset , const char
       *name , uint32_t val );

it returns an int, bestie. 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • fdt β€” pointer to the device tree blob. it's the main character.
  • nodeoffset β€” offset of the node containing the property. yes, you need the node first.
  • name β€” name of the property to change the value of. be normal and spell it right.
  • val β€” new value of the 32-bit cell. it's a uint32_t, so 32-bit cell energy.

πŸ’– DESCRIPTION πŸ’–

This is an alternative name for fdt_setprop_inplace_u32. periodt. πŸ’…


πŸ” RETURN πŸ”

  • 0 on success.
  • negative libfdt error number otherwise.

so: success = 0, anything negative = libfdt said nope 😭.


πŸ‘€ SEE ALSO πŸ‘€

Kernel file: ./scripts/dtc/libfdt/libfdt.h

The whole friend group of related pages, fr fr:

that's the whole list, bestie β€” no skips, no cap. πŸ‘‘


muah πŸ’‹ this cutie lives under ./scripts/dtc/libfdt, dated October 2026, and it's the fdt_setprop_inplace_cell(9) manual page. bye bestie 🫢✨

πŸ“¦ where this page comes from